trustyourinbox

Post-quantum cryptography and email

The short version: mail in transit is moving to post-quantum key exchange through your mail providers' servers, and most of that needs nothing from you. DKIM has no post-quantum algorithm yet, so the step worth taking now is making your DKIM keys easy to rotate.

What a quantum computer would break, and what it would not

Public-key cryptography rests on math problems, such as factoring a large number (RSA) or the discrete logarithm on an elliptic curve (X25519, Ed25519, P-256). A large enough quantum computer could solve those problems. CISA's own wording is that such a machine "will be able to break many of today's widely used encryption and digital signature algorithms", and that the technology "does not yet exist".

Symmetric cryptography is a different story. AES and the SHA-2 hash functions are not built on those problems, and NIST writes that its symmetric standards "are less vulnerable to attacks by quantum computers" and that it does "not expect to need to transition away from these standards". AES-256 stays.

The replacements are already standards. In August 2024 NIST published FIPS 203 (ML-KEM, for agreeing on a key) and FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), both for signatures.

Two different problems: secrecy and signatures

Secrecy can be lost later

An encrypted connection starts with a key exchange. Someone who records the encrypted traffic today could decrypt it years from now, once they can break the exchange. NIST calls this the "harvest now, decrypt later" threat, and it is why key exchange moves first: anything that must stay secret for years is exposed from the day it is recorded.

Signatures only matter when they are checked

A signature is checked when the message arrives. A quantum computer built later cannot change a check that already happened. The risk to signatures starts on the day such a machine exists, when it could work out a private key from a published public key and sign new messages with it. That is why signatures move on a later schedule, once the software that checks them understands a new algorithm.

Email uses both. TLS encrypts mail in transit (secrecy). DKIM signs each message (signatures).

TLS: mail in transit

Mail crosses TLS at least twice: from your mail app or webmail to your provider, and from the sending server to the receiving one over SMTP. The post-quantum option for TLS 1.3 is a hybrid key exchange called X25519MLKEM768, published as RFC 10024 in August 2026. It combines the classical X25519 with ML-KEM, and is built so the session key stays secure as long as either half holds. OpenSSL, the TLS library behind many mail servers, offers it by default from version 3.5 (April 2025).

Between servers, TLS is opportunistic: SMTP upgrades with STARTTLS when both sides offer it, and the key exchange is whatever both TLS libraries share. When we checked on December 3, 2026, the inbound mail servers of Gmail and Yahoo negotiated X25519MLKEM768, and iCloud's negotiated the classical X25519. You can check any mail server the same way, from a machine whose network allows outbound port 25:

openssl s_client -starttls smtp -connect mx.example.com:25 -groups X25519MLKEM768:X25519

With OpenSSL 3.5 or later, the line Negotiated TLS1.3 group names the key exchange. The same command without -starttls smtp, on port 443, checks a website or webmail host.

MTA-STS makes TLS required rather than optional for mail sent to your domain, and TLS-RPT reports when it fails. Neither chooses the key exchange, but both make sure the encryption happens at all.

DKIM: a signature on every message

DKIM signs with RSA or Ed25519. Those are the only two key types in the IANA registry of DKIM parameters, and no post-quantum DKIM algorithm has been standardized. There is nothing to switch to yet.

Both are on NIST's list of quantum-vulnerable signatures. NIST IR 8547, final since October 2026, deprecates RSA and EdDSA (the family Ed25519 belongs to) after 2030 and disallows them under NIST standards after 2035. The RSA entry covers every key size, so a 4096-bit key faces the same move as a 2048-bit one. These dates apply to US federal systems; for everyone else they show where software is heading.

DKIM is a signature, so it sits on the later schedule above. The useful preparation is being able to change keys quickly. A DKIM key lives behind a selector, and moving to a new key is a selector rotation: publish the new key, switch the sender, retire the old one. Our DKIM key strength guide has the playbook.

What to do now

  • Retire 1024-bit DKIM keys. Not for quantum reasons: RFC 8301 says signers should use at least 2048 bits today. The DKIM verifier shows each selector's key size.
  • Rotate one DKIM key end to end. Each sending service has its own steps. Learning them once, before you have to, is the preparation that pays off.
  • Know who signs as your domain. Every service that signs as your domain holds a DKIM key for it. Your DMARC aggregate reports show them, and that list is the inventory you will work from when a new algorithm arrives.
  • Publish MTA-STS and TLS-RPT if mail to your domain should never travel unencrypted.
  • Keep any mail server you run yourself current. A TLS library at OpenSSL 3.5 or later offers the hybrid key exchange without configuration. For hosted mail, your provider makes this change.

What not to do

  • Don't move to 4096-bit RSA for quantum reasons. NIST's deprecation covers RSA at every size, and the longer key makes your DNS record harder to publish.
  • Don't drop RSA for Ed25519 alone. Not every receiver verifies Ed25519 signatures yet, and Ed25519 is on the same NIST list. If you add it, sign with both.
  • Don't pay for post-quantum DKIM. No such algorithm is standardized, so nothing a receiver checks can use it yet.
  • Don't switch off the classical options on a mail server. A sender that cannot complete the TLS handshake may deliver without TLS at all. The hybrid exchange already keeps the classical half alongside the new one.

The December 2026 statement

On December 2, 2026, the Office of the National Cyber Director, the NSA and CISA published a joint statement that "American SI companies have disclosed discoveries that impact the security of some cryptography currently in use" (SI is the statement's term for super intelligence). Their assessment is that these advances "do not present an immediate and widespread threat to that cryptography". The statement names no algorithm.

Sources

Fix DNS issues with one click. See the exact change before it goes live.

Click the fix. We email you the exact record, wait five minutes, write it to Cloudflare or AWS Route 53, and read it back from public DNS. On any other DNS host, you get the record and a link to the right page. Included on every plan.

Was this page helpful?

Keep reading.

Start with one domain. See it with your own data.

Free for one domain, no card. Add one DNS record and the first reports usually arrive within 24 to 48 hours.

  1. Monitoring
  2. Quarantine
  3. Reject