3 ms·
PGP is, supposedly, "Pretty Good Privacy". Code signing has nothing to do with privacy. It's true that PGP is a very good code signing system, but saying that
by geofft 10y ago
PGP is, supposedly, "Pretty Good Privacy". Code signing has nothing to do with privacy.
It's true that PGP is a very good code signing system, but saying that sounds like an endorsement of PGP as a privacy system. (And there are plenty of other good code signing systems, from TUF to Authenticode to signify.)
- datatan 10y agoYou've intentionally reduced PGP to your narrow use case. PGP/GPG will also sign and not just encrypt. If you're going to debate the subject do so honestly.
- geofft 10y agoYes, that's my point. PGP/GPG's ability to sign things is an "also", but it's the only thing it's good at. Build a version of GPG that only does signing and verification, and nobody will be tempted to use it for privacy.
- falcolas 10y agoSigning is an integral part of a good encryption scheme, to prevent against certain oracle attacks. The two functions are not so easily separated (if you're offering encryption).
- geofft 10y agoIs the sort of signing you want to do for code signing related to the sort of signing you want to do as part of an encryption scheme? This vaguely sounds similar to how RSA decryption/encryption and signing/verification are the same sets of operations, at the primitive level, making it easy to turn a tool that does one in to a tool that also does the other. But the actual high-level signing and encryption systems (e.g. RSA-PSS and RSA-OAEP) are not the same operations at all, and being good at one is no guarantee of being good at another.
- falcolas 10y ago> Is the sort of signing you want to do for code signing related to the sort of signing you want to do as part of an encryption scheme? Same basic concept. Take a blob (compiled code or cyphertext) and a private key and sign it, so can be verified with the public key later. https://en.wikipedia.org/wiki/Authenticated_encryption https://en.wikipedia.org/wiki/Authenticated_encryption This kind of PGP signing is also critical to the security of Linux software repos. Debian repos sign the contents of the manifest (which includes hashes of packages), and Apt repos sign individual files.
- geofft 10y agoThese aren't related at all! Authenticated encryption uses a symmetric MAC. Code signing is asymmetric.