Post Quantum Security Migration: Step-by-Step Plan
In this article
Post-quantum security migration means replacing current cryptographic algorithms (like RSA, ECC, and Diffie-Hellman) with quantum-resistant alternatives before large-scale quantum computers can break them. This guide walks you through a practical, phased approach to inventory, assess, test, and deploy post-quantum cryptography (PQC) across your systems. You’ll need executive buy-in, a current asset inventory, and a basic understanding of your network architecture before starting.
What You'll Need
- An up-to-date inventory of all cryptographic assets (certificates, keys, protocols, libraries)
- Access to system administrators for each application or service
- A test environment that mirrors production (staging or sandbox)
- Cryptographic agility tools (e.g., key management systems, certificate lifecycle tools)
- Documentation of current encryption standards (TLS versions, signing algorithms, etc.)
- Budget for potential hardware upgrades or new software licenses
Step-by-Step
- Create a cryptographic asset inventory. List every system that uses encryption, signing, or key exchange. Include certificates, SSH keys, TLS configurations, code-signing keys, and embedded firmware. Use automated scanning tools (e.g., network scanners, certificate transparency logs) to supplement manual records.
- Classify assets by risk and sensitivity. Prioritize systems that protect long-term secrets (e.g., health records, financial data, government IDs) or that have long data lifetimes (e.g., archival storage). These are most vulnerable to “harvest now, decrypt later” attacks.
- Identify current algorithms and key sizes. For each asset, note the exact algorithm (RSA-2048, ECDSA P-256, etc.) and its usage (signing, encryption, key exchange). This determines which PQC algorithm to migrate to.
- Select post-quantum algorithms. Use NIST-approved standards: CRYSTALS-Kyber (now ML-KEM) for key encapsulation, CRYSTALS-Dilithium (ML-DSA) for digital signatures, and SPHINCS+ (SLH-DSA) as a hash-based fallback. For hybrid approaches, combine them with existing classical algorithms (e.g., X25519+ML-KEM) for backward compatibility.
- Update cryptographic libraries and dependencies. Ensure your software stack supports PQC. Upgrade OpenSSL, BoringSSL, Java Cryptography Extension, .NET, or other libraries to versions with PQC support. Check vendor patch notes for PQC readiness.
- Test in a staging environment. Deploy the new algorithms on a small, non-critical subset of systems. Verify interoperability between old and new systems, measure performance overhead (PQC keys and signatures are larger), and check for compatibility with legacy clients.
- Implement hybrid configurations first. For external-facing services (TLS, VPNs, email), enable hybrid key exchange (e.g., TLS 1.3 with X25519+ML-KEM) and hybrid signatures. This ensures that even if one algorithm is broken, the other still protects traffic.
- Rotate certificates and keys. Issue new certificates using PQC or hybrid algorithms. Update certificate authorities (CAs) to support PQC. For internal systems, generate new keys and replace them in your key management system.
- Migrate in phases by priority. Start with high-risk, high-value systems (e.g., authentication servers, VPN gateways). Then move to internal services, and finally to client-facing applications. Keep a rollback plan for each phase.
- Monitor and validate. After migration, continuously monitor for performance degradation, compatibility errors, or security alerts. Run penetration tests to confirm that PQC is correctly enforced and that no fallback to weak algorithms occurs.
- Update policies and training. Revise your cryptographic policy to mandate PQC for new systems. Train staff on key management for PQC (e.g., larger key sizes, different certificate formats).
- Plan for ongoing agility. Quantum computing is still evolving. Build a process to re-evaluate algorithms every 2-3 years and be ready to switch again if new attacks emerge.
Common Mistakes
- Waiting for quantum computers to arrive. By then, your data may already be stolen. Start migration now, especially for long-lived data.
- Assuming all algorithms are interchangeable. PQC algorithms have different key sizes, signature lengths, and performance profiles. You can’t just swap RSA for ML-KEM without adjusting protocols.
- Ignoring legacy clients. Older devices may not support PQC. Without hybrid modes, you’ll break connectivity.
- Skipping the inventory. You can’t protect what you don’t know exists. Shadow IT and forgotten embedded systems are common gaps.
- Migrating everything at once. A big-bang approach increases risk of outages. Phased migration is safer.
- Forgetting about data at rest. Encrypted backups and archives also need to be re-encrypted with PQC, not just network traffic.
Tips
- Start with hybrid algorithms now, even if you plan to drop classical later. It gives you immediate protection and a smoother transition.
- Use automated certificate management (like ACME) to reduce manual errors during the rotation.
- Leverage cloud providers’ PQC offerings where available—they often handle the heavy lifting.
- Document every change and keep a rollback script for each phase.
- Engage with standards bodies and vendor roadmaps to stay ahead of changes.
- For long-term data, consider re-encrypting with PQC even if the data is rarely accessed—harvest attacks target exactly that.
Troubleshooting
- Compatibility errors with legacy clients. Enable hybrid modes or provide fallback to classical algorithms for those clients, but log and plan to upgrade them.
- Performance degradation. PQC operations are slower and use more bandwidth. Optimize by using hardware acceleration (if available), reducing handshake frequency, or offloading to dedicated crypto processors.
- Certificate chain failures. Ensure your CA and intermediate certificates also use PQC or hybrid. If not, clients may reject the chain.
- Key management complexity. PQC keys are larger, so storage and backup systems may need capacity increases. Use a centralized key management system to avoid sprawl.
- Unexpected protocol limits. Some protocols (e.g., DNS, IoT) have size limits that PQC signatures exceed. Consider using hash-based signatures (SPHINCS+) for smaller footprints or redesign the protocol.
- If a migration phase fails, roll back immediately. Restore the previous configuration and re-assess the root cause before retrying.
Frequently Asked Questions
When will quantum computers break RSA?
No one knows for sure. Estimates range from 10 to 30 years, but the threat is urgent because data stolen today can be decrypted later. That’s why migration should start now.
Can I just use longer RSA keys?
No. Shor’s algorithm breaks RSA regardless of key length. You need entirely different mathematical problems (lattice-based, hash-based) that quantum computers cannot solve efficiently.
What is a hybrid PQC configuration?
It’s using both a classical algorithm (like X25519) and a PQC algorithm (like ML-KEM) together, so security holds if either one is broken. It provides backward compatibility during transition.
Do I need to replace all my certificates at once?
No. Prioritize certificates that protect long-term data or that are used for high-value authentication. Replace others over time as they expire.
Will PQC break my existing VPN or TLS connections?
Only if you force PQC-only without hybrid. With hybrid modes, most modern clients (browsers, OS) support it. Older devices may need patching or replacement.
How do I know if my vendor supports PQC?
Check vendor release notes and security advisories. Major cloud providers, OS vendors, and network equipment makers have published PQC roadmaps. If unsure, ask for a statement of support.