All insights
·Migration & Engineering·IQCDL

Post-Quantum Email Security: S/MIME, OpenPGP, STARTTLS and DKIM Readiness

Email has four cryptographic layers, and only some carry harvest-now-decrypt-later risk; here is how to triage TLS, S/MIME, PGP and DKIM.


Email is one of the oldest systems in most estates and one of the hardest to migrate. It is federated, so you do not control the other end. It is long-lived, so messages and attachments sit in mailboxes and archives for years. It also combines several separate cryptographic mechanisms, each with a different quantum exposure.

Treating email as a single line item in a post-quantum programme produces poor decisions. This article splits it into layers, shows which ones carry harvest-now-decrypt-later (HNDL) risk, and sets out a sequence that fits real mail operations.

Why email needs its own post-quantum view

The quantum threat to public-key cryptography comes from Shor's algorithm, which would break RSA, finite-field Diffie-Hellman and elliptic-curve schemes. NIST IR 8547 sets the transition timeline: quantum-vulnerable algorithms are deprecated after 2030 and disallowed after 2035. The replacement algorithms are standardised in NIST FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA).

Email raises three problems that a web-service migration does not:

  • Dependency on the other party. Your sending MTA negotiates with someone else's receiving MTA. You can offer a stronger mechanism; you cannot require it.
  • Persistence of ciphertext. An encrypted message is a stored artefact. Anyone who obtained a copy years ago, from a compromised relay, a backup or a mailbox export, holds everything needed for later decryption except the key.
  • Signatures with very different lifetimes. A DKIM signature matters for minutes. A signed contract delivered by S/MIME may need to be verifiable for a decade.

The right question for each layer is therefore not whether it uses RSA, but how long the content must stay secret or verifiable, and who else holds a copy.

The four cryptographic layers of email

Layer Typical mechanism Quantum-vulnerable component HNDL exposure Priority
Transport SMTP with STARTTLS (RFC 3207), TLS 1.2/1.3, MTA-STS (RFC 8461), DANE (RFC 7672) ECDHE key exchange; certificate signatures High for recorded sessions High
End-to-end encryption S/MIME (RFC 8551) over CMS (RFC 5652); OpenPGP (RFC 9580) RSA or ECDH wrapping of the content key High, and persists in archives Highest for sensitive mail
Long-term signatures S/MIME signatures, CAdES (ETSI EN 319 122), timestamps RSA or ECDSA signatures and certificate chains None for confidentiality; forgery risk later Medium, driven by retention
Domain authentication DKIM (RFC 6376, RFC 8463), DMARC RSA or Ed25519 DKIM keys Low Lower, but needs a design

Transport: the session layer

If an adversary records SMTP or client-access traffic today, the confidentiality of that session depends on the key exchange. Hybrid key exchange in TLS 1.3, combining X25519 with ML-KEM-768, removes the exposure for that session when both ends support it. Our TLS 1.3 hybrid deployment guide covers the mechanics; the email-specific points are these:

  • Many MTAs rely on libraries that are updated more slowly than web servers. Check the TLS library and version beneath your mail transfer agent, not only the product version.
  • STARTTLS is opportunistic unless you enforce it. MTA-STS or DANE can require encryption with specific partners, and those are the partners where a hybrid configuration is worth testing first.
  • Server authentication (certificate signatures) is a real-time property. Forging it requires a quantum computer at connection time, so it is a later concern than key exchange.

End-to-end encryption: S/MIME and OpenPGP

This is where email differs most from other protocols. In an S/MIME message the body is encrypted with a symmetric content-encryption key, usually AES. That key is then wrapped for each recipient using either RSA or an ECDH-derived key. The wrapped key travels inside the message and remains there for as long as the message exists.

The symmetric layer is not the weakness: Grover's algorithm leaves AES-256 with acceptable strength. The exposure is the wrapping. A recorded message plus a future quantum computer yields the content key, and therefore the plaintext. OpenPGP has the same structure, with session keys encrypted to a recipient's public key.

Stored end-to-end encrypted mail is therefore the most significant email-specific HNDL exposure, and the one with no quick fix at protocol level.

Signatures: S/MIME, CAdES and DKIM

A forged signature requires an adversary who can break the algorithm at a time when the forgery is useful, so signatures follow a different clock from confidentiality.

  • DKIM signatures are validated at delivery. The practical issue is size, not urgency. ML-DSA-44 public keys are 1,312 bytes and signatures are 2,420 bytes, against a few hundred bytes for RSA-2048 material. DKIM public keys sit in DNS TXT records, where large records raise questions about UDP response size and resolver behaviour. SLH-DSA has tiny public keys (32 bytes at the 128-bit level) but signatures of about 7.8 KB in the small parameter sets, which is impractical in a mail header. The DKIM transition will depend on IETF work on carrying larger keys and signatures.
  • S/MIME signatures on contracts and records may need to stay verifiable long after signing. Archive timestamps, as described in RFC 4998 (Evidence Record Syntax) and the ETSI CAdES profiles, are the established way to extend trust beyond the lifetime of an algorithm. Plan to re-timestamp with post-quantum algorithms before the original ones lose trust.

Standards and ecosystem status

