skip to content

When a volunteer's OpenPGP key is compromised, how do mail correspondents learn not to use it, compared with a revoked S/MIME certificate?

level: seniorimportance: should knowfreq 14%

answer

  1. who is allowed to revoke
  2. a signature made by the key itself
  3. prepare it before you need it
  4. local copies are not refreshed

basics

~20 s

An S/MIME certificate is revoked by its CA, and clients check revocation status. An OpenPGP key is revoked by a revocation signature made with that key, which correspondents see only when they refresh it from wherever it is published.

solid answer

~40 s

In S/MIME the issuing CA revokes the certificate on request, whether or not the subject still holds the key, and receiving agents check revocation status (RFC 8550 says they SHOULD retrieve CRLs). In OpenPGP, RFC 9580 accepts a **Key Revocation Signature** (`0x20`) only from the key being revoked or from a deprecated Revocation Key, so a user who has lost the private key and prepared nothing cannot revoke it. RFC 9580 recommends producing a revocation in advance and holding it in escrow. Nothing pushes the revocation out either: it has to be published to the Web Key Directory, keyservers or DNS, and RFC 7929 notes that locally stored keys are not refreshed automatically. So partners must also be told directly, with the new key's fingerprint.

go deeper

for a junior

Recall who revokes: a CA revokes an S/MIME certificate, while an OpenPGP key is revoked by a signature made with that same key.

for a middle

Explain the Key Revocation Signature, why a lost key with no prepared revocation cannot be revoked, and how escrowed revocation signatures solve it.

for a senior

Show the operational gap: no status service, local copies not refreshed, so a response plan needs publication everywhere plus direct contact with correspondents and the right reason code.

for a principal

Decide in advance who may hold escrowed revocations and how keys expire, trading the convenience of long-lived keys against how quickly a compromise can be contained.

## Two revocation models When a private key may be in someone else's hands, everything encrypted to it is exposed and signatures made with it can no longer be relied on. Both mail-security standards let the key be withdrawn, but who may withdraw it, and how correspondents find out, differ sharply. - **S/MIME**: the **certification authority** that issued the certificate revokes it, and relying clients learn through revocation lists or online status checks. RFC 8550 says a receiving agent SHOULD have access to a CRL retrieval mechanism; the mechanics belong to the material on certificate revocation. The subject does not need the private key to get the certificate revoked. - **OpenPGP**: RFC 9580 (July 2024) defines a **Key Revocation Signature** (type `0x20`) calculated over the key being revoked. Only revocation signatures made by that key, or by a deprecated Revocation Key, are valid. A subkey is revoked by a **Subkey Revocation Signature** (`0x28`) from its primary key. ## When the private key is gone The OpenPGP rule has a sharp edge. NIST SP 800-177 Rev. 1 notes that a user who loses access to the private key, without having prepared a revocation in advance, has no way to revoke it. RFC 9580 deprecates the old **Revocation Key** subpacket, which named another key allowed to revoke; applications MUST NOT generate it. Its replacement is the **escrowed revocation signature** (section 13.9): 1. The keyholder produces a revocation signature while they still hold the key. 2. They hand it, over a secure channel, to a preferred revoker, such as the foundation's security team. 3. The revoker publishes it when needed instead of creating one. 4. Optionally, the revocation is split into shares so that several people must cooperate to recreate it. ## Reasons and old signatures A revocation can carry a **Reason for Revocation**. Code 2, key material compromised, makes every signature by that key suspect; codes 1 (superseded) and 3 (retired) leave old signatures valid. For a compromise the right code matters, because it tells correspondents to distrust old signed mail as well as new. ## Getting the news to correspondents S/MIME has an infrastructure whose job is to answer "is this certificate still good?". OpenPGP does not: - NIST observes that there is no uniform way for clients to see that a key has been revoked, and that clients which already hold a copy of a key generally do not recheck keyservers. - RFC 7929 states that locally stored OpenPGP keys are not automatically refreshed; an OPENPGPKEY lookup can confirm whether the stored key is still current. - The Web Key Directory draft lets a server return revoked keys alongside a new key and leaves it to the client to handle revoked or expired keys. A lawyer who imported the volunteer's key months ago can therefore keep encrypting to it until something makes their client fetch it again. ## A response plan 1. Publish the revocation, prepared or escrowed, everywhere the key was published: the domain's Web Key Directory, any OPENPGPKEY record, keyservers. 2. Publish the replacement key in the same places. 3. Contact known correspondents directly and give them the new fingerprint over a channel already trusted. 4. Treat mail encrypted to the old key as exposed, and treat signatures it made as untrustworthy. ## Designing for it in advance | | S/MIME | OpenPGP | |---|---|---| | Who can revoke | The issuing CA | The key itself, or an escrowed signature it made earlier | | Lost private key | CA still revokes | No revocation unless prepared earlier | | How relying parties learn | Revocation lists or status checks | Refreshing the key from where it is published | | Ageing out | Certificate expiry | Optional Key Expiration Time | - Create a revocation at key creation and store it offline, or escrow it with the security team. - Set a **Key Expiration Time** so that stale copies stop being used and clients have a reason to fetch an update. - Publish keys through the domain's own Web Key Directory, so that a refresh finds the revocation. - Keep the primary key offline and use subkeys day to day, so that a lost laptop costs a subkey revocation, not the whole identity.

  • Why did RFC 9580 deprecate the Revocation Key subpacket in favour of escrowed revocation signatures?
    RFC 9580 lists several reasons: implementation support for enforcing a Revocation Key was uneven and unreliable, the subpacket publicly linked the keyholder to the revoker, and verifiers had to find the revoker's key. An escrowed revocation signature is verified with the revoked key alone, can be restricted to specific revocation types, and leaves no visible link.
  • Does an expiration date replace preparing a revocation?
    No. An expiration time limits how long a forgotten or lost key stays usable and gives clients a reason to refresh, but until it passes the key remains valid. A compromise needs a revocation with the compromised reason so correspondents also distrust signatures made before it.

  • A CA can revoke a user's OpenPGP key once the user reports it lost.
  • Any keyholder who certified the key can revoke the key itself.
  • Publishing the revocation to a keyserver updates every correspondent's copy.
  • A key revoked as superseded makes all of its old signatures invalid.
  • The Revocation Key subpacket is the recommended way to delegate revocation.