Quantum-safe migration

Also known as: PQC migration

On this page 7

Quantum-safe migration, also called PQC migration, is the organized process of replacing public-key cryptography that quantum computers could break, chiefly RSA, Diffie-Hellman and elliptic-curve schemes, with post-quantum algorithms across an organization’s systems, protocols, products and supply chain. In quantum security, it is the practical response to the threat that a cryptographically relevant quantum computer running Shor’s algorithm would recover private keys from public ones.

The migration is not a single software update. It is a multi-year program that combines a cryptographic inventory, risk prioritization, protocol and hardware changes, vendor coordination and testing, and it must begin well before such a machine exists because of harvest now, decrypt later attacks on recorded traffic.

Why quantum-safe migration must start early

The urgency comes from the gap between how long data must stay secret and how long migration takes. An adversary can record encrypted traffic today and decrypt it once a capable quantum computer appears, so any data with a long confidentiality life is already exposed if its key exchange is classical.

Mosca’s theorem frames the decision: if the shelf life of the data plus the time needed to migrate exceeds the time until a cryptographically relevant quantum computer exists, the organization is already late. Estimates for that arrival vary widely and remain disputed, which is why authorities recommend acting on planning timelines rather than on predictions.

Symmetric cryptography is affected far less. Grover’s algorithm offers only a quadratic speedup, so AES-256 and SHA-384 or stronger hashes are generally considered adequate; the migration therefore focuses on public-key algorithms.

Target algorithms and standards

Migration targets are now standardized algorithms rather than research candidates. NIST published the first post-quantum standards in 2024, with further algorithms in progress, and national guidance such as CNSA 2.0 builds on them. The table lists the main options and the classical primitives they replace.

FunctionClassical algorithmPost-quantum replacementBasis
Key establishmentECDH, RSA key transportML-KEM (FIPS 203)Module lattices
General signaturesECDSA, RSA signaturesML-DSA (FIPS 204)Module lattices
Conservative signaturesECDSA, RSA signaturesSLH-DSA (FIPS 205)Hash functions
Compact signaturesECDSAFN-DSA (in progress)NTRU lattices
Backup key establishmentECDHHQC (selected)Error-correcting codes
Firmware signingRSA, ECDSALMS or XMSSStateful hash-based
Post-quantum replacements for classical algorithms

The algorithms differ in key and signature sizes, which drives most of the engineering effort. A post-quantum signature can be tens of times larger than an ECDSA signature, and this affects certificate chains, packet sizes and constrained devices.

AlgorithmPublic keyCiphertext or signature
X2551932 bytes32 bytes
ML-KEM-7681,184 bytes1,088 bytes
ECDSA P-25664 bytesAbout 64 to 72 bytes
ML-DSA-651,952 bytes3,309 bytes
SLH-DSA-128s32 bytes7,856 bytes
Approximate sizes at common security levels

Phases of a quantum-safe migration program

Mature programs follow a repeatable sequence of phases, although they overlap in practice. The table shows the typical order, the main output of each phase and a frequent obstacle.

PhaseMain outputFrequent obstacle
GovernanceOwner, budget and policyNo clear accountability
Cryptographic inventoryList of algorithms, keys and librariesHidden crypto in firmware and vendors
Risk prioritizationRanked systems by data lifetimeUnknown data retention needs
Crypto-agility workReplaceable crypto componentsHard-coded algorithms
Pilot and testingHybrid deployments in limited scopeMiddleboxes rejecting large messages
Rollout and decommissionClassical-only algorithms removedLegacy devices without updates
Typical migration phases

The cryptographic inventory is usually the longest phase. Cryptography hides in TLS libraries, VPN appliances, code-signing pipelines, hardware security modules, smart cards and embedded firmware, and much of it belongs to third-party vendors whose roadmaps the organization does not control.

Crypto-agility is the design goal that makes migration sustainable: algorithms are selected through configuration and abstraction layers rather than hard-coded, so a future change, including a response to a newly discovered weakness, does not require another full program.

Hybrid deployment as the transition pattern

Most early deployments use hybrid key exchange, which combines a classical and a post-quantum algorithm so that the session stays secure if either one remains unbroken. In TLS 1.3, the hybrid group X25519MLKEM768 has become the common default in major browsers and content delivery networks.

Hybrid designs protect against two risks at once: a future quantum computer breaking the classical part, and an undiscovered flaw in the newer algorithm. The withdrawal of SIKE in 2022, broken by a classical attack, is the standard reminder of why caution is warranted. Signatures move more slowly than key exchange, because they depend on public key infrastructure, certificate authorities and long-lived roots.

Hybrid modes carry a cost: handshakes grow by roughly one to two kilobytes, and implementations must handle two key shares correctly. Most guidance treats hybrid deployment as a transitional stage, after which pure post-quantum configurations may replace it once confidence in the new algorithms and their implementations has matured. Some national authorities recommend hybrid use permanently for high-assurance systems, while others accept standalone ML-KEM, so the target end state should be set by the applicable regulatory guidance for each sector.

Common pitfalls in PQC migration

  • Treating it as a library upgrade. Protocols, message formats, hardware and contracts change too.
  • Ignoring message size limits. Larger keys can exceed MTU, buffer or field limits and break older middleboxes.
  • Postponing until a deadline. Long data lifetimes mean exposure starts now, not when quantum hardware arrives.
  • Forgetting long-lived devices. Vehicles, meters and industrial controllers may need quantum-safe firmware signing before shipment.
  • Neglecting implementation security. Side-channel resistant, validated implementations matter as much as the algorithm choice.

Understanding it simply

Today, most online locks rely on math problems that ordinary computers cannot solve in any reasonable time. A large future quantum computer could solve some of them quickly, which would open those locks.

Quantum-safe migration means changing the locks before that happens. Because there are locks everywhere, in websites, phones, bank cards and machines, the job resembles rewiring an entire building while people still live in it. It takes years, so organizations start by finding every lock and replacing the most important ones first.

Applied in practice

A regional bank holds customer records that must remain confidential for at least 25 years. Its security team runs an inventory and finds classical key exchange in about 300 applications, two VPN platforms, a payment hardware security module and several vendor-hosted services.

Using data lifetime as the main criterion, the team first enables hybrid TLS key exchange on its public websites and internal service mesh, then requires post-quantum roadmaps from vendors in new contracts. Testing reveals that an older load balancer drops the larger handshake messages, so it is replaced during the next maintenance window.

After two years, long-lived customer traffic is protected against recorded-traffic attacks, while the migration of signatures and certificates continues under a separate plan tied to the bank’s certificate authority.