3 ms·
I checked md5sums published on the website or on Twitter or something before, but never a signature. From what I've heard code signing has to be done with a key
by lucb1e 11y ago
I checked md5sums published on the website or on Twitter or something before, but never a signature. From what I've heard code signing has to be done with a key obtained from the OS vendor anyway, which in Linux' case (where you'd normally run curl|bash) is not even possible to begin with.
So I doubt signature checking is ever done in practice, at least on systems where curl|bash is an alternative.
- vbezhenar 11y agoSignature checking is widely used. In every Linux distribution I'm aware of, package managers use signatures to check downloaded packages (and maintainers use their keys to sign packages). GPG is another widely used standard for signing open source software.
- lucb1e 11y agoOf course it's signed in your repositories, but if it's in the repositories you wouldn't be doing curl|bash anyway, you'd grab it from the repositories. The point is to distribute software that is not in there, which is not even packaged as a .deb/.rpm (or whichever distro you're using). You could still sign the .sh installer with GPG, but then you'd have to get the public key from somewhere (and get people to care about verifying the sig first). If you're communicating a key somewhere, you might as well just publish the hash sum and communicate that.