Cranes keep their own calendar: when autumn comes they gather in the wetlands and set off on their migration south. But some years the cold comes early, and then they don’t wait for the usual date: they leave when it’s time, even if it isn’t when they had planned.
Something like that has just happened with post-quantum cryptography. The migration had been calmly planned for years, with dates like 2030 or 2035 on the horizon, and yesterday the NSA published an advisory calling for an “immediate transition”. After the lattice news and age’s warning, this is the third day in a row I’m writing about it, but this time the cold really has arrived.
What the NSA said
The advisory, titled Immediate Actions to Push Toward Post-Quantum, is addressed to those who operate and supply US national security systems, and asks them to immediately accelerate the transition to post-quantum cryptography. The striking part is the reason: it cites discoveries that “frontier AI companies” have responsibly disclosed to the government and which, according to the text, affect the security of cryptographic systems in use today.
It comes with two statements:
- A joint one from the Office of the National Cyber Director, the NSA and CISA, aimed at the general public, saying these advances do not present “an immediate and widespread threat”.
- Another from Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle supporting the guidance and urging an accelerated migration to NIST’s post-quantum standards.
What the advisory doesn’t say is which company discovered what, or which specific algorithms are affected. And that’s where reading between the lines comes in.
Filippo Valsorda’s reading
Valsorda (the author of age, who was already asking people to replace their keys yesterday) has published an analysis of the advisory, hastily written by his own account, and his conclusion is blunt: 256-bit elliptic curves (P-256 and Curve25519, that is, X25519 and Ed25519) are likely broken or significantly weaker than we thought.
Where does he get that from? Mainly from two details:
- The advisory asks for an inventory of non-approved algorithms, and the list includes “elliptic curves other than P-384 or P-521” and EdDSA. In other words, it points at P-256 and Ed25519 by exclusion. RSA isn’t mentioned.
- It was disclosed by AI companies, not quantum computer makers. A quantum algorithm wouldn’t be a serious threat without a big leap in hardware, and nothing is said about that. That’s why he thinks it’s a classical attack, the kind that runs on ordinary computers.
It’s worth stressing: this is his interpretation, not something the NSA has confirmed. But it comes from someone who knows exactly what he’s talking about, and it fits what the advisory itself says. This is his summary:
| Algorithm | Status according to Valsorda |
|---|---|
| P-256, X25519, Ed25519 | Likely broken or significantly weakened |
| RSA 3072, P-384 | Fine as a stopgap, but attacks only get better |
| RSA 2048 | Only if there’s no other option, for legacy support |
| ML-KEM, ML-DSA | Doing fine; it’s what we need to move to, much sooner than planned |
On lattices, Valsorda says the result from the day before yesterday is purely theoretical and, if anything, should give us confidence: the labs are looking at ML-KEM and ML-DSA, and that’s the best they found.
There’s another detail I find revealing: the NSA, which had always discouraged hybrid schemes, now says explicitly that the X25519MLKEM768 hybrid key exchange can be used, because it’s what’s available everywhere. The rush must be serious for them to change position like that.
And a note of my own: if Curve25519 really is affected too, the problem has nothing to do with the old suspicion about the NIST curve seeds, because Curve25519 has no NSA seeds. It would be pure mathematics, not a backdoor.
What to do
The good news is that much of the work is already done, because post-quantum hybrids have been deployed for a while. Valsorda’s recipe, brought down to what we use every day:
TLS
Make your connections negotiate X25519MLKEM768. It’s what modern browsers already use, so the server side is the part to check. With OpenSSL 3.5 or later you can verify it:
openssl s_client -connect your-domain.example:443 -groups X25519MLKEM768 </dev/null 2>/dev/null | grep -i "group"
Certificates are slower going: get ready to rotate WebPKI certificates and update your TLS and ACME stack. In a private PKI, move to ML-DSA, or to RSA 3072 or P-384 if that isn’t possible yet.
SSH
There are two parts here. Key exchange has been post-quantum by default since OpenSSH 10.0, with mlkem768x25519-sha256. You can see what a connection negotiates with:
ssh -v user@server 2>&1 | grep "kex: algorithm"
Authentication is what’s missing. OpenSSH 10.6 enables the hybrid signature scheme ssh-mldsa44-ed25519, and also adds the WarnWeakCrypto option to the server, which logs clients using a key exchange that isn’t post-quantum. With 10.6, the new key is generated like this:
ssh-keygen -t mldsa44-ed25519
As a note of my own: before retiring your usual ed25519 keys, check that the servers and services you connect to already accept the new ones. The sensible thing is to keep both during the transition.
WireGuard
Jason Donenfeld has written to the WireGuard list to say they’re aware and he’s already working on a WireGuard v2. In the meantime, he reminds us that WireGuard has a 256-bit pre-shared key option: if you can share it over a secure offline channel, the tunnel’s security comes down to breaking a 256-bit ChaCha20 key, “which isn’t going to happen”, rather than any asymmetric primitive.
Generating it is one line:
wg genpsk > psk.key
And then it goes in the [Peer] section on both ends:
[Peer]
PublicKey = ...
PresharedKey = <contents of psk.key>
He also admits, quite frankly, that designing something as elegant with today’s post-quantum primitives won’t be easy: elliptic curves were in a very comfortable sweet spot, and it’s time to move on from it.
age and everything else
If you use age, yesterday’s article still applies, now with more reason. And for everything else, the usual advice, which weighs more than ever today: make sure you can update things. Taking an inventory of which algorithms each system uses is the first step the NSA itself asks for.
What I take away
There are two readings, and both are true at once. The reassuring one: there’s no “immediate and widespread” threat, nobody is decrypting the internet this afternoon, and the post-quantum migration was already under way. The uncomfortable one: AI models have found something serious enough for the NSA and eight of the biggest companies in the industry to ask, all at once, for everyone to hurry, and the warning has arrived before the technical details.
Cranes don’t know exactly when the frost will come, but when the sky changes they don’t stay to check. Cryptography is the same: the plan already existed, now it’s just a matter of bringing forward the departure date.




