← guides

How do you migrate to post-quantum encryption?

Updated December 1, 2026

Migrate in this order: find where you use RSA and elliptic curves, turn on hybrid post-quantum key exchange for data in transit, then plan the slower move to post-quantum signatures and certificates. Key exchange comes first because recorded traffic can be decrypted later; signatures only matter once a capable quantum computer exists.

Step by step

  1. Inventory. List every place public-key cryptography is used: TLS endpoints, VPNs, SSH, code signing, certificates, tokens, databases, hardware modules and anything a vendor runs for you.
  2. Rank by secrecy lifetime. Systems carrying data that must stay secret for 10 years or more go first.
  3. Update software. Much of the work is upgrading to versions that already support ML-KEM: OpenSSL 3.5 or later, OpenSSH 10, current browsers and CDNs.
  4. Turn on hybrid key exchange. For TLS 1.3 this is the X25519MLKEM768 group. Test for middleboxes that mishandle the larger handshake.
  5. Ask vendors for dates. Put post-quantum support, with a date, into procurement requirements.
  6. Plan signatures. Certificates, code signing and firmware signing move to ML-DSA or SLH-DSA as certificate authorities and hardware support them.
  7. Build in agility. Make algorithms a configuration choice so the next change is not a rewrite.

What you can turn on today

LayerWhat to useStatus
Web (TLS 1.3)X25519MLKEM768 hybrid key exchangeOn by default in current Chrome, Edge and Firefox; supported by major CDNs
SSHmlkem768x25519-sha256Default in OpenSSH 10.0
MessagingBuilt inSignal (PQXDH) and iMessage (PQ3)
Data at restAES-256Already quantum safe
Web certificatesML-DSANot yet issued by public certificate authorities; standards in progress

Deadlines to plan against

  • NIST draft IR 8547: RSA and elliptic curves at 112-bit security deprecated after 2030, all disallowed after 2035.
  • NSA CNSA 2.0: new national security system acquisitions compliant from January 1, 2027.
  • UK NCSC: plan by 2028, highest-priority systems by 2031, complete by 2035.

What it costs

The algorithms are fast. The costs are size and compatibility: a hybrid TLS handshake carries about 2.2 KB more, and ML-DSA signatures are 2,420 to 4,627 bytes against 64 for Ed25519. Constrained devices, old load balancers and fixed-size protocol fields are where problems appear.

Common mistakes

  • Waiting for a date when quantum computers arrive. Nobody can give one. See When will quantum computers break RSA?.
  • Replacing AES. It does not need replacing. See Is AES-256 quantum safe?.
  • Dropping the classical algorithm. Use hybrids until the new algorithms and their implementations have more years of scrutiny.
  • Writing your own implementation. Use a maintained, reviewed library.

Sources

Keep reading