The Rust community's crate host
Can anyone explain the following trend to me? I've been seeing it alot lately:
On the install page [0] the installation instructions tell people to run this command:
curl <a href="https://static.rust-lang.org/rustup.sh" rel="nofollow">https://static.rust-lang.org/rustup.sh</a> | sudo bash
This seems to me to be an extremely bad idea. Why would I want to pipe arbitrary commands into my shell? Even worse, the shell has to run with root priveleges? Does anyone actually do this? Am I overthinking it?<p>Of course, I can verify the contents of the script, but I still don't know that the script I've verified on their website is the script that's being run in my shell. Is it OK because the script is hosted over https, and therefore can't be modified on transmission?<p>[0]<a href="https://crates.io/install" rel="nofollow">https://crates.io/install</a>