|
|
|
|
|
by KronisLV
1810 days ago
|
|
Shouldn't there be some CLI tool that would allow verifying the checksum of the file as an intermediate step? Something along the lines of: curl https://pyenv.run | pass_on_through_sdtout_if_hash_matches md5 8bffaf30c9ba21393329d531063056fe | bash
That way, someone who validates the file locally, can be sure that what's piped is the same thing. |
|
It requires a few extra steps to be actually secure. You actually need to verify the hash from a trusted source for it to be actually secure. If the delivery has been tampered with, you need to ensure that the delivery of the hash has also not been tampered with. In practice, codesigning is the solution, but certs are expensive, and impractical for a small project.