5 ms·
They're barely even comparable. Signal Protocol has: * A "double ratcheting" forward secrecy system, where message round-trips establish new DH keys, and messa
by tptacek 6y ago
They're barely even comparable. Signal Protocol has:
* A "double ratcheting" forward secrecy system, where message round-trips establish new DH keys, and message transmissions establish new symmetric keys.
* An authenticated key exchange --- "Triple Diffie Hellman" --- that provides deniability without having to publish spent keys, and works without needing a signature algorithm.
* A cryptosystem locked exclusively into modern misuse-resistant curves and AEAD cryptography.
By contrast, OpenPGP:
* Provides no forward secrecy (applications built on OpenPGP have to invent their own forward secrecy designs, which in practice nobody does).
* Relies on long-term keys.
* Uses a hodgepodge of algorithms, including outmoded cryptography from the 1990s; moreover, the compatible subset of PGP implementations depends on its nightmarish "MDC" hack, which was an attempt to retrofit message authentication into the standard.
Some of PGP's problems are due to the fact that Signal was designed at a time when we had far better understanding of cryptography, and, frankly, designed by better subject matter experts. But more of the problems are simply due to the fact that PGP isn't purpose-built for messaging; it's a general-purpose encryption tool, the "Awk" of cryptography, and one thing we're rapidly forming a consensus on is that you don't want Awk-like tools in cryptography engineering.