The algorithm layer is settled. The message-format layer is still moving, so verify the status of each document before committing to a design.

  • FIPS 203, 204 and 205 define ML-KEM, ML-DSA and SLH-DSA.
  • NIST SP 800-227 gives recommendations for key-encapsulation mechanisms. It matters here because CMS and OpenPGP were designed around key transport and key agreement rather than KEMs.
  • RFC 9629 specifies how KEM algorithms are used in the Cryptographic Message Syntax, the structural foundation for S/MIME to carry ML-KEM-wrapped content keys.
  • IETF LAMPS working group documents define algorithm identifiers and certificate profiles for ML-KEM and ML-DSA in X.509 and CMS. Treat any that you have not confirmed as published as work in progress.
  • OpenPGP: the IETF OpenPGP working group has a draft defining composite schemes that pair ML-KEM with X25519 and ML-DSA with Ed25519. Confirm its status and which implementations support it before any pilot.
  • Certificate authorities: public S/MIME certificates are issued under the CA/Browser Forum S/MIME Baseline Requirements, so a CA can only issue what those requirements and its own platform allow. Ask your supplier when post-quantum S/MIME certificates will be available.

The EU PQC roadmap and ENISA guidance both favour hybrid approaches during the transition. For email, that points towards composite keys or dual-recipient arrangements rather than a hard switch.

Worked example: triaging a legal-services mail estate

The figures below are illustrative assumptions, not benchmarks.

A mid-sized legal firm runs its own MTAs, uses a hosted mailbox platform for staff, and exchanges S/MIME-encrypted attachments with five corporate clients. Its retention policy keeps client-matter mail for 15 years, and dispute files stay sensitive for at least 20 years.

Step 1: List the flows. Server-to-server SMTP; staff client access to the hosted mailbox; S/MIME encrypted exchange with the five clients; S/MIME signed engagement letters; DKIM signing for the firm's domains.

Step 2: Record the secrecy lifetime and who holds ciphertext copies.

Flow Secrecy or validity needed Who holds copies Exposure
SMTP sessions 15 to 20 years Network intermediaries High unless hybrid or enforced TLS
Client access 15 to 20 years Network path, provider High; depends on provider support
S/MIME encrypted 20 years Mailboxes, archives, client systems, backups Highest
S/MIME signed Life of the contract Archive Medium; needs long-term validation
DKIM Minutes to days Not applicable Low; plan for 2030 to 2035

Step 3: Apply Mosca's inequality. For the encrypted flows, X (shelf life) is 20 years. Assume Y (migration time, including client coordination) is four years. The sum is 24 years, so the firm is betting that a cryptographically relevant quantum computer is more than 24 years away. Few risk owners would sign that statement, which is why this flow goes first.

Step 4: Choose actions in order.

  1. S/MIME encrypted mail. For the firm's own archive, decrypt at the gateway and re-store under AES-256 with keys held in a managed KMS, with logging and legal-hold controls. Agree with the five clients that attachments move to a secure portal using hybrid TLS until post-quantum S/MIME is supported by both sides. Record that copies already held by clients remain outside the firm's control.
  2. SMTP and client access. Enable MTA-STS and DANE with the five clients, test hybrid key exchange in a staging MTA, and ask the mailbox provider for a dated roadmap.
  3. Signed engagement letters. Apply archive timestamps now and schedule re-timestamping when post-quantum timestamp services are available.
  4. DKIM. Inventory selectors, key sizes and owners, including third-party senders. No algorithm change yet; revisit as IETF work matures.

A sequence that fits mail operations

  • Inventory first. Include MTAs, gateways, archives, mobile clients, signing services, third-party senders and the certificate sources behind S/MIME. A cryptographic bill of materials makes this repeatable.
  • Classify by lifetime. Use secrecy lifetime and copy holders, as in the table above, rather than system criticality.
  • Fix what you control. Archive re-protection and enforced, hybrid-capable transport are within your authority today.
  • Put it in contracts. Ask mail, gateway and certificate suppliers for post-quantum dates in writing.
  • Report it. Add stored encrypted mail to the quantum risk register with an owner and a review date.

Where IQCDL fits

Email migration involves messaging administrators, PKI teams, legal and records managers, and procurement, and they rarely share a vocabulary. IQCDL gives them one: /assessment shows where an individual or team stands against post-quantum competencies, /programs sets out role-based learning paths for security architects, engineers and policy owners, and /standards maps the NIST, ISO/IEC, ETSI and IETF material referred to here to those competencies.

FAQ

Is email encryption affected by quantum computers? Yes, where it relies on RSA or elliptic-curve key exchange or key wrapping. S/MIME and OpenPGP messages that use these algorithms, and SMTP sessions protected by classical TLS key exchange, could be decrypted later by a sufficiently capable quantum computer if the ciphertext has been recorded. The symmetric content encryption (AES-256) is not the weak point.

Does DKIM need to move to post-quantum signatures immediately? Not as urgently as confidentiality mechanisms. A DKIM signature is checked within minutes or days of sending, so an attacker would need a working quantum computer at that time to forge one. DKIM still needs a plan, because RSA and Ed25519 are deprecated after 2030 and disallowed after 2035 under NIST IR 8547, and large ML-DSA keys do not fit comfortably in DNS records.

Can we protect archived encrypted email without waiting for new S/MIME standards? Often, yes. For mail you control, decrypt it at a gateway or archive boundary and store it under symmetric encryption with managed keys, access controls and logging. This removes the exposed public-key wrapper from the stored copy. It does not help for messages already held by third parties, and it needs a clear key-escrow and legal-hold policy.

What standards define post-quantum algorithms for email? NIST FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) define the algorithms. RFC 9629 defines how KEMs are used in the Cryptographic Message Syntax, which underpins S/MIME. OpenPGP post-quantum support is being developed in the IETF, so check the current document status before committing to a design.