Start Quantum Safe Encryption Now Before It's Too Late
In this article
If you're not working on quantum safe encryption now, it's already too late because quantum computers capable of breaking current public-key cryptography are expected within the next decade, and data harvested today could be decrypted in the future. Begin by inventorying your cryptographic assets, prioritizing long-term sensitive data, and planning a migration to NIST-standardized post-quantum algorithms.
What You'll Need
- Access to your organization's cryptographic inventory (certificates, keys, protocols in use)
- Knowledge of systems using RSA, ECC, or Diffie-Hellman key exchange
- Ability to test and deploy updated cryptographic libraries (e.g., OpenSSL, BoringSSL, or language-specific SDKs)
- Stakeholder buy-in for a multi-year migration effort
- Monitoring tools to detect cryptographic usage in applications and infrastructure
Step-by-Step
- Create a complete inventory of all cryptographic assets: list every certificate, private key, and protocol (TLS, SSH, IPsec, code signing, etc.) in use across servers, applications, and devices. Include metadata like validity period, key size, and algorithm (e.g., RSA 2048, ECDSA P-256).
- Classify data by sensitivity and retention period: identify information that must remain confidential for 10+ years (e.g., healthcare records, state secrets, financial transactions, intellectual property). This data is most at risk from harvest-now, decrypt-later attacks.
- Prioritize systems protecting long-term sensitive data for early migration. Focus first on TLS 1.2/1.3 endpoints, code signing pipelines, and digital identity systems.
- Select NIST-post-quantum cryptography (PQC) finalists for testing: CRYSTALS-Kyber for key encapsulation and CRYSTALS-Dilithium for digital signatures. These are standardized as FIPS 203 and FIPS 204.
- Test hybrid cryptography in non-production environments: deploy TLS with both classical (ECDHE) and Kyber key exchange, or combine ECDSA and Dilithium signatures. This ensures backward compatibility during transition.
- Update cryptographic libraries to versions supporting PQC: OpenSSL 3.0+ with OQS provider, BoringSSL with PQC patches, or AWS-LC. Verify library integrity and provenance before deployment.
- Generate and manage PQC keys securely: use HSMs or cloud KMS that support Kyber and Dilithium. Establish key lifecycle processes (generation, storage, rotation, destruction) aligned with NIST SP 800-57.
- Deploy hybrid TLS internally first: enable Kyber+ECDHE on internal services, monitor for interoperability issues with clients, load balancers, and proxies. Log cipher suite negotiations to detect failures.
- Extend hybrid TLS to external-facing services after successful internal testing. Update server configurations to advertise hybrid cipher suites (e.g., TLS_AES_256_GCM_SHA384 with KYBER) while retaining classical fallbacks.
- Migrate code signing and digital signatures: begin using Dilithium-signed artifacts alongside ECDSA signatures. Update verification systems to validate both.
- Retire classical algorithms only after full PQC deployment and verification: disable RSA and ECC in TLS configurations, certificate policies, and application code. Maintain audit logs of cryptographic usage.
- Establish crypto-agility: design systems to update algorithms without recompilation or downtime. Use configuration-driven cryptography and abstract key management interfaces.
Common Mistakes
- Focusing only on TLS while ignoring code signing, document signing, or legacy protocols like SSHv1 or IPsec with RSA keys.
- Assuming hybrid cryptography doubles performance overhead; in reality, Kyber adds ~1-2ms latency in TLS handshakes, which is acceptable for most applications.
- Delaying action because PQC standards are "not final"—NIST FIPS 203 and 204 are final standards as of 2024, and hybrid approaches mitigate algorithmic risk.
- Overlooking device constraints: IoT endpoints may lack memory or processing power for PQC; plan for hardware upgrades or gateway-based offloading.
- Failing to involve legal and compliance teams early: data retention laws may mandate specific cryptographic protections for archived data.
Tips
- Use the NSA's CNSA 2.0 suite as a reference for government-related systems: it mandates Kyber and Dilithium for national security systems by 2030.
- Leverage cloud provider PQC experiments: AWS, Azure, and Google Cloud offer test environments for hybrid TLS and PQC KMS integration.
- Join industry groups like the PQC Migration Task Force (ETSI) or the Quantum-Safe Security Working Group (ISO/IEC) for guidance and threat intelligence.
- Automate cryptographic inventory with tools like HashiCorp Vault's secrets scanning, Tenable's crypto discovery, or open-source solutions like CryptoLI.
- Document your migration plan in a Cryptographic Bill of Materials (CBOM) format to support transparency and auditing.
Troubleshooting
- If TLS handshakes fail after enabling Kyber: check client library support. Older OpenSSL versions (<3.0) or patched systems without OQS provider will not recognize Kyber cipher suites. Update clients or retain classical fallback.
- If certificate validation fails for Dilithium-signed code: verify that the verification library (e.g., OpenSSL, WolfSSL, or language SDK) implements FIPS 204. Some libraries require explicit enabling of post-quantum signature verification.
- If performance degrades significantly: measure handshake latency before and after. Kyber-768 adds ~0.5-1.5ms; if higher, check for software-only implementations or missing hardware acceleration.
- If devices fail to connect: IoT or embedded systems may lack entropy sources or stack space for PQC. Consider using a TLS gateway that terminates classical connections and re-encrypts with PQC upstream.
- If audit logs show continued RSA/ECC use: search for hardcoded cryptographic constants, legacy configuration files, or third-party libraries with outdated dependencies. Update or replace them.
Frequently Asked Questions
Is quantum safe encryption only for governments and militaries?
No. Any organization storing data with long-term confidentiality needs—such as personal health information, financial records, or trade secrets—is at risk from harvest-now, decrypt-later attacks.
Can I use quantum key distribution (QKD) instead of post-quantum cryptography?
QKD requires specialized hardware and fiber-optic infrastructure, making it impractical for most use cases. Post-quantum cryptography works over existing networks and is the recommended approach by NIST and NSA.
How long will hybrid cryptography be needed?
At least 5-7 years during migration, possibly longer for legacy systems. Hybrid mode ensures security even if one algorithm (classical or quantum-resistant) is later broken.
What if NIST selects different algorithms in the future?
Design for crypto-agility: isolate cryptographic dependencies so algorithms can be swapped via configuration. This minimizes rework when standards evolve.