Re:Don't Copy-Paste from Website to Terminal
by trotsky on Sunday April 07, 2013 @05:58PM
(#5508941)
just like they could replace a binary, backdoor the Makefile or hide something bad deep in the repo. And of course their hash of their signing key for their apt repo and any shasums are provided on the same webserver.
[ Parent
| on HN ]
Of course that is always a risk, but with most FOSS software being maintained in public revision control systems, it's difficult to truly hide something.
Even if you discard the security angle of wget | bash (which you would be a foolish choice) there is the simple problem of repeatability.
If you are deploying 50 new servers and OpsCode releases a new version of Chef after 25 of the servers have performed the wget, the next 25 will get a different client that might be incompatible with the server.
Re:Don't Copy-Paste from Website to Terminal
by trotsky on Monday April 08, 2013 @03:21PM
(#5513871)
For what it's worth, that curl install is a "beachhead" install. When you provision servers you load chef on them using knife bootsrap, which carefully ensures it installs the revision of chef on the server that you're using on the management workstation. You have to go out of your way to get a brand new release installed on a node if you haven't installed it on your workstation.