3 ms·
... as long as you know the signature offered is correct and wasn't also hijacked.
by sdegutis 10y ago
... as long as you know the signature offered is correct and wasn't also hijacked.
- falcolas 10y agoSo long as the secret key was not compromised, then the signature file also just doesn't matter - if it's compromised, the validation fails. One of the beauties of asymmetric encryption, making GPG worth learning about.
- Flimm 10y agoYou also have to know that the public key you have is the one that corresponds to the secret key that they have.
- x1798DE 10y agoI think this really only applies for signatures you can trust. A frightening number of keys used to sign software are not signed by anyone, so they're effectively the equivalent of a self signed certificate. I've also found some projects where the key used to sign the software isn't even consistent between releases, so you don't even have the (minimal) protection offered by checking the signatures against "known good" builds.
- gmluke 10y agoI'd be happy to be corrected, but I think this applied to the Fedora keys?
- RaleyField 10y ago> A frightening number of keys used to sign software are not signed by anyone, so they're effectively the equivalent of a self signed certificate. I wonder how hard would it be to socially engineer yourself into trust chain. I haven't read GPG manuals, but I'd be surprised if there were strict protocols followed by everyone when signing others' keys. Most people probably don't or can't insure that there is no mitm when signing keys and can't reliably verify that government id papers aren't forgeries so likely reliable chains of trusts exists only between people that spend large quantities of time together and exchange fingerprints over secure channel.
- RaleyField 10y agoUbuntu isos are signed by the same key that's present in the installation, so if you have older version laying around you can verify against that.
- yoha 10y ago... which is exactly what cryptographic signatures are for