Menu
Book a Demo

When is a post-quantum migration done?

A service is ready when its protections hold in everyday use, during an outage and when someone needs to recover the data.

In this Reflection

A customer uploads a contract that must stay confidential for ten years. Their browser makes a post-quantum connection to your gateway. If a dispute arises in year nine, they still expect an authorized colleague to be able to retrieve the document. What protection can you promise them today?

Someone can record traffic protected by classical key exchange today. If a future quantum computer can recover the session key while the contract is still sensitive, its terms could be exposed. That is one reason the U.S. National Security Agency urged National Security Systems owners, operators and vendors to accelerate migration to post-quantum cryptography (PQC) on December 2. A later upgrade can protect future uploads. It cannot reach a copy someone has already taken. NSA advisory

One upload crosses two connections

Suppose the portal uses Microsoft Azure Front Door. A compatible browser and Front Door can combine a classical and a post-quantum method to agree on a session key. This is called hybrid key exchange. Front Door receives the upload, then opens a second encrypted connection to forward it to the application. The domain’s key exchange setting governs the browser-facing connection. Microsoft’s Front Door policy

A contract uploaded through Azure Front Door
  1. Customer’s browserA compatible client can use hybrid key exchange.
  2. Front DoorThe browser’s TLS session ends here.
  3. ApplicationTraffic reaches the origin over a separately negotiated session.
Figure 1. The browser can report the protection on its own connection. The origin connection and any failover route have their own settings and peers.

The default key exchange policy on Front Door Standard and Premium allows both hybrid and classical methods. An older client can still send the contract using classical key exchange. Requiring hybrid exchange on a custom domain would exclude that client. The portal owner has to decide when the older client can be retired and establish what protects the onward connection. Azure policy options

There is a second question even on the first leg. Key exchange protects the contents of the upload. The browser relies on a certificate and a signature to authenticate the gateway. Each can migrate on its own schedule. The difference becomes visible when a larger key exchange or signature has to travel through the existing network.

Where do the extra bytes go?

Key-share bytes in one TLS 1.3 handshake
Client sends
X2551932 B
Hybrid1,216 B
Server sends
X2551932 B
Hybrid1,120 B
Figure 2. Hybrid X25519MLKEM768 adds 2,272 bytes across the two shares when each peer sends one share. The bars show the key shares only. Certificates, protocol headers and retransmissions add their own bytes. TLS key shares

How long does a branch take to reconnect?

A branch office may depend on a cellular link when its primary network fails. Cisco modeled a branch router reconnecting to its controller with ML-DSA-87 post-quantum signatures and 3% packet loss. With the older transport, DTLS 1.2, 95% of attempts completed within 15.1 seconds. With DTLS 1.3, the same cutoff was 2.1 seconds. The newer transport could resend the missing data more selectively. Cisco’s simulation, slides 4–5

Suppose the branch needs to reconnect within five seconds. In the simulation, 16.3% of attempts missed that target on the older transport, compared with 0.2% on the newer one. For branches with unreliable links, upgrading the transport first could make the new credentials practical. Prague workshop account

Will the browser keep the sign-in cookie?

An employee can enter the right password and land back on the sign-in screen if the browser discards the session cookie. Consider a portal that stores a signed JSON Web Token (JWT) in that cookie. One ML-DSA-65 signature is 3,309 bytes. Encoding the signature for the token takes 4,412 characters, already beyond a 4,096-byte cookie budget before adding the header or claims. ML-DSA in signed tokens · Cookie capacity

We signed three synthetic tokens containing the same short claim. OpenSSL 4.0.3 verified all three signatures. Only one token made it back to the application as a cookie.

Three signed session tokens with the same short claim
SignatureToken sizeCookie sent backDatabase insert
ML-DSA-443,278 BYesAccepted
ML-DSA-654,463 BNoRejected
ML-DSA-876,221 BNoRejected

Chromium 143 dropped the two larger cookies. PostgreSQL 14.13 also rejected those tokens when we tried to store them in a 4,096-character column. Explicitly converting them to that width instead cut off the end of each signature. For a portal with that cookie limit, storing the credential server-side and putting a short session identifier in the browser is one alternative. Users then depend on the session store being available. PostgreSQL character types

How much traffic does a complete sign-in generate?

The cookie budget applies to one token. A sign-in that also verifies the user’s identity can involve several signed messages and key exchanges. In a minimal implementation of GOV.UK One Login, the UK Government Digital Service measured total outgoing traffic for a typical identity-proofing journey. It rose from 6.7 KB to 44.5 KB with ML-DSA-65 signing and ML-KEM-768 key establishment, about 6.6 times the baseline. Their combined classical and post-quantum configuration reached 56.7 KB. Those figures describe total traffic, so none of them gives the size of an individual request. GDS findings, pp. 1–2

In a separate AWS Key Management Service benchmark, average signing time rose from about 6 ms with ES256 to 9 ms with ML-DSA-87. A 50% increase amounts to three milliseconds per signature in that benchmark. For the portal owner, signature time, the size of the largest request and total traffic answer three different capacity questions. GDS signing benchmark

What happens at the next renewal or restore?

The upload may take seconds. The company will renew certificates and rotate keys many times during the contract’s ten-year life. A portal that works on launch day can lose access to a service at its next certificate renewal.

AWS Private CA supports ML-DSA for directly issued certificates. AWS documents a narrower set of algorithms when an application requests a private certificate through AWS Certificate Manager. That matters for a service whose existing renewal runs through Certificate Manager. Issuing one certificate directly demonstrates the CA’s capability. Keeping the service available next month also depends on the renewal route and the software that accepts the replacement certificate. AWS Private CA algorithms · Certificate Manager private requests

Google Cloud Key Management Service (KMS) illustrates the risk at recovery time. Its quantum-safe import feature, in preview for software-backed keys, protects key material on its journey into KMS. Now consider a backup made last year. Rotating the encryption key creates a new version. Existing ciphertext still depends on the version that encrypted it until the data is re-encrypted. Destroying that version too early can make the backup unreadable. A team can improve protection for incoming keys today while retaining what it needs to recover older records. Google’s key import scope · What happens after rotation

What changed across Mirror’s portfolio

By the time the NSA issued its advisory, we had already rolled out post-quantum signing and verification, along with hybrid protection for access keys, across Mirror’s product portfolio. The migration reached systems that authorize agents, run inference on encrypted inputs, protect stored memory and produce records for governance and audit.

Consider a customer who uses AI to review the contract. Mirror can verify the agent’s identity and protect the key used to open stored memory. The customer also relies on its identity provider, the connection to its inference provider and the software an auditor uses to verify the record later. For a new audit record, the change works when the service produces a post-quantum signature and the auditor verifies it with a trusted key.

When can the CISO sign off?

Return to the contract. Suppose the primary gateway meets the company’s requirement for hybrid key exchange, but the standby still accepts a classical-only connection. If a branch fails over tomorrow, can it still upload the contract under the promised protection?

The company can start using the upgraded route now. It can upgrade the standby or keep sensitive uploads off that route, provided the remaining service meets the branch’s availability needs. If the business accepts temporary classical fallback, give the exception an owner and an expiry. The workflow stays open on the migration register.

Sign off when the evidence shows that the contract stays protected on every permitted route, authorized staff can still sign in during failover, and a retained copy can be recovered under the agreed key policy. Keep that evidence with the service. When the gateway changes next year, its owner will know which part of the ten-year promise to check again.