Every once in a while, a prominent member of the security community publishes an article about how horrible OpenPGP is. Matthew Green wrote one in 2014 and Moxie Marlinspike wrote one in 2015. The most recent was written by Filippo Valsorda, here on the pages of Ars Technica, which Matthew Green says “sums up the main reason I think PGP is so bad and dangerous.”
In this article I want to respond to the points that Filippo raises. In short, Filippo is right about some of the details, but wrong about the big picture. For the record, I work on GnuPG, the most popular OpenPGP implementation.
Forward secrecy isn’t always desirable
Filippo’s main complaint has to do with OpenPGP’s use of long-term keys. Specifically, he notes that due to the lack of forward secrecy, the older a key is, the more communication will be exposed by its compromise. Further, he observes that OpenPGP’s trust model includes incentives to not replace long-term keys.
First, it’s true that OpenPGP doesn’t implement forward secrecy (or future secrecy). But, OpenPGP could be changed to support this. Matthew Green and Ian Miers recently proposed puncturable forward secure encryption, which is a technique to add forward secrecy to OpenPGP-like systems. But, in reality, approximating forward secrecy has been possible since OpenPGP adopted subkeys decades ago. (An OpenPGP key is actually a collection of keys: a primary key that acts as a long-term, stable identifier, and subkeys that are cryptographically bound to the primary key and are used for encryption, signing, and authentication.)
Guidelines on how to approximate forward secrecy were published in 2001 by Ian Brown, Adam Back, and Ben Laurie. Although their proposal is only for an approximation of forward secrecy, it is significantly simpler than Green and Miers’ approach, and it works in practice.
As far as I know, Brown et al.’s proposal is not often used. One reason for this is that forward secrecy is not always desired. For instance, if you encrypt a backup using GnuPG, then your intent is to be able to decrypt it in the future. If you use forward secrecy, then, by definition, that is not possible; you’ve thrown away the old decryption key. In the recent past, I’ve spoken with a number of GnuPG users including 2U and 1010data. These two companies told me that they use GnuPG to protect client data. Again, to access the data in the future, the encryption keys need to be retained, which precludes forward secrecy.
Loading comments...