What to Make of the NSA Advisory
586 points - yesterday at 7:24 PM
SourceComments
This is not true. RSA is still allowed temporarily, but only with a size of at least 3072-bit.
Moreover, "starting in 2027, no new product for NSS should have a burned-in root of trust relying on a non-quantum-resistant primitive".
Also: "by the end of 2030, all available devices should fully support quantum-resistant algorithms".
Therefore, after the New Year new products should not use RSA in root certificates, and by the end of 2030 the use of RSA and elliptic curves in non-hybrid algorithms should be discontinued.
Among the non-public-key algorithms, only 3 are permitted: AES-256, SHA-384 and SHA-512. Older or weaker algorithms are deprecated.
There is an exception for the digital signatures specified in NIST SP 800-208, inside which SHA-256 and SHA-192 are allowed, but these smaller hashes are not permitted for general usage.
It is notable that SHA3 is not among the algorithms permitted by the "Commercial National Security Algorithm Suite 2" promoted by NSA, despite being significantly stronger than SHA-512 and SHA-384.
Unlike with many other algorithms that are mentioned and about which it is said that there are no plans to include them among the algorithms that are allowed for owners and operators of "National Security Systems", for SHA3 it is said that even if NSA currently has no plans to allow the use of SHA3, "it would be prudent from a cryptographic agility perspective for NSS customers to have larger versions of SHA-3/SHAKE available in FIPS 140 validated products", which appears to imply that they might reconsider this decision in the future.
1. TLS 2. Hardware ssh keys
TLS -> we can configure X25519MLKEM768 for key exchange, but Let's Encrypt doesn't offer PQ auth yet. Should we switch to RSA 4096?
SSH -> there aren't any commercially available hardware keys that support ML-DSA or a hybrid
Seems kind of like shouting fire in a crowded room with no fire escapes, fire alarm pulls, or sprinklers. We just have to wait for the firefighters to come?
If there was a 384-bit version of Curve25519 that was excluded, or if RSA-2048 was back on the menu I would agree that there's something to worry about, but this analysis might have been too clever for its own good.
[1] "CNSSP 15" from https://www.cnss.gov/CNSS/issuances/Policies.cfm
If you'd like to see that, you might want to upvote this issue: https://github.com/orgs/community/discussions/214623
To generate such a key, assuming you have a new enough OpenSSH, the type string is:
ssh-keygen -t mldsa44-ed25519Moving to MLKEM768-X25519 hybrids for key exchange as soon as possible and building in agility for authorisation.
I wonder if we'll find ourselves in a world where every algorithm has fallen except RSA. We really don't know which one will fall first or which ones will never fall.
What are they doing?
You can override it back in your ~/.ssh/config with
Host *
KexAlgorithms ^mlkem768x25519-sha256My macbook is running OpenSSH 10.5 which already supports hybrid mlkem268x25519-sha256 BUT Apple's stock /etc/ssh/crypto.conf puts ecdh-sha2-nistp256 ahead of it(!)
Putting the following stanze at the top of your ~/.ssh/config fixes this issue:
Host *
KexAlgorithms ^mlkem768x25519-sha256
Ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctrIsn't that what bitcoin uses to sign all transactions?
Can we stop with this false rumor spreading? The NSA did NOT say any of the above.
Edit: I can see somewhat how the OP (an expert) infers this, but this kind of statement is reminiscient of another author's recent "labs may be sitting on factoring in P"-claim which spread like wildfire and is nothing but pure rumor.
- ed25519 signatures could be practically forged from public keys;
- most modern Linux distros default to it when generating keys;
- GitHub publishes all user keys in https://github.com/[username].keys
the potential adversary would have RW-access to very many repos?
Or do we just wait to see if the Satoshi wallets vanish into NSA coffers?
Their focus on don’t use ed25519 seems mostly about “hey we never approved it as our standard” not some new signal that it’s newly vulnerable (the risk appears to be unchanged, a full Shor capable QC).
Can someone clarify this for me? What am I missing? Where is the info signal that ed25519 is more vulnerable now than ~one month ago?
It’s also kind of comical that we do not actually have a “safe” (ie both resistant to Anthropic’s new attack and quantum resistant) authentication protocol (ie way to make SSH keys) that is actually implemented in mainline OpenSSH.
I am completely unconvinced that by 2030 we'll have anything near a CRQC.
Genuine question: Is NSA immune to influence from the current administration? Because every other 3-letter agency appears to be bending to the administration's will, one way or another.
NSA surely has more street cred than any other agency with the open source tools they have released, but still...
</tinfoil_hat>
The problem is that my rationale for sticking with RSA (it’s a simple math equation we understand very well) doesn’t extend to any of the PQ alternatives. Funny NSA seems to (maybe) similarly feel about RSA as I do.
How would that help anything?
If the method to crack key exchange appears in 2030, but it takes 6 months of contemporaneous compute to crack, they have to decide whether they get more bang for their buck out of cracking a single pre-PFS static RSA key and getting more, older traffic, or cracking a recent, but possibly important ephemeral exchange for a single flow.
Then, imagine the same scenario except it takes seconds to recover keys and decrypt. Everything pre-PQC is now at risk. Game out whether exposure of 100% of your traffic 5 years ago, but only 1% of data 6 months ago could cause you harm. A weekly rotated secret is useless months later, but that e-mail requesting a $25 million donation to your construction project in exchange for your approval to sell product to China might come back to bite you. However, this is only limited to the recorded data if everyone manages to adopt PQC for authentication by 2030. Tick tock...
Now, imagine the worst-case scenario. The method appears June 1st, 2027 and it requires seconds either on existing compute farms or modest quantum hardware. "The 2025 State of Post-Quantum Cryptography (PQC) on the Web"[1] said 8.6% of the top 1M sites support PQC, and only 3% of banking sites. On December 1st, 2026, Cloudflare reported roughly 73% of human web traffic reaching them uses hybrid PQC key exchange.[2] However, PQC adoption for authentication is near zero. Authentication would collapse as adversaries forge certificates and MITM traffic. We get SETEC ASTRONOMY, except Cosmo won (and he might know what you did last summer, too).
So, this does not mean the NSA knows Anthropic broke RSA, or OpenAI is preparing to drain all your Bitcoin wallets, or whatever other nonsense. The NSA is literally doing their job, advising to adopt PQC now so that when nation-states or hackers attempt to wreak havoc, the blast radius is as small as possible.
[1]: https://www.f5.com/labs/articles/the-state-of-pqc-on-the-web
Tao Teh Ching ch. 27
The current solution is just shrugging shoulders.
I guess crypto agility was not such a bad idea after all?
But for discussion, lets go with it--
> The NSA wants you to move to PQC in such a rush that it’s saying explicitly, against all its previous recommendations, that you can use the X25519MLKEM768 hybrid key exchange since it’s the most widely available solution. (I think this is commendable policy, it lends credence to their previous anti-hybrid position being a simplicity expedient, and should probably lead to some retrospective about a lot of FUD from certain parties
How's that follow? NSA has stridently worked against hybrids ... and now that __per-the author's conclusions__ the 256 bit ECC schemes are broken, they're suddenly OKAY with it and somehow this means they weren't previously opposing hybrids in order to make systems easier to attack?
Seems to me that the logic would go the other way: if they became okay with it only once it was broken it suggests that their opposition was to avoid the inclusion of a strong component.
But I don't buy the premise that this communication necessarily tells us anything about the security of any cryptosystem.
I think it's also a missed opportunity to advocate for diverse hybrids-- in plenty of cryptosystems there is essentially no material performance consideration. I don't care if my rekeyed-once-a-day VPN tunnel to home spends 1 second of cpu time.
For that it would be just fine to use E-521 + RSA-8192-KEM + FrodoKEM-1344 + mceliece8192128 + preshared. -- the bandwidth and compute costs are irrelevant for such an application but it would be very good to not have to go rush out to upgrade things when there is some mathematical advance against a particular hard problem.
Interesting, OpenBSD standardized OpenSSH on Ed25519. But I think I saw they added a new encryption.
Me, I take this as an advisory for people to do over the following year or maybe 2.