← Back to section · Post-Quantum Migration

Case Study: Signal Replaced the Handshake of a Billion-User Messaging Protocol with PQXDH

In 2023 Signal wove a post-quantum KEM into the X3DH handshake to create PQXDH: invisible to users, backwards compatible, rolled out in stages. It is the cleanest public example of protocol-layer migration, and in 2025 SPQR extended post-quantum protection into the session ratchet.

Published 22 November 2026 · 5 min read · PQ Frontier

Case Study: Signal Replaced the Handshake of a Billion-User Messaging Protocol with PQXDH
AI-generated site artwork
Video explainer · Migration Case Studies: Lessons from Early Movers

Messaging is where the harvest-now-decrypt-later threat bites hardest: end-to-end encrypted traffic can be recorded and stored indefinitely, waiting for a future quantum computer to break the handshake and unwind every session key. In September 2023 Signal announced PQXDH on its official blog — a post-quantum key encapsulation mechanism woven into the existing X3DH handshake protocol, rolled out gradually through client updates. There was no launch-event cut-over; users did not even need to know anything had happened. Because the Signal Protocol is the de facto standard adopted or adapted by several mainstream messaging applications, this case is about more than one company: every evolution of the protocol diffuses outward through the ecosystem, and it demonstrates what protocol-layer migration should look like.

The approach: add a layer to the handshake, don’t rebuild the protocol

PQXDH’s structural idea is addition, not replacement. The original X3DH negotiates the initial session key with elliptic-curve Diffie-Hellman; PQXDH adds a post-quantum KEM encapsulation in parallel and mixes the secrets from both into a single key derivation. The classical half continues to provide battle-tested security today, while the post-quantum half specifically closes the record-today-decrypt-tomorrow risk. Signal chose the Kyber family (later aligned to ML-KEM after NIST finalisation), whose public-key material is far larger than elliptic-curve keys and must be uploaded and distributed with prekey bundles — the real price the protocol layer pays for post-quantum security. Signal’s technical write-up is explicit about this: servers store and relay more key material, but nothing changes in the user-facing interaction flow.

The pitfalls: the coexistence period and key-material growth

The hardest part of a protocol upgrade is never the new protocol itself, but the long transition in which old and new versions coexist. Signal’s user base is enormous and its client versions are all over the map, so PQXDH had to guarantee that new and old clients can still establish sessions, with post-quantum protection taking effect only once both sides have upgraded. That means the protocol must negotiate capabilities and degrade gracefully, and the degradation must not be exploitable by an attacker to strip the post-quantum layer — the design has to distinguish a peer that genuinely lacks support from a man-in-the-middle tampering with the negotiation. The other practical cost is growth in the prekey system: with post-quantum public keys an order of magnitude larger, server-side storage and bandwidth and client upload strategies all had to be re-budgeted. None of these pitfalls appear in cryptography papers; they all live in deployment engineering.

One selection detail is worth recording: for the handshake layer Signal chose a larger parameter set in the Kyber family rather than the smallest. Its reasoning was that the handshake happens once at session establishment, so its bandwidth and computation costs are amortised across the whole session — the layer can afford to pay extra for security margin against future cryptanalytic progress. That contrasts with transport-layer practice, where frequent handshakes make byte counts precious and smaller parameter sets are the norm. Same algorithm family, different parameter tier, completely different cost structure underneath: when reading a case, compare parameter choices against scenario frequency, and you learn to copy the early mover’s trade-off method rather than its parameter table.

Why not wait for the standard

A natural question: when Signal moved in 2023, ML-KEM was not yet final — why not wait? The logic in its public explanation is that the time structure of the risk is different: standards can wait, but harvested traffic cannot — every day, new session handshakes are recorded and archived, and waiting for the standard before acting means accepting that all traffic in the interval is exposed to future decryption. The price of moving early was explicit: the chosen algorithm would need an alignment migration of parameters and encodings once the standard was final, and Signal did later complete its convergence to the ML-KEM specification. But note that the hybrid design capped the risk: the post-quantum layer is an addition on top of the classical handshake, so even if the draft algorithm needed adjustment, the security of the classical half and the availability of the protocol were unaffected. Every migration planner should borrow this decision framework: when the threat accumulates over time and an additive deployment caps the early-mover risk, waiting is no longer a free option — its cost is priced in newly exposed traffic per day.

The sequel: SPQR, from handshake to session

PQXDH only secured the moment of session establishment. Once a session exists, subsequent messages are protected by the Double Ratchet’s symmetric key chain, which does not itself depend on public-key algorithms — but the origin of the initial root key still rests on the handshake. In 2025 Signal announced the Sparse Post-Quantum Ratchet (SPQR), combined with the existing Double Ratchet into a Triple Ratchet, periodically injecting a post-quantum component into session evolution so that long-lived sessions also gain continuing post-quantum protection and key healing. The sequel makes one point clearly: protocol migration is not a project that ends at first delivery. The handshake upgrade of phase one merely closes the most urgent harvesting risk; complete post-quantum coverage has to advance along the protocol’s whole life cycle.

What can be copied

Owners of application-layer protocols can take three things from this case. First, start migration at key establishment, because that is where harvesting risk concentrates. Second, an additive hybrid design makes rollout reversible and coexistence manageable. Third, make the upgrade a silent change inside the protocol that does not depend on user action. What cannot be copied is Signal’s position: it defines the protocol and others follow, while an ordinary application can only move at the pace of the protocols and libraries it depends on. That is itself the other lesson — if you do not control the protocol layer, your migration timetable is effectively set by your suppliers, and your inventory must mark that dependency explicitly.

Tags: SignalPQXDHMessaging ProtocolProtocol Upgrade