News for hackers. Stuff that matters.
Re:Linus' reply on Git and SHA-1 collision by hasenj on Friday February 24, 2017 @03:13AM (#13721957)
If you want a specific hash, why pull it from github everytime?
Re:Linus' reply on Git and SHA-1 collision by falsedan on Friday February 24, 2017 @03:16AM (#13721973)
Because, when provisioning a new server, where else can you get it from?
Re:Linus' reply on Git and SHA-1 collision by wjh_ on Friday February 24, 2017 @03:21AM (#13721993)
A host that you control.
Re:Linus' reply on Git and SHA-1 collision by falsedan on Friday February 24, 2017 @09:12AM (#13723772)
Where did it get it from?
Re:Linus' reply on Git and SHA-1 collision by hasenj on Friday February 24, 2017 @10:23AM (#13724416)
From github, the first time only. Not every single time.
Re:Linus' reply on Git and SHA-1 collision by falsedan on Saturday February 25, 2017 @05:19AM (#13730940)
Isn't getting it from GitHub the first time vulnerable to attack? Consider when you're scaling up or replacing a failed host.
Re:Linus' reply on Git and SHA-1 collision by dozzie on Friday February 24, 2017 @03:20AM (#13721990)
From a custom package you have built? Did you know that RPMs and DEBs don't grow on magical trees, but are built?
Re:Linus' reply on Git and SHA-1 collision by throwayguestman on Friday February 24, 2017 @04:48AM (#13722331)
So, the problem still stands, theoretically.

Not only do you likely need to populate your host with packages not from your host. But also, your host will also still be connect to a public net, even if only indirectly (e.g. private net), and hence potentially manipulated.

Re:Linus' reply on Git and SHA-1 collision by dozzie on Friday February 24, 2017 @04:57AM (#13722381)
No, you misunderstood what is actually the problem here. Pulling under deployment some code from random resource from the internets that can go down or get deleted at a whim and you can't easily move to just some other mirror and you don't even control when the thing will be up back, that's the problem. Not the trust you need to put to use the code (this is still there, obviously). And the very same comment applies to third-party package repositories, like PPAs in Ubuntu.

Not to mention that with pre-built binary packages your deployment speed and repeatability get significantly better, as you don't need to rebuild the artifacts every single time.

Re:Linus' reply on Git and SHA-1 collision by throwayguestman on Friday February 24, 2017 @05:30AM (#13722509)
I do understand, but "the trust you need to put to use the code" is what we were talking about, no?