← Back to section · Digital Security
Hybrid Key Exchange: Why Post-Quantum Migration Starts with TLS
Run classic X25519 and ML-KEM-768 side by side and combine the secrets — hybrid key exchange is deployable today, and it is step one of the whole migration.
Harvest now, decrypt later: where the urgency comes from
Post-quantum migration has an asymmetric timing problem: an attacker can record encrypted traffic today and decrypt it once a capable quantum computer exists — harvest now, decrypt later. If your data must stay secret longer than the time until such a machine arrives, your migration is already late.
That asymmetry fixes the order of operations: key exchange first, signatures later. A signature protects the authenticity of a connection now; forging it retroactively gains nothing. Key exchange protects the content of the connection — and recorded content is future plaintext. It is no accident that the first shot of the global migration was fired at TLS key exchange.
What hybrid key exchange is
The hybrid construction is disarmingly direct: run two key exchanges in a single handshake — classic X25519 and post-quantum ML-KEM-768 — and feed both shared secrets into the key derivation function:
With a sound combiner, the guarantee is an OR, not an AND: if either algorithm remains secure, the session keys are secure. Two consequences follow:
- If ML-KEM were ever broken, X25519 still stands — security is no worse than today;
- If a quantum computer arrives early, ML-KEM is already in place — recorded traffic stays sealed.
The cost is a larger handshake: ML-KEM-768’s key share is about 1,184 bytes, which inflates the ClientHello, and a small population of legacy middleboxes chokes on that. It is a real deployment pitfall, and the reason every large rollout went gradual before going default.
Who is already running it
This is not a lab proposal; it is the production default in the Internet’s core plumbing:
- Chrome: since version 131 (November 2024), desktop Chrome enables the X25519MLKEM768 hybrid by default;
- OpenSSH: since 10.0 (April 2025), the default key exchange is mlkem768x25519-sha256; version 9.0 had already introduced an NTRU Prime hybrid;
- Signal: PQXDH, deployed in 2023, layers Kyber — ML-KEM’s predecessor — over X25519 for initial key agreement;
- IETF: the TLS working group is progressing a draft to standardise ML-KEM key agreement, with the hybrid construction as the baseline under discussion.
Browsers, SSH, messaging — the three most critical connection types on the Internet have all crossed this line.
What a sound combiner must do
“Glue two secrets together” sounds trivial, but the combiner’s details decide whether the hybrid security argument actually holds. First, the combination must concatenate and derive jointly, not derive two keys and XOR them — the latter can be attacked component by component under some constructions. Second, TLS 1.3 carries both key shares in a single key_share extension, concatenates the shared secrets in a fixed order into the handshake key schedule, and binds the entire handshake transcript by hash into the derivation: tampering with any negotiated parameter makes the two endpoints derive different keys and the connection fails. Third, downgrade protection is the hybrid deployment’s hidden exam question — if an attacker can “talk the negotiation down” to a classical-only group, the hybrid layer is decoration. TLS 1.3’s Finished message MACs the whole handshake, so tampering surfaces at the final step; operationally, the thing to monitor is not “is the hybrid group supported” but “is the negotiated result being silently downgraded” — which is exactly why the checklist below insists on verifying negotiated groups.
Deployment pitfalls: middleboxes and ossification
The biggest obstacle hybrid key exchange has met in the real network is not cryptography but middleboxes: enterprise firewalls, intrusion-detection and traffic-auditing appliances whose implementations drop or reset connections when the ClientHello exceeds expected lengths or carries unknown extensions. An extra kilobyte-plus of key share also fragments the ClientHello, and devices that inspect only the first TCP segment can misjudge it. This failure mode has a long history — TLS 1.3 itself disguised its wire format as TLS 1.2 session resumption to survive middlebox intolerance. The pragmatic rollout order follows from that: enable the hybrid group server-side first (capable clients benefit automatically), measure negotiation failure rates on real traffic, and only then consider any enforcement. Chrome’s path was the same — gradual rollout, measurement, then default. The ossification lesson cuts the other way too: keep extension points exercised (the GREASE mechanism), or the next migration will jam on the same boxes.
Edge cases: QUIC, DTLS and the internal network
Hybrid groups landed first on public TLS between browsers and CDNs, but traffic comes in more shapes than that. QUIC embeds the TLS 1.3 handshake and shares its group registry, so HTTP/3 inherits hybrid support automatically — do not skip it in an inventory because “it is QUIC”, and do not count it twice. DTLS, the datagram variant, has corresponding hybrid drafts and covers real-time media and IoT control channels. Internal service-to-service traffic (mTLS) is the corner most often forgotten: east-west traffic can be recorded just as easily, and a service mesh’s key exchange policy needs its own confirmation rather than an assumption that “internal means unrecorded”. Finally, the long tail of embedded and industrial systems may run TLS stacks years out of date with no hybrid groups at all; the practical answer there is a modern TLS-terminating gateway in front of them, not a firmware programme.
What it means for your own systems
For your own infrastructure, hybrid key exchange is the cheapest lesson in the whole migration:
- Inventory the TLS termination points first — load balancers, reverse proxies, API gateways; key exchange happens there, so the upgrade happens there;
- Upgrade the crypto stack before anything else — OpenSSL, Go and Rustls all support hybrid groups; in most cases it is configuration, not re-engineering;
- Verify the negotiated group — packet captures or logs should prove new connections actually land on the hybrid group rather than silently falling back to classic-only;
- Queue the signatures — certificate chains and code signing are more complex and less urgent; plan them separately, after key exchange.
Takeaway
The elegance of the hybrid construction is that it asks you to trust neither side: the classic algorithm guards today, the post-quantum algorithm guards tomorrow, and the KDF merges both guarantees into one. It is the lowest-risk, highest-immediacy step in the entire migration — and the first signal of whether a system is taking migration seriously.
Sources
- IETF Datatracker: draft-ietf-tls-mlkem (ML-KEM key agreement in TLS) — https://datatracker.ietf.org/doc/draft-ietf-tls-mlkem/
- OpenSSH 10.0 release notes (April 2025): default key exchange changed to mlkem768x25519-sha256 — https://www.openssh.com/releasenotes.html
- Google Chrome release blog: ML-KEM hybrid key agreement enabled by default in Chrome 131 (November 2024)
- Signal official blog: the PQXDH protocol upgrade (2023)
Tags: Hybrid EncryptionTLSML-KEMHarvest Now Decrypt Later