674 points · by jvdheyden · 9h ago · 203 comments
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.
> This is not true. RSA is still allowed temporarily, but only with a size of at least 3072-bit.
They are applying the CNSS Policy 15 here, which required that since 2016.
And NIST SP 800-131A Rev. 3 limited the use of RSA below 3K to 2030 already two years ago.
There is no clear indication that there are any concrete new threats to RSA.
If youre using SHA256 and AES128 you should absolutely be using something stronger.
And RSA as a whole has been a known problem for a while with a ton of footguns, which is why its use has been increasingly discouraged.
As for SHA3, I have always understood it to be merely a different construction (sponge?), not inherently stronger than SHA2 and not positioned as a successor.
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?
Last month they got funding for exactly this it seems: https://letsencrypt.org/2026/11/05/sta-pq-funding
You can use them with apps like Secretive https://secretive.dev
The secure enclave only supports ML-DSA-65 and 87 as far as I know, so it seems unlikely that Secretive will ever support mldsa44-ed25519, but maybe they will eventually agree on a hybrid.
FWIW if you missed the announcement, Yubico launched the PQC Yubikey beta program about a month ago [0]. Nitrokey at least seems to have it on their radar in various issues ala [1, 2] though without any clear timelines or same sense of urgency I can find. Still, hopefully that means we'll have at least one or two hardware keys/HSMs sooner vs later, and it does help light a fire well before (hopefully) zero day which of course is supposed to be the point.
>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?
No, this is shouting that there is a very dangerous storm that could produce life threatening flooding in the next 72 hours and everyone in the crowd should start getting together their go-bags, or shoring up their properties and moving stuff to upper floors or whatever. It's not a fire YET right? We haven't literally seen someone drop on the HN front page how to quickly crack a 256-bit elliptic key on your home computer, or post how their hot new key-crack-as-a-service YC backed startup is hiring. It's a warning they think something may be coming.
----
0: https://www.yubico.com/pqc-beta-program/
The notice was for National Security Systems. Exactly ZERO of them of them run Let's Encrypt.
(Not only do they not use Let's Encrypt, they don't use public CAs at all. They use NSS PKI and DoD PKI.)
It's like shouting fire in a room you weren't invited to.
I'm not saying to ignore it, but you weren't the target audience.
> Hardware SSH
FYI YubiKey released their beta ML-DSA+ML-KEM beta on Nov 3. [1]
25-ish years ago, I was in 6.857, Ron Rivest's security class (mostly crypto, but much less math-intensive than Silvio Micali's crypto class). I asked him about the utility of either using 1024-bit El Gamal wrapped in 2048-bit RSA or 2048-bit RSA wrapped in 2048-bit El Gamal. (These size relationships avoid waisted bits in the wrapping.) His response was that it was very unlikely to have a significant breakthrough against one without having a breakthrough against the other.
What I haven't been able to find an answer to is whether _practical_ quantum computers for breaking RSA and ECDLP are now anticipated to exist earlier than they might have in 2025 or earlier years. The paper at [5] presents the challenges that are expected to be faced when building different sized quantum computers and notes these challenges remain significant.
[1] Shor's algorithm compiled on cat qubits: 22 593 qubits for RSA-2048 in 3.14 days, https://arxiv.org/abs/2610.37839
[2] Computing 256-bit elliptic curve discrete logarithms in 26 days on a fault-tolerant trapped-ion quantum computer with 20,000 qubits, https://arxiv.org/abs/2609.05625
[3] https://news.ycombinator.com/user?id=Strilanc
[4] Module Lattice Security (Part IV): Probabilistic Polynomial Quantum Attack on Module-LWE over 2-Power Cyclotomics, https://arxiv.org/abs/2605.17412
[5] How to Build a Quantum Supercomputer: Scaling from Hundreds to Millions of Qubits, https://arxiv.org/abs/2411.10406
https://arxiv.org/abs/2603.28846
Re QCs, they are on track to have hundreds to low thousands of logical qubits within 2 years, depending on code choices and architectures. It is not completely infeasible to imagine having a QC that can approach a calculation of this sort (maybe for a smaller key size), especially if AI improves code choice and design, layout, compilation, routing, calibration, in addition to algorithms themselves
> This, to me, says this is a classical attack, because no quantum algorithm would “present a significant threat to cryptographic systems” without also a big progress in CRQC development, which is not mentioned anywhere.
These advisories seem very urgent, could it be they found a classical attack?
I think the correct reading given public information is that the capability to find flaws in these algorithms is progressing rapidly and if there are flaws in classical crypto, they will be found. The reason post-quantum algorithms are what they are is because we think they lack a structure that can be exploited like RSA and ECC were. That hopefully will benefit PQC even if classical algorithms are exploited. Obviously the paper about lattices puts a bit of a wrench in that but broadly its a good assumption to go off of.
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-ed25519https://www.reddit.com/r/ProgrammerHumor/comments/5yhl93/ran...
25519 alone is probably not a good idea anymore.
Your recommendations, like RFC 9941 sntrup761x25519-sha512 and those based on ML-KEM are for the key encapsulation mechanism.
I am among those who believe that the arguments that ML-KEM is significantly weaker than NTRU Prime are correct, and that the recent attack by Anthropic has confirmed the predictions made about ML-KEM long ago, even if for now the attack is completely impractical (but it might be improved in the future).
The only reason why NIST has preferred ML-KEM is that when implemented in dedicated hardware, not in software, the cost of ML-KEM can be lower than for NTRU Prime. The reason is exactly the same for which the weaker polynomial hash of GCM has been preferred by NIST instead of the stronger Poly1305. Both ML-KEM and the GCM hash can be cheaper than NTRU Prime and Poly1305 in dedicated hardware, because they can replace some integer multipliers with other simpler circuits (due to making computations in powers-of-two fields instead of prime fields).
So I recommend to use in SSH sntrup761x25519-sha512.
The algorithm mentioned by you, RFC 10042 mlkem1024nistp384-sha384, is designed for a higher security level than the algorithms currently available in TLS 1.3 and in SSH. I believe that it will be available only in a future version of OpenSSH.
The current version has only mlkem768x25519-sha256, which is equivalent with what TLS 1.3 has.
For digital signatures, OpenSSH for now offers ssh-mldsa44-ed25519, which should be chosen when generating host keys.
So one needs to both generate new host keys with ssh-mldsa44-ed25519, and edit the client and server configuration files, to prefer sntrup761x25519-sha512 and mlkem768x25519-sha256, in what order you like.
You no doubt disagree. The thing is, neither of us have any way of knowing and it is all guesswork. There isn't an objective call to make here. You have your opinion, I have mine.
But if it matters, the TL;DR is that I do not expect all crypto primitives to fall to AI analysis, but those that do will have structure that is exploited. The NIST p-curves have very little structure, as far as we know, whereas x25519 has lots of structure. Indeed, the structure is the point: it is what makes it fast. That mattered a few years ago. Right now, we want conservative, not fast.
Lattice crypto I'm treating as assumed-broken, even under classical assumptions, until we have a definitive minimum bound proof.
Actually, how can ML-DSA and ML-KEM both be answers to the same question? One is a signature algorithm, one is a key exchange algorithm!
They are not answers to the same question.
In order to use quantum-resistant algorithms in OpenSSH, you need to choose 2 separate algorithms.
You must generate new host keys appropriate for the only algorithm based on ML-DSA that is currently offered by OpenSSH: ssh-mldsa44-ed25519.
In the client and server configuration files, you should specify the 2 quantum-resistant key-exchange algorithms currently available in OpenSSH, one based on NTRU Prime and one based on ML-KEM, in what order of preference you believe is right.
There’s also a built in ssh server in Forgejo but it has to be explicitly enabled.
If you have START_SSH_SERVER set to true in the [server] section of the Forgejo config, you are running the built-in ssh server of Forgejo itself. Otherwise it will be whatever ssh server your host OS is running.
open issue - https://codeberg.org/forgejo/forgejo/issues/14049 with linage inside.
https://developercommunity.visualstudio.com/t/support-non-rs...
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.
Moving to MLKEM768-X25519 hybrids for key exchange as soon as possible and building in agility for authorisation.
I wish I knew whether this is correct or not.
The people you mentioned are the "everyone"
There are a lot of high-volume environments where people weren't doing any key exchange whatsoever and had to be dragged kicking and screaming into doing so with x25519 only recently. They are going to be slow to adopt this.
Ask me how I know.
In OpenSSH, if all your machines are up to date? It's a config change. Not difficult.
In OpenSSH, if you have machines with older OpenSSH versions? Well how difficult is it to update OpenSSH on those machines?
In TLS? Well, I use Let's Encrypt, and they don't support any post-quantum algorithms, hybrid or not. In any case, it seems like the path they're going towards is Merkle Tree Certificates according to https://letsencrypt.org/2026/06/03/pq-certs, which means they might not ever support MLKEM768-X25519, but that might not matter. In any case, it means that moving to any post-quantum cryptography on my HTTPS sites would mean finding another TLS cert provider...
Not doing any key exchange means? Hopefully static, rarely changed symmetric keys?
People always say this but it’s exactly the wrong strategy to maximize profit from the exploit. It would crash the price immediately. If you had this ability you’d likely be able to preimage the pow hash. You’d want to register a new pool and mine blocks infrequently to keep the hash rate stable. This could be going on now and no one would know.
Highly unlikely BTC crypto gets cracked even with quantum computing, but It’s a mess I don’t even want to think about.
Why would money stored in banks be unsafe in that scenario? Unlike BTC or other cryptocurrencies, money in banks is just an entry in their centralized database; there's no magic signing key which would give full access to your account.
Which will also be hacked by someone else and sent elsewhere until nobody even knows who owns what anymore.
Sure you can revert but goods will have been delivered based on electronic payments before the news spreads.
I think banks could cut off all non-post-quantum TLS, and everyone could invalidate all non-post-quantum passkeys, and banks could cut off password recovery via email providers who do not force non-broken authentication, and the finance world would survive, albeit with some hiccups.
What are they doing?
More precisely curves over fields of small characteristic and over extension fields have been weakened to the point of insecurity. But so far curves over prime fields have had a quite stable security story.
You can override it back in your ~/.ssh/config with
Host *
KexAlgorithms ^mlkem768x25519-sha256 > ssh -V
OpenSSH_10.3p1, LibreSSL 3.3.6
> ssh -v git@github.com 2>&1 | grep -i "kex: algorithm"
debug1: kex: algorithm: mlkem768x25519-sha256OpenSSH_10.5p1
However, recently somebody used a frontier model to work out the source of the constants, which turned out to be an ordinary Unix random function seeded with a timestamp from around the time the constant was generated. So this is basically innocent, and the reason it was never explained is certainly that the guy who generated it, I believe his name was Jerry Salinas, would have just forgotten how he did it.
Isn't that what bitcoin uses to sign all transactions?
Bitcoin addresses are hashes; the actual public key is not published until the coins are sent in a transaction. When you broadcast a transaction, there is a window of time between "miners see your transaction" and "the transaction is included in a block". Most of the time, that window is about 10 minutes. So an attacker has 10 minutes to crack your private key, use it to sign a different transaction, and get that transaction to take priority over yours.
This is why many people discourage reusing addresses. It's certainly more convenient, but it means you go from a 10 minute window to an arbitrarily-long window. Even a major attack on ECC might not weaken it enough for keys to be crackable in 10 minutes.
(FWIW, I agree that this would be catastrophic regardless)
None of this matters because any part of BTC crypto that gets broken and allows coins to be "stolen" will immediately cause the whole thing to be worthless.
There is no "likely impact the price" scenario: the price goes to 0 instantly and forever.
My 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-ctr- 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?
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.
> They are not calling out RSA.
it's qualified like that further down, even in bold. They don't ever claim that the NSA did say that. It's an analysis by a subject matter expert and frankly one that I trust to make a few inferences from the NSA posting.
Important caveat is that Filippo might have eyes on canaries that most of us can’t see.
the NSA thing doesn't go there at all: not even in the pre-existing recommendations.
someone needs to connect why the edwards curve is at threat here. is the claim that all elliptic methods are broken? why not just say that?
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.
Or do we just wait to see if the Satoshi wallets vanish into NSA coffers?
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>
They're the NSA. They've got the dirt on everyone.
The interesting question is whether the job of this press release is to pump Anthropic's stock.
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?
They get to reiterate the same advice they've been giving for many many years anyway, advice which many companies have been dragging their feet acting on but which would help to better secure the US population and interests against future tech advances. All while at the same time helping to stoke speculation on how powerful our AI capability is. The same AI that is carrying our entire economy right now, and which the US government is invested heavily in, and which many high level politicians and their friends have a personal stake in.
Promoting AI, and better security practices would seem like something they might be very happy to do.
I'm not even saying that's what is actually happening here, but it's crazy to think that there would be no incentives for doing it.
Tao Teh Ching ch. 27
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
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.
> Elliptic Curve Diffie-Hellman (ECDH) and Elliptic Curve DSA (ECDSA) must use the NIST P-384 parameters
From https://media.defense.gov/2021/Aug/04/2002821837/-1/-1/1/Qua...
The same NSA that has been fighting against 25519 for ages, and refusing to acknowledge it on every situation where it's possible.
25518’s best selling point!
The current solution is just shrugging shoulders.
I guess crypto agility was not such a bad idea after all?
The NSA release from today said they were approached by a frontier lab for responsible disclosure - the only way to responsibly disclose something as massive as a break/fatal wounding of ECC is for everyone involved to say nothing beyond "you need to move to PQE immediately."
And the pace of AI work is such that's it's prudent to say get a move on doing what you should have done a decade ago.
In my tinfoil hat moments I do wonder if we're being herded subtly onto backdoored security but nothing in this has that kind of smell to me (a lay person).
But the timing, the "Immediate" tone, and explicit omission of 256 bit ECC is a strong signal that something is up.
Even if there were evidence, do you expect the NSA to just blurt it out? That is going to stay secret as long as possible, while their "Immediate Advisories" get more and more immediate.