Post-quantum is not a future problem. Here's what to do now.
The NSA advisory is a schedule change, not a sudden break. Here is what we would do first, what we would leave alone, and how to tell whether your own repository is exposed.
Our position
The urgent problem is public-key cryptography used for key exchange and long-lived signatures. The non-urgent problem is symmetric cryptography at current sizes. If you protect data for years, start now. If you protect one-hour sessions, fix the inventory and the agility before you touch algorithms. We do not claim post-quantum safety, and we will not sell you a green checkmark for changing one library.
“NSA advises National Security Systems (NSS) owners, operators, and vendors to immediately accelerate the transition to post-quantum cryptography (PQC).”
— National Security Agency, 2 December 2026
That is a schedule change for government systems, not a break announcement. For a commercial product, the useful question is not what the news said; it is which keys protect data that must stay secret for years.
Every guide here starts from at least one public scan. If we cannot show the report, we do not publish the claim.
Public key first
RSA, ECDH, ECDSA and Ed25519 need replacement. A larger RSA key does not fix Shor's algorithm.
Hybrid TLS now
X25519 with ML-KEM protects new sessions from being recorded and decrypted later. Turn it on at the edge.
Signatures are a verifier problem
ML-DSA is standardized. Your browser, CLI and customers also have to verify it before you can drop the old signature.
What Shor breaks, and what Grover does not
Most of the panic misses the distinction. A quantum computer does not break AES-256 in any practical sense. It breaks the public-key arithmetic that protects the key exchange and the signatures. Those are different problems with different deadlines.
Shor's algorithm solves integer factoring and discrete logarithms. That is the arithmetic under RSA, Diffie-Hellman, ECDH, ECDSA and Ed25519. A bigger RSA key buys linear work for the attacker; Shor scales polynomially. Replacing the algorithm is the fix, not adding key length.
Grover's algorithm gives a quadratic speedup for unstructured search. AES-256 still has about 128 bits of security in that model. SHA-256 preimage resistance is still about 128 bits. Those are not the emergency, and a home-made "quantum-resistant" cipher is worse than AES-256.
| Primitive | Quantum effect | What to do |
|---|---|---|
| RSA, DH, ECDH, ECDSA, Ed25519 | Shor breaks the hard problem | Replace with ML-KEM, ML-DSA or a hybrid; inventory every key first |
| AES-128 | Grover gives about 64-bit security | Move to AES-256 where the protocol allows it |
| AES-256 | Grover gives about 128-bit security | Keep it; this is not the urgent part |
| SHA-256 | Grover gives about 128-bit preimage security | Keep it; migrate only with a library upgrade |
| HMAC-SHA256 | Key search is still about 128-bit | Keep it with strong keys and key separation |
Harvest now, decrypt later is the real deadline
A recorder does not need to decrypt your traffic today. It can store it and wait. That turns confidentiality lifetime into the deadline: data that must stay secret for ten years is exposed if the key exchange is classical. A session token that expires in an hour is a smaller problem.
Signatures are different. A quantum computer does not retroactively decrypt a signed document. It can forge a new signature under a classical key. The risk is future verification and trust: firmware, release artifacts, long-lived certificates and legal documents. That is why signing migration is about the verifier ecosystem, not just your signer.
| What you protect | Lifetime | First move |
|---|---|---|
| Session tokens and request traffic | Minutes to hours | Hybrid TLS at the edge; keep token lifetimes short |
| Customer data, source, credentials | Years | Hybrid TLS, then review where the data rests and who holds the keys |
| Backups and archives | Years to decades | AES-256 at rest; plan key-wrapping migration |
| Firmware and release artifacts | Years | Dual-sign; plan ML-DSA and a verifier path |
| Legal and long-lived documents | Decades | Dual-sign; record the algorithm and the verifier with the document |
The migration order we would use
- Inventory before you rewrite. You cannot migrate what you cannot name. List the algorithms, libraries, key owners, protocols, data lifetimes and verifiers. Record the package and version, not just the service.
- Turn on hybrid key exchange at the edge. A TLS 1.3 hybrid group combines classical X25519 with ML-KEM. A recorder cannot tell which group protected a session, so new traffic is protected against store-now-decrypt-later even before every client supports the hybrid. Enable it at the terminator and in service-to-service links.
- Plan signatures around verifiers. ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) are standardized. Browser, CA and customer support is uneven. Run dual signatures: classical for old verifiers, post-quantum for new ones. Do not switch off the old path until every verifier you care about can check the new one.
- Fix application tokens. RS256 is RSA. ES256 is ECDSA. Both are quantum-vulnerable. Short-lived tokens are lower priority than long-lived signing keys, but the algorithm should be configuration, not a constant.
- Leave AES-256 alone. At rest, the work is key wrapping, HSM support and crypto agility, not replacing AES. Do not let a migration project turn into a cipher rewrite.
- Make the algorithm data. Algorithm identifiers, key sizes, providers and certificate chains belong in configuration. A hard-coded RS256 or a pinned curve is a migration blocker you will meet again.
We put a report behind the advice.
Most crypto guidance stops at a headline. This one comes with a public scan you can open.
One authentication path. Three weak-hash findings.
The report names the exact files and lines. We are not asking you to trust a summary; open it and read the same rows. This is a weak-hash control gap, not a post-quantum finding. It is the level of evidence we bring to a migration: a report you can inspect, not a checklist you have to believe.
A 30-minute exposure inventory
Do this before you buy a product or open a migration ticket. The output is a short table your team can argue about, not a certification.
| Find | Where to look | Record |
|---|---|---|
| Public-key libraries | cryptography, pyjwt, jose, java.security, crypto/rsa, openssl, ring, rustls, jsonwebtoken | Package, version, algorithm, owner |
| Certificates | Your TLS terminator, service mesh, internal CA, client certificates | Signature algorithm, public-key algorithm, expiry, verifier |
| Key exchange | CDN, load balancer, reverse proxy, database drivers, message brokers | Group, hybrid enabled, who terminates |
| Tokens | OIDC, OAuth, internal JWTs, webhook signatures | Algorithm, lifetime, issuer, verifier |
| Signed artifacts | Firmware, releases, containers, packages, update manifests | Signer, algorithm, verifier, retention |
| Data lifetime | Product, legal, backups, analytics, support exports | Years, owner, storage, deletion path |
Two commands give you a fast start. The TLS output varies by OpenSSL version, so read the negotiated group and the certificate signature, not just the cipher name:
openssl s_client -connect example.com:443 -servername example.com -brief </dev/null
openssl x509 -in cert.pem -noout -text | grep -E "Signature Algorithm|Public Key Algorithm|Not After"
For source, search for the algorithm names you actually ship, then follow the call to the verifier:
rg -n "RS256|ES256|Ed25519|X25519|RSA|ECDSA|ML-KEM|ML-DSA" .
What AuditScan will and will not claim
We build the checks, so we separate what we measured from what we believe. That is the only reason to trust a report from us instead of a news summary.
- We show the files we read, the algorithms we found, the rule that fired and the engine version that produced it. If a file was skipped, it is named or counted.
- We label a post-quantum inventory row a review candidate, not a vulnerability. Using RSA is not a bug; it is a migration decision with a deadline.
- We do not claim a repository is post-quantum safe because it uses ML-KEM somewhere. Safety depends on the whole path: key exchange, signatures, key storage, verification and update.
- Today,
C-CRYPTOchecks weak hashes, cipher modes and key sizes. It does not yet list every RSA, ECDSA or Ed25519 use as quantum-vulnerable, and it does not inspect your deployed TLS configuration. That is a gap, and we say so. - A clean
C-CRYPTOresult is not a post-quantum readiness statement. It means no weak-algorithm pattern was found in the files we read.
When we ship a post-quantum inventory, it will show the algorithm, the file, the call path and the data lifetime you gave us. It will not call the repository safe. A tool that promises safety from a static read is lying to you.
What not to do
- Do not replace AES-256 or SHA-256 in a hurry. They are not the weak link at current sizes. A rushed home-made construction is worse than the algorithm you have.
- Do not invent cryptography. Use the standardised primitives: ML-KEM (FIPS 203), ML-DSA (FIPS 204), SLH-DSA (FIPS 205).
- Do not rotate every key because of a headline. Rotation has an operational cost and can break verification. Wait for a named primitive, a vendor advisory, or a demonstrated attack.
- Do not confuse confidentiality with signatures. Harvest-now-decrypt-later is a key-exchange problem. A signature migration is a verifier problem. They have different schedules.
- Do not accept "quantum-safe" as a label. Ask which primitive, which verifier, which data lifetime and which failure mode. If the answer is a sticker, keep your budget.
Questions we get
Does a quantum computer break AES-256?
No practical break. Grover's algorithm gives a quadratic speedup, so a 256-bit symmetric key still has about 128 bits of security. AES-256 is not the urgent part of a post-quantum migration.
Is TLS 1.3 enough to protect against a quantum computer?
Not by itself. TLS 1.3 with a classical ECDHE key exchange is still vulnerable to harvest-now-decrypt-later. You need a hybrid group such as X25519 with ML-KEM enabled at the terminator and supported by the client.
Should I replace Ed25519 now?
For short-lived session tokens, not urgently. For long-lived signatures such as firmware, releases or legal documents, plan a dual-signature period with ML-DSA and keep the classical verifier until every consumer can check the new signature.
What is harvest now, decrypt later?
An adversary records encrypted traffic today and waits until a cryptographically relevant quantum computer can recover the session key. The confidentiality lifetime of the data, not the date of the quantum computer, sets your migration deadline.
How long do I have to migrate?
It depends on how long the data must stay secret. CNSA 2.0 sets 2030 for networking and 2033 for exclusive use in National Security Systems. Commercial systems with long-lived secrets should inventory now and move key exchange earlier.
Does AuditScan detect quantum-vulnerable cryptography?
C-CRYPTO flags weak hashes, cipher modes and short keys. AuditScan does not yet label every RSA, ECDSA or Ed25519 use as quantum-vulnerable, and it does not inspect a deployed TLS configuration. A clean C-CRYPTO result is not a post-quantum readiness statement.
Bottom line
The advisory is a schedule, not a break. Inventory the public-key path, turn on hybrid key exchange, plan signatures around verifiers, and leave AES-256 alone. That is the whole plan. The rest is procurement.
