Insight · Engineering

Post-quantum migration is a protocol problem, not a library swap

Perspective 7 min read Technical · Executive

The most common way to underestimate post-quantum migration is to treat it as swapping one algorithm for another in a crypto library. The library is the easy part. Post-quantum signatures are roughly an order of magnitude larger than the classical ones they replace, and that size ripples into every protocol that carries them, each of which breaks at a different limit.

The root cause: the new cryptography is big

Classical public-key objects are tiny. A post-quantum signature or key is not. That single fact drives everything that follows.

ObjectClassicalPost-quantum
SignatureECDSA P-256: ~64 B
RSA-2048: 256 B
ML-DSA-44: 2,420 B
SLH-DSA: ~8,000 to 50,000 B
Public keyECDSA P-256: ~64 BML-DSA-44: 1,312 B
KEM material(n/a)ML-KEM-768: ~1,184 B key + 1,088 B ciphertext

An ML-DSA-44 signature is about 38 times the size of an ECDSA signature. The mathematics is standardized and fast enough. The problem is that these bytes have to travel inside protocols designed decades ago around small cryptographic objects.

Why a library swap does not cover it

Upgrading the crypto library (OpenSSL, AWS-LC, BoringSSL) to offer ML-DSA and ML-KEM is real and necessary, and it is also the simplest step. The library gives you the algorithm. It does not change the fact that a 2,420-byte signature now has to fit through a protocol and a network path that assumed 64 bytes. The size ripples into three places a crypto library never touches: the protocol's own framing and size limits, the transport layer's behavior, and the middleboxes on the path (firewalls, load balancers, TLS-inspecting proxies, VPN concentrators) that carry their own hard-coded buffers and assumptions.

Four panels showing where post-quantum signatures break each protocol: DNS at the UDP ceiling, TLS at the initial congestion window, X.509 at middlebox buffers, and IKEv2 at the initiator packet.
One cause, four different failures: each protocol breaks at its own limit.

Each protocol breaks at a different limit

DNS hits the UDP ceiling. DNS traditionally answers over a single UDP datagram, and to avoid fragmentation the ecosystem caps that payload low, commonly around 1,232 bytes. A single post-quantum DNSKEY response is roughly 3,732 bytes, so it cannot fit. The server truncates and the resolver retries over TCP, which adds a round trip and load, and outright breaks against name servers with poor TCP support. The failure mode is truncation and forced TCP.

TLS hits the congestion window. When a connection opens, the server sends its certificate chain and handshake signatures before the client has acknowledged anything, and TCP limits that first burst to the initial congestion window, roughly 14 KB. A classical chain fits; a post-quantum chain can blow past it, forcing the server to stop and wait for an acknowledgment before sending the rest. That injects an extra round trip into every new connection and shows up as slower handshakes at scale, with sharper failures once the size crosses what middleboxes tolerate. The failure mode is latency, until it becomes an outage.

X.509 hits middlebox and buffer limits. Post-quantum keys and signatures make each certificate much larger, and a full chain multiplies it. Plenty of things in the path were not built for that: TLS-inspecting firewalls and proxies, older load balancers, embedded clients, and some server stacks have fixed buffers for the certificate message or the handshake and simply drop or reset the connection when it grows. The failure mode is that some clients and inspection devices fail while others work, which is maddening to diagnose.

IKEv2 hits the initiator packet. IPsec VPNs negotiate over UDP, and the initial exchanges carry key material and certificates. A post-quantum key exchange or an ML-DSA certificate makes those early packets exceed a single datagram. IKEv2's own fragmentation does not apply to the very first message, so oversized initial packets fall back to IP fragmentation, which many firewalls drop, and the negotiation silently fails. The fix is protocol surgery: RFC 9370 adds a separate round to carry ML-KEM without bloating the first packet, and peers must support RFC 7383 fragmentation for certificate-bearing messages. The failure mode is that the tunnel will not come up, especially across strict firewalls.

Four protocols, four different symptoms, four different limits, all from a single root cause: the cryptography got bigger.

Why teams find these one at a time, in production

Every one of those failures is triggered by a different limit and often only under specific conditions: a particular path MTU, a particular middlebox, a particular old client, a particular certificate-chain depth. A unit test that confirms "ML-DSA signs and verifies correctly" passes cleanly and tells you nothing about any of it. So an organization that scopes post-quantum as a library upgrade ships it, the algorithm works in the lab, and then the constraints surface later and intermittently: a VPN that will not connect from one branch office, a spike in DNS TCP retries, a subset of users whose corporate proxy breaks the handshake, a mobile client that chokes on a large certificate. Each gets discovered and fixed separately, under production pressure, instead of being planned for.

What to do instead

Run post-quantum migration as a systems and infrastructure program, not a cryptography task. In practice that means:

The cryptography was solved when the NIST standards shipped. The engineering around the size of that cryptography is the actual project, and it is the part QuSafe is built to run. We inventory where your cryptography lives and which protocols carry it, identify the transport and middlebox constraints each dependency will hit, and turn it into a prioritized, testable migration roadmap.

Is your post-quantum plan an algorithm swap or a systems program?

A scoped discovery maps your cryptographic estate by protocol and transport, the constraints ahead, and a prioritized roadmap to meet them on purpose.

Request an assessment