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.
The fact that SHAKE and cha-cha aren't more standardized/govt recomended to me is crazy. It seems really obvious that we want a large number of really high quality schemes.
But for normal ops engineers there's little we can do right now. We touch crypto every day in two places:
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?
Does Google's Let's Encrypt alternative PKI via Google Trust Services support PQ certs? Google.com itself uses X25519MLKEM768 iirc, and it's issued by Google Trust Services.
This type of announcement is a way to kick off the process so these types of things will start to get supported & filter down to everyone. It's meant for people like Filippo who maintain crypto libraries, are major issuers, operating systems & browsers vendors, etc. to tell them "hey it's actually really important now, not that 5-10 year timeline you thought you had"
Yes, but the current Secretive doesn't support any of the formats that upstream OpenSSH supports. It supports mldsa-65 and mldsa-87, but OpenSSH only has mldsa44-ed25519 (hybrid) at the moment I think, and may stick to hybrids.
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.
My baseless guess, as someone in quantum computing and has worked in quantum cryptography, is that there were additional results not publicly disclosed which point to a reduction of resources required for quantum attacks of ecc or discrete log (which is not unprecedented over the past few years even without AI), and thus more pressure to migrate PQC
Are you using discrete log as shorthand for both discrete log and the RSA problem over Z_p, or do you have reason to suspect that discrete log over Z_p is likely more vulnerable than RSA?
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.
He addresses this in the article, opining that it's actually a "normal" computer attack:
> 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.
Yeah, I don't agree with that line of reasoning. If ECC quantum algorithm requirements were reduced, say another 10x by AI, these would be vulnerable to attack within a few years just looking at public QC timelines.
Everything about this advisory would seem perfectly normal without AI. QC is getting real at an increasing rate. If you care about today’s communications staying secret for years to come, you need to be using PQC.
Who is "everyone"? GitHub and Forgejo don't even support moving to hybrids, if the comments are to be believed. Same for Yubikey. We have lauded Bernstein's[1] work for years. During the Snowden days everyone said "yeah, ED25519, that's the stuff. Don't trust evil NSA and their P-384 nonsense." My general feeling has been "yeah, 384 is better, I guess, but everyone else seems to be fine with ed25519, so maybe I'm overreacting." Now we're being told that's the one thing that's broken. This truly is an apocalyptic revelation for many folks.
That's what the NSA says. Some people might consider that a reason to do it, others might consider it a reason to absolutely not do it (and use hybrid instead).
it's not without cost. the size is much bigger and you're adding 2-4KB to all of your request headers, which at scale is a meaningful problem to deal with.
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.
There's lots of places where load balancer timeouts are extremely aggressive and you can't rely on long-lived connection pools. Start there and add thousands of microservices all talking to each other through the loadbalancers and you're gonna have a fun time.
Forgejo defaults to relying on the host ssh server. I.e. OpenSSH sshd or Dropbear sshd or what-have-you.
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.
I like that XKCD cartoon, and thought it might be a good response to the suggestion to "just use 4", but the quote/paraphrase I was responding to, though, was also in the Dilbert cartoon "That's the problem with randomness: you never can tell."
mlkem1024nistp384-sha384 would be my recommendation and most in line with the NSA's advisory here, but there's also an argument for sntrup761x25519-sha512.
> The good closer of doors does so without bolt or lock, and yet the door cannot be opened;
> The good tier of knots ties without rope or cord, yet his knots can't be undone.
Nothing, it's expected. Imagine that current encryption will fall in 5 years due to AI. I would consider that immediate threat. Why? How would you feel if some decrypted all your data from 3 years ago going back? You don't want to wait until it's proven to start upgrading. Govt keeps secrets for a long time. Collected encrypted data that can't be decrypted today will become valuable intel in a few years. For the government this is urgent, but it is for individuals too.
David Hilbert thought the Riemann Hypothesis would fall before Fermat's Last Theorem and the Transcendence problem might never fall, thus getting the order of when they were solved backwards.
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.
It would be great if someone who understands this stuff could translate the news into clear instructions on what I should have in my .ssh/config for "Host: *".
PubkeyAcceptedAlgorithms ^ssh-mldsa44-ed25519
HostKeyAlgorithms ^ssh-mldsa44-ed25519
KexAlgorithms ^mlkem768x25519-sha256
#^sntrup761x25519-sha512 is probably ok too
So, for us laypeople unfamiliar with the theory of ECC, what's the upshot of P-256 being broken but P-384 continuing to be safe? What did (likely) Claude discover/do?
Eliptic curves have had absolutely no algorithmic progress since introduction, but the likely answer is something like what happened with factoring. Current SOTA is 2^(n/2) security, but if a 2^(2n/log(n)) attack were found, then 256 bit would have ~90 bits of security while 384 would have 129.
> Eliptic curves have had absolutely no algorithmic progress since introduction
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.
> 256-bit elliptic curves (P-256 and Curve25519/X25519/Ed25519) are likely broken or significantly weaker than we thought;
Can we stop with this false rumor spreading? The NSA did NOT say any of the above.
Edit: I can see how the OP (an expert) reasonably infers this now. At first though, it was 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 explicitly calling out the P-256 elliptic curve (by exclusion), and Ed25519 (which is the only EdDSA in the NIST specifications). This implicates X25519/Curve25519/Ed25519 along with P-256.
> 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.
Have I been vindicated for never joining the “burn your RSA keys and switch to ed25519” brigade?
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.
the satoshi wallet always was an NSA coffer, I've always believed the satoshi wallets were a cryptography honeypot. Although, I think it was expected to be drained much farther in the future, and that's still probably the case.
Apparently P-256 has already been deprecated for US national security use since 2016 and P-384 is recommended by "CNSA 1.0", so I'm not sure this implies anything (new) at all about P-256.
> Elliptic Curve Diffie-Hellman (ECDH) and Elliptic Curve DSA (ECDSA) must use the NIST P-384 parameters
It was created in response to the NSA not improving their curves so people implement them right and trying to standardize a PRNG with a backdoor.
If they have an attack, they can go and say so. (Better if they prove by breaking some key, but it may not be viable yet.) But abandoning the algorithm because they ignored it on a document is too much.
Anyway, it's good that everybody's response seems to be "ok... I'll use 25519 with something else then".
They say explicit, but “calling something out” by its absence is practically the definition of implicit. I don't think it changes much, but it's annoying that a word with a perfectly good definition is being misused.
Reasoning out that 256-bit ECC is broken from it's omission is seems spurious to me given that P384 has been their strong non-PQ mandatate for many years now.
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.
This infers a classical break of 256-bit ECC purely from what the NSA left off its inventory list. What's the strongest alternative reading of that list, and is there any independent evidence (a paper, a disclosure, a vendor statement) for a practical attack on P-256 or Curve25519?
I doubt we'll see the evidence you are seeking for a while.
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."
Is there any prior art for recommending above 256 bit ECC explicitly? It did seem odd. I think their better argument for a dog whistled alternative reading was that they changed their recommendation on hybrid key exchange.
Telling people to do what everyone has been recommending for a long time doesn't seem like fear mongering.
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).
The advisory says nothing specifically about any new threats. So technically, yeah this is just the NSA telling people to do what they've been telling them for 10 years.
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.
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?
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.
Last month they got funding for exactly this it seems: https://letsencrypt.org/2026/11/05/sta-pq-funding
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.
> 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?
Moving to MLKEM768-X25519 hybrids for key exchange as soon as possible and building in agility for authorisation.
1: https://en.wikipedia.org/wiki/Daniel_J._Bernstein
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.
Not doing any key exchange means? Hopefully static, rarely changed symmetric keys?
Plus the packet fragmentation issues.
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.
https://www.reddit.com/r/ProgrammerHumor/comments/5yhl93/ran...
25519 alone is probably not a good idea anymore.
Tao Teh Ching ch. 27
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.
Isn't that what bitcoin uses to sign all transactions?
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.
- 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 how the OP (an expert) reasonably infers this now. At first though, it was 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.
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.
Or do we just wait to see if the Satoshi wallets vanish into NSA coffers?
The current solution is just shrugging shoulders.
I guess crypto agility was not such a bad idea after all?
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!
If they have an attack, they can go and say so. (Better if they prove by breaking some key, but it may not be viable yet.) But abandoning the algorithm because they ignored it on a document is too much.
Anyway, it's good that everybody's response seems to be "ok... I'll use 25519 with something else then".
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.
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.