The Curves Under Your Stack: What the NSA's Post-Quantum Warning Means Now

On 2 December, the National Security Agency told the operators of America's most sensitive networks to "immediately accelerate" their move to post-quantum cryptography. Taken alone, that would have been routine. Washington has been pushing agencies toward new encryption for years.
A second statement made the day different. Issued jointly by the NSA, CISA and the White House's Office of the National Cyber Director, it said AI companies had disclosed "recent discoveries that impact the security of some cryptographic systems currently in use."
For most of the past decade, the case for replacing our encryption rested on a machine that does not exist yet: a quantum computer big enough to break today's public-key algorithms. This time the trigger is not hypothetical hardware. AI systems have found something now, in the mathematics that protects the internet as it runs today.
This article covers what is actually known, where the exposed algorithms sit in an ordinary stack (TLS, SSH, VPNs, tokens) and what to change first.
What we know, and what we're inferring
Officially, this is not an emergency. The joint statement says the advances "do not present an immediate and widespread threat to that cryptography."
It is not a reason to wait, either. "Organizations must prioritize the transition to PQC before outdated systems can be exploited," the NSA wrote. The agency added that adversaries are "already collecting encrypted information to decrypt once the capabilities become available." In other words, traffic sent today could be read later.
Neither document names an algorithm. Neither says which systems are affected, or how close the findings are to a working attack.
The best public reading so far comes from the cryptographer Filippo Valsorda. He compared what the guidance approves with what it leaves out. His conclusion: 256-bit elliptic curves, meaning P-256 and Curve25519 (and so X25519 and Ed25519), are "likely broken or significantly weaker than we thought." He points to a classical attack, not a quantum one.
RSA and P-384 are not called out, and look like the stopgap. The post-quantum standards, ML-KEM and ML-DSA, are not in question. Valsorda is clear that this is his interpretation, not a disclosure. We think it is the right assumption to plan around.
Two different risks
If 256-bit curves are weaker than we thought, the damage comes in two forms. Each needs a different response.
The first is recorded traffic. If a key exchange can be broken later, everything sent under it can be read later. This risk works backwards in time: what you sent last year is either already on someone's disk or it isn't. The fix from here on is a key exchange that does not depend on the curve alone.
The second is forgery. If a private key can be worked out from its public key, an attacker can act as the owner of that key. They can present your site's certificate, log in as your administrator or sign your next release. Forgery does not reach back in time. You fix it by replacing keys before the attack becomes practical. But the attack needs only the public key, and public keys are often public by design.
Where 256-bit curves sit in your stack
TLS key exchange
Most HTTPS connections agree on their session keys using X25519 or P-256 (ECDHE). That makes them a recorded-traffic risk. The good news is that the fix already exists and is in use. The hybrid group X25519MLKEM768 stays secure as long as either half holds.
Current Chrome, Firefox and Safari offer it. Go has enabled it by default since 1.24, and OpenSSL supports it from 3.5. The gap is everything else. Servers on older libraries still negotiate the curve alone. So does every client that isn't a current browser: scripts, integrations and, on many machines, the system curl.
TLS certificates
A large share of certificates use ECDSA P-256 keys, because that is what most ACME clients create by default. Here the risk is forgery. Whoever holds the private key can impersonate the site to anyone whose traffic they can intercept.
Until post-quantum certificates are issued publicly, the interim choices are P-384 or RSA at 3072 bits and up. Short lifetimes help: a 90-day certificate is replaced at its next renewal.
SSH key exchange
OpenSSH has shipped a hybrid key exchange since 9.0 (sntrup761x25519-sha512) and a second since 9.9 (mlkem768x25519-sha256). It prefers them by default. But defaults can be overridden.
On the Macs we checked, running macOS 26 and 27, Apple ships /etc/ssh/crypto/apple.conf with KexAlgorithms ^ecdh-sha2-nistp256. That line moves P-256 to the front of the list. Until we changed it, every session from those machines agreed its keys over P-256 alone. That included git over SSH to our code host.
SSH keys
Most SSH keys made in the last ten years are Ed25519, for users and hosts alike. Here the forgery risk is at its most direct, for two reasons.
First, once a private key can be derived, a user's public key is enough to log in as them. Second, those public keys are not secret. Code hosts publish every account's SSH keys at a public address. If the key you use for your code host is also in a server's authorized_keys, that server's login is one computation away from anyone.
Host keys carry the mirror-image risk. A forged host key lets an attacker sit between you and your server.
VPNs
WireGuard uses Curve25519 for its handshake. It also supports an optional pre-shared key that is mixed into every handshake. Set one on every peer, and recorded traffic and logins stay protected by a 256-bit symmetric secret even if the curve falls. Without it, the tunnel is only as strong as the curve.
Tokens, passkeys and signatures
JWTs signed with ES256 or EdDSA all rest on the same curves. So do passkeys (P-256 by default on most devices), signed commits and release signatures. Tokens signed with HS256 are symmetric and are not affected. RS256 belongs to the stopgap family.
DNSSEC and digital assets
Many DNSSEC zones are signed with P-256 (algorithm 13). Wallet keys on the major chains are secp256k1 or Ed25519. Nobody has said whether the findings extend to secp256k1. Anyone holding assets should ask their custodian how they read the advisory.
What isn't affected
Symmetric encryption and hashing are out of scope: AES-256, ChaCha20, SHA-2 and HMAC. That covers disk encryption, encrypted backups and keys derived from passwords.
How to check your own systems
You don't need special tools for this. A handful of commands will tell you where you stand.
TLS on your servers. With OpenSSL 3.5 or newer, run:
openssl s_client -connect example.com:443 -groups X25519MLKEM768 -brief
A line reading Negotiated TLS1.3 group: X25519MLKEM768 means the hybrid is on. The Signature type line shows the certificate's key family.
TLS from your clients. Fetch https://pq.cloudflareresearch.com/cdn-cgi/trace with each tool you use, and read the kex= line. When we tried it, Node 26 and a current curl were on the hybrid. The operating system's own curl was on plain X25519.
SSH. This shows what a session really negotiated:
ssh -v host true 2>&1 | grep "kex: algorithm"
And this shows the order your client offers:
ssh -G host | grep -i kexalgorithms
Keys. On each server, ssh-keygen -l -f ~/.ssh/authorized_keys lists the type of every key that can log in. Compare them with the keys your code host publishes for your account.
VPN. Run wg show all preshared-keys on each peer. Every line should hold a key, not (none).
What to change, and in what order
The order matters. The first steps are cheap and break nothing. The later ones take planning.
- Turn on hybrid key exchange everywhere it's available, and put it first. That means TLS on your servers, and SSH on clients and servers. No keys change, and nothing breaks for current clients.
- Close what doesn't need to be open. SSH reachable from the whole internet, guarded by keys that are published, is the shortest path in this whole picture. Put it behind a VPN or an address allowlist.
- Replace Ed25519 and P-256 keys used for logins and signatures. As an interim step, move to RSA 3072 or larger, or to P-384, and keep a separate key for your code host. OpenSSH 10.6 adds a hybrid ML-DSA key type; move to it as it reaches your systems.
- Reissue certificates on P-384 or RSA, and follow your certificate authority's plans for post-quantum chains.
- Rotate long-lived secrets that crossed a classical connection, such as API keys and tokens that never expire.
- Measure before you refuse old clients. Log the negotiated key exchange for each request for a week, then decide what to turn off.
What we did this week
ProductShop builds and runs software for its clients, so we started with our own systems. In one day, we inventoried every use of encryption on every host.
Every site we host already negotiates X25519MLKEM768 with clients that offer it. We changed the SSH preference on our machines so that sessions and git traffic use the hybrid. Next on our list is replacing login keys and certificates with the interim types.
The bigger lesson
AI systems are now finding weaknesses in mathematics that people trusted for decades. It will happen again. The organisations that handle it well will be the ones that know what they run and can change it quickly.
If you'd like us to check your systems, get in touch.
Sources
- NSA advisory, "Immediate Actions to Push Toward Post-Quantum," and the joint ONCD, NSA and CISA statement, 2 December 2026, as quoted by The Record and SecurityWeek.
- Filippo Valsorda, "The NSA advisory," 2 December 2026.