Crypto After Quantum: A Practical Guide to Post-Quantum Migration
Quantum computing is moving from research labs into engineering roadmaps. For security teams, the important question is not whether a cryptographically relevant quantum computer will arrive next year. It is whether your organization can replace its cryptographic foundations before the threat becomes practical. The migration to post-quantum cryptography is a multi-year program that touches TLS, VPNs, code signing, PKI, databases, backups, embedded devices, and supply chain contracts. This guide lays out a practical path from inventory to hybrid deployment to full post-quantum readiness.
Why Quantum Changes the Cryptography Game
Most of today’s internet security relies on public-key algorithms such as RSA, Diffie-Hellman, and elliptic curve cryptography. These systems are difficult to break with classical computers because they depend on problems like integer factorization and discrete logarithms. A sufficiently powerful quantum computer running Shor’s algorithm could solve those problems efficiently. That would break RSA, DSA, ECDSA, ECDH, and related schemes.
Symmetric cryptography is less exposed but not untouched. Grover’s algorithm provides a quadratic speedup for brute-force search. A 256-bit symmetric key would still offer roughly 128 bits of security against a quantum adversary, which is acceptable for most uses. The practical response for symmetric encryption is to use strong algorithms and larger keys, such as AES-256, and to keep hash functions modern. The hardest part is the public-key infrastructure that handles key exchange, authentication, and digital signatures.
The harvest-now-decrypt-later threat makes the timeline urgent. An adversary can record encrypted traffic today and store it until a quantum computer can decrypt it. Data with long confidentiality requirements, such as health records, legal documents, intellectual property, and government communications, is already at risk. Digital signatures face a different but equally serious problem. Signatures must remain trustworthy for years, and a quantum computer could forge them if the underlying algorithm is broken.
The Post-Quantum Toolbox
Post-quantum cryptography uses mathematical problems that are believed to resist both classical and quantum attacks. NIST has standardized the first set of algorithms, and the ecosystem is building around them.
- ML-KEM (based on Kyber) is a key encapsulation mechanism for key exchange. It is fast and relatively compact, making it a leading choice for TLS, VPNs, and messaging protocols.
- ML-DSA (based on Dilithium) is a digital signature algorithm for general authentication and code signing.
- SLH-DSA (based on SPHINCS+) is a stateless hash-based signature scheme. It is larger and slower than ML-DSA but relies only on hash functions, which gives it a conservative security profile.
- FN-DSA (based on FALCON) is another signature scheme with compact signatures but more complex implementation requirements.
- HQC is a code-based key encapsulation mechanism selected as a backup to ML-KEM, adding diversity to the key exchange portfolio.
- Stateful hash-based signatures such as LMS and XMSS are useful for firmware signing and long-lived devices where state management is feasible.
No single algorithm is perfect. Lattice-based schemes like ML-KEM and ML-DSA have strong performance but depend on newer hardness assumptions. Hash-based signatures are conservative but bulky. A robust migration uses algorithm diversity where it matters and avoids putting all trust in one mathematical family.
Crypto Agility Is the Real Prerequisite
You cannot migrate what you cannot find. The first barrier to post-quantum readiness is often not the algorithms. It is the lack of cryptographic visibility. Many organizations do not know where RSA, ECDSA, SHA-1, TLS 1.0, or hardcoded keys are used across applications, libraries, devices, and third-party services.
Crypto agility is the ability to replace cryptographic algorithms, keys, certificates, and protocols without redesigning the entire system. It is the difference between a six-month emergency project and a controlled rollback. Build agility before you need it.
- Inventory cryptography: Create a cryptographic bill of materials (CBOM) that records algorithms, key sizes, protocols, certificate authorities, and dependencies.
- Abstract crypto libraries: Avoid scattering direct calls to OpenSSL, Java crypto, or platform APIs throughout application code. Use internal wrappers or policy-driven libraries where possible.
- Centralize policy: Define approved algorithms and minimum key sizes in configuration or service mesh policy, not in tribal knowledge.
- Automate rotation: Key and certificate rotation should be routine, observable, and tested. Post-quantum migration will require faster and more complex rotation.
- Instrument telemetry: Log algorithm negotiation, handshake failures, certificate validation errors, and performance regressions. You need evidence that a change is safe.
Migration Strategy: Hybrid, Phased, Risk-Based
The transition will not be a single switch. A big-bang replacement of RSA and ECC across a large enterprise is unrealistic. Hybrid deployment is the practical bridge. Hybrid key exchange combines a classical algorithm such as X25519 with a post-quantum KEM such as ML-KEM. If one algorithm is broken, the other still protects the session. Hybrid signatures can combine classical and post-quantum signatures so that trust does not depend on a single scheme.
Risk-based prioritization matters. Not every system needs the same urgency. Start with data that has a long secrecy lifetime, internet-facing services, identity systems, software update channels, and anything that controls critical infrastructure. Then move to internal services, short-lived data, and legacy systems that can be isolated or retired.
A phased approach might look like this:
- Phase 0: Discover. Build the CBOM, classify data lifetimes, and identify vendors and protocols.
- Phase 1: Enable agility. Upgrade libraries, remove hardcoded algorithms, and standardize key management.
- Phase 2: Pilot. Deploy hybrid PQC in non-critical internal services and test performance, compatibility, and monitoring.
- Phase 3: Protect high-value paths. Enable hybrid key exchange for TLS, VPN, and secure messaging on external and sensitive systems.
- Phase 4: Expand signatures. Migrate code signing, PKI, document signing, and firmware update systems to post-quantum or composite signatures.
- Phase 5: Retire legacy crypto. Disable RSA, ECC, SHA-1, and weak protocols where they are no longer needed.
- Phase 6: Operate and reassess. Monitor standards, cryptographic research, and vendor support. Update the roadmap as the threat landscape changes.
Where Post-Quantum Migration Touches Your Stack
TLS and HTTPS
TLS is the most visible target. Modern browsers and CDNs are already experimenting with hybrid post-quantum key exchange. The goal is to negotiate ML-KEM alongside X25519 or another classical group. Certificate authentication also needs attention. Post-quantum certificates and composite certificates are larger, which can increase handshake size and cause fragmentation or timeout issues. Test carefully across load balancers, proxies, WAFs, and older clients.
VPN, SSH, and Network Tunnels
VPNs and SSH carry sensitive administrative and inter-site traffic. They often use long-lived keys and may be embedded in hardware appliances. Check vendor roadmaps for post-quantum support. Where possible, enable hybrid key exchange and plan for certificate or key replacement. For SSH, track support for post-quantum key exchange and signature algorithms. Do not assume that a firmware update alone solves the problem if the hardware cannot handle larger keys or higher CPU load.
Code Signing and Firmware Updates
Software supply chain attacks often target update mechanisms. If an attacker can forge a code-signing key with a quantum computer, they can distribute malicious updates that appear trusted. Migrate code-signing pipelines to post-quantum or composite signatures. For embedded devices, consider stateful hash-based signatures such as LMS or XMSS. They are conservative and well suited to firmware signing, but they require careful state management to avoid key reuse.
PKI and Certificate Authorities
Public key infrastructure is the trust backbone for TLS, email, VPNs, code signing, and device identity. Post-quantum migration means new certificate profiles, larger keys, new revocation strategies, and updated validation logic. Certificate authorities and enterprise PKI teams need to support composite certificates during the transition. Plan for root and intermediate CA rollover well in advance. Trust stores, HSMs, and certificate lifecycle tools must all be validated.
Databases, Backups, and Archival Data
Encryption at rest and backups often use symmetric encryption, which is less urgent than public-key cryptography. However, key wrapping and key exchange may use RSA or ECC. If archived data must remain confidential for decades, review the entire key management chain. Re-encrypting old data is expensive, so prioritize data with the longest retention requirements and the highest sensitivity.
Messaging, Identity, and APIs
OAuth, OpenID Connect, SAML, and API gateways rely on signatures and key exchange. Token signing keys may use RSA or ECDSA. Plan for post-quantum or composite signatures in identity providers and service meshes. For end-to-end encrypted messaging, protocol designers are already working on post-quantum ratchets and hybrid handshakes. Enterprise messaging platforms may lag, so include them in vendor risk assessments.
Performance, Size, and Operational Impact
Post-quantum algorithms are not drop-in replacements. They have different performance profiles and much larger public keys, signatures, and ciphertexts. ML-KEM is relatively efficient, but its keys and ciphertexts are still larger than elliptic curve equivalents. ML-DSA signatures are larger than ECDSA signatures. SLH-DSA signatures can be very large. These differences affect network bandwidth, storage, certificate chains, and user experience.
- Handshake size: Larger key shares and certificates can push TLS handshakes beyond initial TCP window sizes, increasing round trips and latency.
- CPU cost: Some PQC algorithms are fast, but others are slower. Benchmark on your actual hardware, including load balancers and HSMs.
- Memory and storage: Embedded devices and smart cards may not have room for larger keys or the CPU to verify many signatures.
- Fragmentation and MTU: Larger packets can cause fragmentation, dropped packets, or middlebox interference. Test across real networks.
- Certificate chain size: Composite certificates and PQC roots increase chain size. This can slow down mobile clients and IoT devices.
Performance testing should include worst-case scenarios: high connection churn, mobile networks, legacy clients, and constrained devices. Measure not only latency but also error rates, retries, and fallback behavior.
Governance, Compliance, and Supply Chain
Post-quantum migration is a governance problem as much as a technical one. Regulators and standards bodies are publishing guidance with different timelines. NIST standards provide the technical baseline. National security agencies may require specific algorithms or hybrid modes for classified or critical systems. Industry regulators may add their own requirements for financial services, healthcare, and energy.
Supply chain management is critical. Your security posture depends on vendors, open source libraries, cloud providers, and hardware manufacturers. Ask vendors for post-quantum roadmaps, support timelines, and crypto agility commitments. Include cryptographic inventory requirements in contracts. Request CBOMs or equivalent documentation for critical components. Track end-of-life dates for cryptographic libraries and devices that cannot be upgraded.
Open source dependencies deserve special attention. Many applications inherit cryptography from language runtimes, TLS libraries, and framework defaults. A vulnerability or migration gap in one widely used library can affect thousands of systems. Maintain an inventory of crypto-relevant dependencies and monitor their release notes for PQC support.
Common Pitfalls to Avoid
- Treating PQC as a TLS-only project. Signatures, PKI, code signing, VPNs, and embedded devices all need migration plans.
- Waiting for a final standard before starting. Standards are available, but crypto agility and inventory work can begin now.
- Assuming hybrid mode is free. Hybrid adds size and complexity. Test compatibility and performance.
- Ignoring legacy and embedded systems. Devices that cannot be upgraded may need network isolation, compensating controls, or replacement.
- Forgetting archived data. Harvest-now-decrypt-later means long-lived data needs earlier attention.
- Skipping monitoring. Without telemetry, you cannot detect negotiation failures or performance regressions.
- Relying on a single algorithm family. Diversity reduces the risk of an unexpected weakness in one mathematical approach.
A Practical First 90 Days
If you are starting today, do not begin by rewriting applications. Begin by creating visibility and momentum.
- Days 1 to 30: Identify executive sponsors, define scope, and inventory external-facing TLS endpoints. Collect certificate and protocol data from load balancers, CDNs, and API gateways.
- Days 31 to 60: Build a CBOM for critical applications and vendors. Classify data by confidentiality lifetime. Assess library and platform support for hybrid PQC.
- Days 61 to 90: Run a hybrid PQC pilot in a controlled environment. Measure handshake latency, CPU usage, error rates, and client compatibility. Document findings and propose a multi-year roadmap.
The Road Ahead
Post-quantum migration is not a one-time upgrade. It is a continuous discipline that combines cryptography, systems engineering, vendor management, and risk governance. The organizations that succeed will be those that build crypto agility early, migrate high-value data paths first, and treat cryptographic inventory as a living asset. Quantum computing may still be years away from breaking today’s cryptography, but the preparation window is open now. Start with visibility, move to hybrid deployment, and keep retiring legacy algorithms before they become liabilities.

