The README.md proposes to install the witness tool using the bash + curl one-liner:
bash <(curl -s https://raw.githubusercontent.com/in-toto/witness/main/install-witness.sh)
This is really bad practice in general, but for a tool that focuses on supply-chain security this should not be the proposed way to install it. Not even a checksum of this script is provided (for the initial entry point - the install-witness.sh script).
While this might sound like a nit-pick, it does not put the whole in-toto project into a good light if these fundamental issues appear as one of the first things people see.
I propose to fully drop this script from the project.
The README.md proposes to install the witness tool using the bash + curl one-liner:
bash <(curl -s https://raw.githubusercontent.com/in-toto/witness/main/install-witness.sh)This is really bad practice in general, but for a tool that focuses on supply-chain security this should not be the proposed way to install it. Not even a checksum of this script is provided (for the initial entry point - the
install-witness.shscript).While this might sound like a nit-pick, it does not put the whole in-toto project into a good light if these fundamental issues appear as one of the first things people see.
I propose to fully drop this script from the project.