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.
layer8 19 minutes ago [-]
> > They are not calling out RSA.
> 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.
adgjlsfhk1 1 hours ago [-]
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.
AdamConwayIE 43 minutes ago [-]
They allow for RSA-2048 where legacy support requires it, as per a footnote, though. No such allowance is made for P-256. In other words, they tolerate a weaker key for 2048-bit RSA but not for 256-bit curves.
tux3 47 minutes ago [-]
There's SHAKE in ML-KEM and ML-DSA, so one way or another FIPS/CNSA compliant systems will be relying on it. There's no concern about either SHA-2 or SHA-3 at the moment, SHA-2 is a good default.
ComputerGuru 1 hours ago [-]
They actually implicitly temporarily OK RSA-2048 in a footnote for legacy compatibility.
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?
cayleyh 2 hours ago [-]
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.
weeha 20 minutes ago [-]
[dead]
ComputerGuru 1 hours ago [-]
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.
johncolanduoni 49 minutes ago [-]
That’s the key exchange algorithm for the connection, not the PKI signature algorithm.
dist-epoch 1 hours ago [-]
This sounds like the perfect moment to put pressure on Let's Encrypt, YubiKey, ...
adverbly 1 hours ago [-]
Claude build a commercially available hardware key that supports ML-DSA. Make no mistakes.
quaz4r 2 hours ago [-]
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
KMag 2 hours ago [-]
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.
djha-skin 2 hours ago [-]
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.
quaz4r 2 hours ago [-]
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.
dist-epoch 1 hours ago [-]
Aren't quantum computers far away from anything larger than the toy-iest of problems?
These advisories seem very urgent, could it be they found a classical attack?
oofbey 2 hours ago [-]
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.
3949499559 2 hours ago [-]
[dead]
BoppreH 12 minutes ago [-]
Isn't the list of algorithms just a reiteration of their recommendations since 2016 [1]? The allowance for hybrid is new, but they've been consistent in recommending RSA-3k and avoiding 256-bit curves for a decade now.
It's a clever reading, but there doesn't seem to be any new lines to read between.
Wasnt there some suspicion that some EC curves were hand picked by the NSA and this is simply the outcome that their backdoor has been broken?
mike_hearn 6 minutes ago [-]
Yes, there was, but that was resolved recently, ironically by AI. The concern was originally that nobody knew how the constants in the SECP256R1 standard and related standards had been generated. They were simply presented without any explanation in the original documents, and the constants were generated by the NSA. Now, there was no known theoretical weakness that could have caused problems. In theory, you can choose pretty much any number, but of course, the unexplained source did make some people uncomfortable, especially as the NSA is one of the top employers of mathematicians.
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.
gpm 9 minutes ago [-]
There was, but as it turns out Anthropic managed to reverse engineer how they were actually picked and it doesn't appear very suspicious: https://words.filippo.io/seeds-solved/
ok_dad 2 hours ago [-]
What’s the new ssh key crypto I should use now? I’ve been using 25519 based keys everywhere. That’s the thing I need to know. Damn.
elbrownos 2 hours ago [-]
Just use the number 4
jamesjyu 2 hours ago [-]
No, I took that one already. Go with 5
onionisafruit 1 hours ago [-]
Nope. Jayden Daniels has dibs on 5.
chicagobuss 2 hours ago [-]
ha!!!
nailer 2 hours ago [-]
That's the problem with randomness: you never can tell.
awesome_dude 2 hours ago [-]
I love Dilbert's cartoon on this, but cannot find a direct link to it
I love it as well, but eMudhra seemed to be more like XKCD fans: https://xkcd.com/221
awesome_dude 2 hours ago [-]
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.
25519 alone is probably not a good idea anymore.
adrian_b 42 minutes ago [-]
There are 2 separate algorithms, the key encapsulation mechanism, which transfers secret keys between parties when a connection is established, and which is important against adversaries who would record now the communications, for decrypting them later, and the digital signature algorithm, which is important against adversaries who would try to impersonate you in the future, if they break it.
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.
mort96 50 minutes ago [-]
mlkem1024nistp384-sha384? sntrup761x25519-sha512? These cryptographers aren't great at branding are they
throawayonthe 2 hours ago [-]
ssh-mldsa44-ed25519
mort96 49 minutes ago [-]
Why did someone else say mlkem1024nistp384-sha384?
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!
adrian_b 15 minutes ago [-]
See my other comment above.
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.
mort96 12 minutes ago [-]
Well that's a bit concerning. There's a lot of guidance going out there telling people to change one option to select one algorithm.
int0x29 3 hours ago [-]
Just tried to set up ssh-mldsa44-ed25519 and found that neither github nor forgejo supports it.
dearing 5 minutes ago [-]
My quick read up on it is that lib x/crypto supports what is needed but not the downstream x/crypto/ssh yet. This is used by forgejo to parse the pub for assignment.
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.
int0x29 2 hours ago [-]
Well my host has it but the docker container its running in probably doesn't. I'll need to look
2 hours ago [-]
galadran 3 hours ago [-]
The best part of this advice is that it is exactly what everyone should have been doing already.
Moving to MLKEM768-X25519 hybrids for key exchange as soon as possible and building in agility for authorisation.
djha-skin 1 hours ago [-]
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.
I wish I knew this area better. But what I've seen people discuss is: the NSA has never recommended or really talked about ed25519, it's not uncommon that it's absent from NSA's guidance. So Filippo might be reading too much into the fact that it's absent from this advisory.
I wish I knew whether this is correct or not.
jonathanstrange 11 minutes ago [-]
It sucks because there is essentially no secure alternative supported on Github.
insanitybit 2 hours ago [-]
You should be moving to ML-KEM. The hybrid option is only an option if you find it easier.
tgsovlerkhgsel 1 hours ago [-]
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).
insanitybit 1 hours ago [-]
I mean, it's also what cryptographers writ large say.
busterarm 2 hours ago [-]
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.
Ask me how I know.
g-b-r 2 hours ago [-]
At what scale, and in what environments, is it a meaningful problem?
Not doing any key exchange means? Hopefully static, rarely changed symmetric keys?
mort96 55 minutes ago [-]
Adding 2-4k of inbound traffic to every HTTPS handshake sounds potentially significant
SV_BubbleTime 2 hours ago [-]
Where is 2-4KB a big deal? BLE, Lora, serial interfaces to HSMs…
busterarm 2 hours ago [-]
and SIP. Specifically STIR/SHAKEN. Imagine the volume spike in robocalls :D
Plus the packet fragmentation issues.
busterarm 2 hours ago [-]
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.
g-b-r 2 hours ago [-]
Great...
dgellow 2 hours ago [-]
Is the switch to MLKEM768-X25519 complicated? Genuine question
mort96 51 minutes ago [-]
Depends on context.
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...
d1sxeyes 33 minutes ago [-]
From what?
2 hours ago [-]
urba_ 37 minutes ago [-]
My biggest tell would be when people start draining Satoshi-era Bitcoins (seems to be around 1.7M BTC that shared their secp256k1 public key) and reused wallets (they also emit the public key)
int0x29 18 minutes ago [-]
No one with the ability to break ECC intially will want to do anything that leaves an obvious trail (Especially because groups with the kind of power needed to do this typically have enough cash already and aren't intrested in upsetting the financial system). By the time those move things will already be pretty bad. (Though I suspect traditional banking based more on human trust than cryptography will probably fare better)
keito 53 minutes ago [-]
On macOS, even though the OpenSSH version is recent, the key exchange algorithm selection is overridden in an Apple-installed /etc/ssh/crypto.conf to favor ecdh-sha2-nistp256 over mlkem768x25519-sha256, which is the upstream OpenSSH default. (I believe the override also suppresses the non-post quantum warning described here: https://www.openssh.org/pq.html).
You can override it back in your ~/.ssh/config with
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?
SSLy 2 hours ago [-]
Perhaps it's something like reduction of security, that is P-256 becomes 64b or smaller, while P-384 is an okay 128b?
adgjlsfhk1 2 hours ago [-]
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.
nullc 1 hours ago [-]
> 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.
treetalker 2 hours ago [-]
> 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.
Tao Teh Ching ch. 27
segmondy 2 hours ago [-]
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.
bongoman42 15 minutes ago [-]
This is like the rumblings being heard in November/December before full blown COVID got underway. I suspect RSA is done.
mort96 6 minutes ago [-]
What then would be the reason for why the NSA talks about moving to RSA in their advisory?
o_nate 1 hours ago [-]
> Again, this is a "get off 256-bit elliptic curve" advisory.
Isn't that what bitcoin uses to sign all transactions?
oynqr 35 minutes ago [-]
Time to buy the dip!
mike_hearn 1 minutes ago [-]
It is, and their bizarre totalitarian ideology is now coming back to bite them. Because they refuse to increase the block size cap for what are basically non-technical reasons, they don't have a great way to deal with this problem.
djha-skin 2 hours ago [-]
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.
masfuerte 1 hours ago [-]
The Riemann Hypothesis did fall after Fermat's Last Theorem, didn't it?
djha-skin 1 hours ago [-]
Yes, sorry, I meant to write "before", fixed.
maratc 2 hours ago [-]
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: *".
SSLy 1 hours ago [-]
PubkeyAcceptedAlgorithms ^ssh-mldsa44-ed25519
HostKeyAlgorithms ^ssh-mldsa44-ed25519
KexAlgorithms ^mlkem768x25519-sha256
#^sntrup761x25519-sha512 is probably ok too
and be on 10.6+
maratc 30 minutes ago [-]
Yeah, 8.7 is what I have on servers and 9.9 as a client.
1 hours ago [-]
rustyhancock 2 hours ago [-]
Does this suggest secp256k1 is at risk?
Or do we just wait to see if the Satoshi wallets vanish into NSA coffers?
2 hours ago [-]
verysmart 2 hours ago [-]
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.
m000 46 minutes ago [-]
<tinfoil_hat>
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>
BLKNSLVR 20 minutes ago [-]
They used the acronym SI, therefore they have bent the knee.
mort96 4 seconds ago [-]
Yes, although that's uninteresting. You'd expect them to comply with executive orders which dictate which words should be used in official communication. In the best case, this advisory and press release from the NSA is from people whose mission is to ensure that communication is secure while not caring about what irrelevant political hoops they have to jump through to get there.
The interesting question is whether the job of this press release is to pump Anthropic's stock.
ComputerGuru 1 hours ago [-]
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.
karel-3d 2 hours ago [-]
Will Wireguard ever move to pq crypto?
The current solution is just shrugging shoulders.
I guess crypto agility was not such a bad idea after all?
You can add a symmetric key to wireguard configs for PQC, used in addition to ECC.
jdthedisciple 1 hours ago [-]
> 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 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.
natebc 1 hours ago [-]
> 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.
baq 1 hours ago [-]
He does say to read between the lines. Canary for those is dead.
markhahn 41 minutes ago [-]
why?
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?
blaind 2 hours ago [-]
So... if:
- ed25519 signatures could be practically forged from public keys;
- most modern Linux distros default to it when generating keys;
the potential adversary would have RW-access to very many repos?
dgellow 2 hours ago [-]
Thanks Filippo, and all the best to anyone dealing with this situation. Doesn’t sound fun
1 hours ago [-]
baggy_trough 2 hours ago [-]
Wonderful, now we're supposed to move to algorithms that release Debian doesn't have.
lazyweb 1 hours ago [-]
Well openssh 10.6 is currently in testing and might make its way into stable-backports soon.
baggy_trough 57 minutes ago [-]
Good news.
bluegatty 2 hours ago [-]
take it at face value
jmclnx 3 hours ago [-]
>They are explicitly calling out the P-256 elliptic curve (by exclusion), and Ed25519 (which is the only EdDSA in the NIST specifications)
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.
jstanley 2 hours ago [-]
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
I do really dislike the author turning into "calling it out" the fact that NSA didn't mention 25519 in a document.
The same NSA that has been fighting against 25519 for ages, and refusing to acknowledge it on every situation where it's possible.
SV_BubbleTime 2 hours ago [-]
>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!
marcosdumay 1 hours ago [-]
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".
the_mitsuhiko 27 minutes ago [-]
> 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.
It came because they were afraid that NSA backdoored the curves. We now know that that was not the case.
cwillu 2 hours ago [-]
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.
2 hours ago [-]
nullc 1 hours ago [-]
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.
mikece 3 hours ago [-]
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?
owenmarshall 2 hours ago [-]
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."
aphysically 2 hours ago [-]
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.
bri3d 2 hours ago [-]
Yes, P-256 was effectively removed from the allowed US national security cryptography list in 2015-2016 when they migrated from Suite B to CNSA.
kzrdude 2 hours ago [-]
Then the whole message is a lot less alarming, P-256 is not omitted because it was broken now, but because it already was off the recommended list.
free_bip 3 hours ago [-]
There is no real evidence, it's the exact same flavor of fearmongering that preceded the physically impossible quantum attacks on lattice encryption.
rustyhancock 2 hours ago [-]
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).
perrygeo 2 hours ago [-]
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.
mangod12 2 hours ago [-]
[dead]
2883 1 hours ago [-]
[dead]
clownworld1984 2 hours ago [-]
slop content. just yapping. no substance
Rendered at 22:52:43 GMT+0000 (Coordinated Universal Time) with Vercel.
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.
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.
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?
It's a clever reading, but there doesn't seem to be any new lines to read between.
[1] "CNSSP 15" from https://www.cnss.gov/CNSS/issuances/Policies.cfm
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.
https://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.
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.
open issue - https://codeberg.org/forgejo/forgejo/issues/14049 with linage inside.
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.
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
I wish I knew whether this is correct or not.
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.
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...
You can override it back in your ~/.ssh/config with
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.
Tao Teh Ching ch. 27
Isn't that what bitcoin uses to sign all transactions?
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.
Or do we just wait to see if the Satoshi wallets vanish into NSA coffers?
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 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.
The current solution is just shrugging shoulders.
I guess crypto agility was not such a bad idea after all?
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.
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?
- 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?
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".
It came because they were afraid that NSA backdoored the curves. We now know that that was not the case.
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.