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.

Updated 3 Dec 2026 Reading time 9 min Maintained by AuditScan engineering
Cartoon: a developer says post-quantum is just a future problem while a quantum computer holds a key and says it will decrypt the safe data soon.
The data being recorded today is the deadline. The quantum computer does not have to exist yet.

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.

01

Public key first

RSA, ECDH, ECDSA and Ed25519 need replacement. A larger RSA key does not fix Shor's algorithm.

02

Hybrid TLS now

X25519 with ML-KEM protects new sessions from being recorded and decrypted later. Turn it on at the edge.

03

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.

PrimitiveQuantum effectWhat to do
RSA, DH, ECDH, ECDSA, Ed25519Shor breaks the hard problemReplace with ML-KEM, ML-DSA or a hybrid; inventory every key first
AES-128Grover gives about 64-bit securityMove to AES-256 where the protocol allows it
AES-256Grover gives about 128-bit securityKeep it; this is not the urgent part
SHA-256Grover gives about 128-bit preimage securityKeep it; migrate only with a library upgrade
HMAC-SHA256Key search is still about 128-bitKeep 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 protectLifetimeFirst move
Session tokens and request trafficMinutes to hoursHybrid TLS at the edge; keep token lifetimes short
Customer data, source, credentialsYearsHybrid TLS, then review where the data rests and who holds the keys
Backups and archivesYears to decadesAES-256 at rest; plan key-wrapping migration
Firmware and release artifactsYearsDual-sign; plan ML-DSA and a verifier path
Legal and long-lived documentsDecadesDual-sign; record the algorithm and the verifier with the document

The migration order we would use

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

Public report · psf/requests

One authentication path. Three weak-hash findings.

Open the public report
3weak-hash findings
1public report
C-CRYPTOcontrol that fired

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.

FindWhere to lookRecord
Public-key librariescryptography, pyjwt, jose, java.security, crypto/rsa, openssl, ring, rustls, jsonwebtokenPackage, version, algorithm, owner
CertificatesYour TLS terminator, service mesh, internal CA, client certificatesSignature algorithm, public-key algorithm, expiry, verifier
Key exchangeCDN, load balancer, reverse proxy, database drivers, message brokersGroup, hybrid enabled, who terminates
TokensOIDC, OAuth, internal JWTs, webhook signaturesAlgorithm, lifetime, issuer, verifier
Signed artifactsFirmware, releases, containers, packages, update manifestsSigner, algorithm, verifier, retention
Data lifetimeProduct, legal, backups, analytics, support exportsYears, 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.

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

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.