Post-quantum migration plan: a step-by-step guide
A practical post-quantum migration plan: inventory, key exchange first, data at rest, signatures and PKI, crypto-agility, plus the NSA, NCSC and NIST timelines.
Chapter 5Published 6 min readBy Imad Ez
On this page
A post-quantum migration plan has five parts, in this order: build an inventory of where you use public-key cryptography, protect key exchange first (because recorded traffic can be attacked later), re-wrap long-lived data, move signatures and PKI on a longer schedule, and make algorithms replaceable so you are not doing this again from scratch. Most organizations can start the first two this quarter with configuration and upgrade work rather than redesign.
- Inventory
Find where public-key cryptography is used: TLS, SSH, VPNs, certificates, code signing, and keys that wrap stored data.
- Protect key exchange
Enable hybrid key exchange in TLS 1.3 (X25519MLKEM768) and SSH (mlkem768x25519-sha256).
- Re-wrap long-lived data
Replace RSA-wrapped data keys with ML-KEM plus HKDF and AES-256-GCM, or with symmetric root keys.
- Signatures and PKI
Move certificates, code signing and firmware signing to ML-DSA or SLH-DSA as CAs and platforms support them.
- Crypto-agility
Make algorithms configurable and replaceable, so the next change is a configuration update, not a rebuild.
Principles
- Inventory first, then prioritize by data lifetime. The data that must stay secret longest, and is most exposed to recording, goes first.
- Hybrid now, pure post-quantum later. Use X25519 plus ML-KEM for key establishment. The independent CIRG assessment recommends hybrids and agile designs.
- Use the high parameter sets where you can afford them. CIRG: choose the highest security level your application supports.
- Build crypto-agility. Algorithm identifiers belong in configuration, not code; formats should be versioned; you should be able to rotate keys and swap algorithms quickly. The NSA, NCSC and ASD all say this, according to the reporting and the NCSC statement.
- Symmetric and hashes: AES-256 and SHA-384 or better where you have a choice.
Step 1: inventory (weeks 0 to 4)
You cannot prioritize what you cannot see. Cover:
- Source code and infrastructure-as-code (use the code scanner to see what a scan looks like; see finding quantum-vulnerable crypto).
- Certificates and key stores, and your public endpoints.
- What scanners miss: HSM and KMS keys, VPN and IPsec gateways, mTLS meshes, database encryption, email (S/MIME, PGP), Wi-Fi (802.1X), code-signing and firmware pipelines, SaaS vendors, and IoT or OT devices that cannot be upgraded.
For each system, record the algorithm, key size, protocol, owner, data lifetime, vendor upgrade path and exposure. A spreadsheet is enough.
Step 2: prioritize
| Priority | What | Why |
|---|---|---|
| P0 | Long-lived confidential data crossing untrusted networks, or stored with RSA or ECDH-wrapped keys | Harvest now, decrypt later |
| P1 | Public-facing TLS, VPN, SSH, service-to-service TLS | Cheap to fix with hybrids; configuration or upgrade only |
| P2 | Root and intermediate CAs, code and firmware signing, hardware roots of trust | Long-lived trust, hard to change later |
| P3 | Short-lived authentication certificates, JWT signing, internal tokens | Forgery needs a quantum computer at signing time |
Step 3: key exchange in TLS (P1)
Target TLS 1.3 everywhere, which the NSA advisory also lists as an interim step, and enable the hybrid group X25519MLKEM768.
- OpenSSL 3.5 and later include it and, according to the OpenSSL 3.5 release notes, "offer X25519MLKEM768 and X25519" as default key shares.
- Go 1.24 and later enable it by default in
crypto/tls(Go 1.24 notes). - Browsers: Chrome 131+, Firefox 132+ on desktop and Safari 26+, per Cloudflare's support list.
- Managed front ends: check your provider. AWS offers PQ security policies for load balancers, and Google Cloud enables it by default since October 2026 on supported load balancers. The NCSC tells you to understand your cloud provider's plans.
- The NCSC tells organizations to adopt its recommended PQC TLS profiles. The profiles are in an NCSC blog post dated 15 October 2026 that we have not read, so read it if you are in scope.
- Test old middleboxes and inspection proxies before a global rollout: the larger ClientHello can trip them.
Details and configuration: enable post-quantum TLS. Verify with the post-quantum TLS check.
Step 4: SSH (P1)
OpenSSH 9.0 made sntrup761x25519-sha512@openssh.com the default, 9.9 added mlkem768x25519-sha256, and 10.0 made the ML-KEM hybrid the default (OpenSSH release notes). Do not pin KexAlgorithms to classical-only lists. SSH host and user keys remain classical signatures: low harvest risk, because session keys are protected by the hybrid exchange, but a future forgery risk. See post-quantum SSH.
Step 5: data at rest and application code (P0 and P1)
- Replace "wrap a data key under an RSA or ECIES public key" with ML-KEM encapsulation (ideally hybrid with X25519), HKDF, and AES-256-GCM. Or use KMS envelope encryption with AES-256 master keys, which is quantum-resilient as it stands.
- Re-wrap existing long-lived backups and archives whose data keys are RSA or EC-wrapped. For the most sensitive sets, generate fresh data keys and re-encrypt, because a stolen copy of the old wrapped key is not protected by re-wrapping.
- Libraries: OpenSSL 3.5+, Go 1.24
crypto/mlkem, Node 24, recent JDKs, BoringSSL, AWS-LC, Bouncy Castle, liboqs. Check your own version's release notes; support differs. - Prefer high-level protocol libraries (TLS, SSH, HPKE) over hand-rolled constructions.
Step 6: PKI, code signing, firmware (P2)
- The NSA advisory (as reported) says to stand up CAs and trust roots that can handle the new algorithms and to reissue certificates relying on deprecated ones.
- Public WebPKI does not yet issue post-quantum certificates to our knowledge, and we have not verified the current state; treat that as a question for your CA. In your private PKI you can pilot ML-DSA-65 or ML-DSA-87 certificates with OpenSSL 3.5+, noting that many clients cannot yet verify ML-DSA chains.
- Shorten certificate lifetimes and automate issuance (ACME) so that switching algorithms is a configuration change. Keep root keys offline and plan how you would re-key a root.
- Firmware signatures and hardware roots of trust are hard to update once fielded, so require post-quantum-capable, field-updatable verification in every new purchase.
- JWT and JOSE: RFC 9964 (Proposed Standard, 2026) defines ML-DSA for JOSE and COSE. Library and ecosystem support will lag the RFC, so keep token lifetimes short, support
kidrotation, and keep the algorithm in configuration.
Step 7: ask your vendors
- Which post-quantum algorithms, hybrid or not, and when, per product and version?
- Hybrid support and defaults in TLS, VPN, SSH and IPsec products, and the configuration flags.
- KMS and HSM: ML-KEM and ML-DSA key types, and validation status for post-quantum modules.
- Certificate issuance: post-quantum or hybrid certificates, ACME, lifetimes.
- Firmware and boot: post-quantum signature verification roadmap, and whether it is field-updatable.
- How are customer data keys wrapped today, and will that change?
- Can algorithms be changed by configuration without re-architecture?
Step 8: agility and governance
Define a central crypto policy (approved algorithms, minimum TLS 1.3) and enforce it in CI. Track the quantum-vulnerable systems that remain; the NSA asks National Security System owners to do this, and it is good practice for everyone. Isolate what cannot be upgraded and monitor its traffic. Budget and staff for the transition; the NCSC says so explicitly.
Timelines
| Source | What it says |
|---|---|
| NSA, US National Security Systems | Immediate: CNSA 2.0 is the priority and required in every new purchase; inventory; report vulnerable systems (as reported) |
| UK NCSC | By 2028: goals, full discovery, initial plan. By 2031: early, highest-priority migration. By 2035: complete (timelines). After the NSA advisory it reiterated 1 January 2031 for highest-priority actions (advice) and a measured approach for most users |
| NIST IR 8547 (final, October 2026) | NIST will deprecate quantum-vulnerable public-key cryptography after 2030 and disallow it after 2035 (NIST) |
| US federal systems | Most sensitive systems: post-quantum key establishment by 31 December 2030 and signatures by 31 December 2031, per NIST IR 8547 citing EO 14412 and OMB M-26-15 |
| CNSA 2.0 | Phased dates between 2025 and 2033, all National Security Systems by 2035; see CNSA 2.0 timeline |
What not to do
- Do not wait for the undisclosed details. The migration path is already known.
- Do not deploy pure post-quantum key exchange without a classical hybrid.
- Do not roll your own constructions.
- Do not rely on bigger RSA keys or doubled AES keys to address quantum risk in RSA.
- Do not rotate everything in a panic. Sequence by data lifetime.
Next steps
Get a prioritized list from the readiness assessment, and use the migration checklist to turn this into tasks. The use cases chapter shows what these steps look like in seven concrete systems. If you want help scoping an inventory or a rollout, you can contact a specialist via /en/contact.