Post-Quantum Migration for Protocols and Infrastructure
How post-quantum migration works across TLS, SSH, IPsec VPNs, PKI, HSMs, code signing and identity tokens, and which of seven articles to read first.
Post-quantum migration at the protocol layer happens in two waves. Key exchange in TLS, SSH and IPsec moves first, because traffic recorded today can be decrypted later if the exchange behind it was classical. Certificates, hardware-held keys, firmware signatures and identity tokens follow on a slower track, because they depend on trust anchors, hardware and verifiers that change at different speeds.
This guide gathers seven articles on that work. It says what each one covers and in what order to read them.
Who this guide is for
Network and platform engineers, system administrators, PKI teams, HSM and key management owners, firmware and build engineers, and identity and access management teams. It assumes you already know why the migration matters. The articles deal with engineering decisions: which configuration to choose, what tends to break and how to test before rollout.
Network protocols: key exchange moves first
The three protocol articles share one argument. A recorded session can be attacked years afterwards, while a forged signature only helps an attacker who has a quantum computer at the moment of the connection. Key establishment is therefore the urgent change, and authentication follows.
They also share one construction. A hybrid key exchange combines a classical exchange with ML-KEM from NIST FIPS 203, so an attacker has to break both to recover the session keys.
In TLS 1.3 the hybrid is a new named group, X25519MLKEM768. The article on deploying X25519MLKEM768 in TLS 1.3 works out the cost on the wire: the client key share grows from 32 bytes to 1,216 and the server share to 1,120. Compute cost is modest. The problems come from packet size, because a larger ClientHello can exceed a single TCP segment and some firewalls and load balancers mishandle it. A TLS inspection device that lacks the hybrid group will normally negotiate classical X25519 and silently remove the protection, so the article tells you to confirm the negotiated group from logs or packet captures.
SSH is further along. The guide to auditing and enabling hybrid key exchange in OpenSSH explains that mlkem768x25519-sha256 arrived in OpenSSH 9.9 and became the default in 10.0. An older hybrid based on sntrup761 was the default from 9.0 until then, but it is not a NIST standard. The method is to ask each host what it supports with ssh -Q kex, observe what is actually negotiated, set an explicit ordered list, and keep a classical fallback while you count how often it is used. Host keys and user keys stay classical for now.
IPsec offers more than one mechanism. The IKEv2 migration article covering RFC 8784 and RFC 9370 compares three: post-quantum pre-shared keys under RFC 8784 as a stopgap for a few high-value tunnels, hybrid IKEv2 with ML-KEM under RFC 9370 as the default target, and ML-KEM alone as a later destination. IKE runs over UDP, so larger messages are fragmented, and that is where VPNs tend to fail in practice. The article lists what to test: IKE fragmentation support, middleboxes, path MTU and rekey behaviour.
Two cautions run through all three. The TLS and SSH hybrid methods use ML-KEM-768, while the NSA's CNSA 2.0 suite specifies ML-KEM-1024 for national security systems, so check which requirements apply to you. And hybrid key exchange changes nothing about authentication. Certificates and keys remain classical until the work in the next section is done.
PKI, keys and signing: the slower track
Signatures are not a harvest-now problem, but lead time is. A root CA created today may be valid for 20 years, and NIST IR 8547 deprecates RSA and elliptic-curve signatures after 2030 and disallows them after 2035. The article on planning ML-DSA certificate hierarchies sets out the transition patterns: a parallel hierarchy, composite certificates, alternative-signature extensions and pure ML-DSA. It expects private PKI to move first, because you control both issuance and validation there. It also shows the size impact. An ML-DSA-65 public key is 1,952 bytes and a signature is 3,309 bytes, so a leaf certificate and one intermediate put 13,831 bytes of keys and signatures into a TLS handshake.
Underneath PKI sits key management. The readiness guide for HSMs and key management systems argues that this layer decides whether the other plans can be executed. Hardware is validated against a specific firmware version. Applications reach keys through interfaces such as PKCS#11 and KMIP, and if the interface cannot express an ML-KEM or ML-DSA key, the application cannot use one. The exposure is not in AES-256 keys. It is in the RSA and elliptic-curve mechanisms that wrap and transport them, such as bring-your-own-key imports into a cloud service. The article gives a table of questions to ask a vendor and the evidence to expect in return.
Firmware has a different clock. A boot ROM or fused key hash cannot be patched in the field, so the algorithm a device verifies today is the one it verifies for life. The comparison of LMS, XMSS, ML-DSA and SLH-DSA for firmware and code signing explains the trade-off. LMS and XMSS rest only on hash functions and are named in CNSA 2.0 for this use, but they are stateful, and reusing a one-time key can allow forgery. ML-DSA is stateless, with larger keys and signatures and a security argument based on lattice problems. SLH-DSA is stateless and hash-based, with large signatures and slow signing. The worked example is a signing budget: count every signature, compare the total with tree capacity, and keep release candidates off the production key.
Identity is often left out of the inventory. The article on JWT, OIDC, SAML and WebAuthn readiness for ML-DSA separates what is exposed. Short-lived signed tokens carry lower urgency. Encrypted tokens, and the TLS sessions that carry bearer tokens, can be recorded today and opened later. The engineering friction is size: an ML-DSA-44 signature is 2,420 bytes before encoding, which puts an illustrative access token at the limit of a browser cookie. The advice is to make verifiers algorithm-agnostic before any issuer changes, and to check the status of the JOSE and COSE algorithm identifiers before using them with third parties.
Some common threads run through these four articles. All four put the affected keys into the cryptographic inventory, including code-signing keys that live in build systems and identity provider signing keys. The PKI, HSM and identity articles ask suppliers for roadmaps with dates or written evidence, not assurances. The PKI article pilots in a private hierarchy, the HSM article pilots one narrow use, and the identity article pilots in a closed domain where you control both issuer and verifier. The HSM article keeps algorithm identifiers in configuration, not code, and the code-signing article puts an algorithm field in the image format.
Where to start
- Start with hybrid key exchange in TLS 1.3. It is an early, bounded change, and it teaches group negotiation, larger handshakes and cross-vendor dependencies, all of which recur when signatures follow.
- Move to post-quantum SSH. Recent OpenSSH releases already default to a hybrid method, so much of the work is audit and confirmation.
- Then take on quantum-safe IPsec VPNs, and tier your tunnels by how long their traffic must stay confidential.
- Open the vendor conversation described in the HSM and KMS readiness guide early. Key management lead times are longer than application lead times.
- Review your hierarchy with the post-quantum PKI plan: list every CA and flag any trust anchor that is valid beyond 2030.
- If you ship devices, read the firmware signing comparison before the next verifier is fixed in silicon.
- Finish with post-quantum identity: record every identity signing and encryption key, its owner and every known verifier.
Next steps with IQCDL
The IQCDL Practitioner Level is the hands-on level for developers, cryptography specialists, security architects and DevOps engineers. Its outcomes include hybrid classical-PQC systems and crypto-agile TLS, and cryptographic inventory (CBOM) and migration roadmaps. The exam has 150 multiple-choice questions in 240 minutes with a 75% pass mark. The prerequisite is the Foundation Level plus basic Python.
A free readiness assessment is also available.
Two other guides support this one. PQC algorithms and standards covers the algorithms named here. Cryptographic inventory and migration covers the inventory that every article above depends on.