News for hackers. Stuff that matters.
Re:PGP needs to be retired in honor by geofft on Thursday February 23, 2017 @02:36PM (#13716983)
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.)

Re:PGP needs to be retired in honor by datatan on Thursday February 23, 2017 @02:42PM (#13717042)
You'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.
Re:PGP needs to be retired in honor by geofft on Thursday February 23, 2017 @02:50PM (#13717122)
Yes, 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.
Re:PGP needs to be retired in honor by falcolas on Thursday February 23, 2017 @03:13PM (#13717333)
Signing 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).
Re:PGP needs to be retired in honor by geofft on Thursday February 23, 2017 @03:32PM (#13717482)
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?

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.

Re:PGP needs to be retired in honor by falcolas on Thursday February 23, 2017 @04:26PM (#13717946)
> 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

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.

Re:PGP needs to be retired in honor by geofft on Thursday February 23, 2017 @05:27PM (#13718438)
These aren't related at all! Authenticated encryption uses a symmetric MAC. Code signing is asymmetric.