Top
Best
New

Posted by jvdheyden 3 hours ago

What to Make of the NSA Advisory(words.filippo.io)
339 points | 105 comments
adrian_b 56 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.

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.

AdamConwayIE 21 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.
adgjlsfhk1 49 minutes 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.
tux3 26 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 47 minutes ago|||
They actually implicitly temporarily OK RSA-2048 in a footnote for legacy compatibility.
leishman 1 hour ago||
It's worth noting that the NSA has been recommending 384 bits as the baseline for Elliptic curves since 2015 https://en.wikipedia.org/wiki/Commercial_National_Security_A...
ramblurr 1 hour ago||
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 1 hour 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"
bwindels 1 hour ago|||
> Let's Encrypt doesn't offer PQ auth yet.

Last month they got funding for exactly this it seems: https://letsencrypt.org/2026/11/05/sta-pq-funding

cipehr 1 hour ago|||
If you're on apple/mac devices, the Secure Enclave does in fact support ML DSA keys... https://developer.apple.com/documentation/cryptokit/secureen...

You can use them with apps like Secretive https://secretive.dev

bonyt 52 minutes ago||
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.

ComputerGuru 43 minutes 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 28 minutes ago||
That’s the key exchange algorithm for the connection, not the PKI signature algorithm.
dist-epoch 1 hour ago|||
This sounds like the perfect moment to put pressure on Let's Encrypt, YubiKey, ...
adverbly 1 hour ago||
Claude build a commercially available hardware key that supports ML-DSA. Make no mistakes.
quaz4r 1 hour 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 1 hour 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 1 hour 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 1 hour 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 hour 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 1 hour 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 1 hour ago||
[dead]
urba_ 15 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)
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 1 hour ago|||
No, I took that one already. Go with 5
onionisafruit 44 minutes ago||
Nope. Jayden Daniels has dibs on 5.
chicagobuss 2 hours ago||||
ha!!!
nailer 1 hour ago|||
That's the problem with randomness: you never can tell.
awesome_dude 1 hour ago||
I love Dilbert's cartoon on this, but cannot find a direct link to it

https://www.reddit.com/r/ProgrammerHumor/comments/5yhl93/ran...

arendtio 1 hour ago||
I love it as well, but eMudhra seemed to be more like XKCD fans: https://xkcd.com/221
awesome_dude 1 hour 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."
dingaling 1 hour ago||
https://fridayfun.net/dilbert-2001-10-25
adastra22 1 hour ago|||
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 20 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 28 minutes ago|||
mlkem1024nistp384-sha384? sntrup761x25519-sha512? These cryptographers aren't great at branding are they
throawayonthe 1 hour ago||
ssh-mldsa44-ed25519
mort96 27 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!

int0x29 2 hours ago||
Just tried to set up ssh-mldsa44-ed25519 and found that neither github nor forgejo supports it.
QuantumNomad_ 1 hour ago||
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 1 hour ago||
Well my host has it but the docker container its running in probably doesn't. I'll need to look
galadran 2 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 44 minutes 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.

1: https://en.wikipedia.org/wiki/Daniel_J._Bernstein

insanitybit 1 hour ago|||
You should be moving to ML-KEM. The hybrid option is only an option if you find it easier.
tgsovlerkhgsel 47 minutes 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 44 minutes 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 1 hour 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 33 minutes ago|||
Adding 2-4k of inbound traffic to every HTTPS handshake sounds potentially significant
SV_BubbleTime 1 hour ago||||
Where is 2-4KB a big deal? BLE, Lora, serial interfaces to HSMs…
busterarm 1 hour ago||
and SIP. Specifically STIR/SHAKEN. Imagine the volume spike in robocalls :D

Plus the packet fragmentation issues.

busterarm 1 hour 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 1 hour ago||
Great...
dgellow 1 hour ago||||
Is the switch to MLKEM768-X25519 complicated? Genuine question
mort96 29 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 11 minutes ago|||
From what?
keito 32 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

  Host *
    KexAlgorithms ^mlkem768x25519-sha256
Dagonfly 45 seconds ago|
Are you sure? MacOS 27 shows for me:

   > ssh -V
   OpenSSH_10.3p1, LibreSSL 3.3.6

   > ssh -v git@github.com 2>&1 | grep -i "kex: algorithm"
   debug1: kex: algorithm: mlkem768x25519-sha256
wk_end 2 hours ago|
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 1 hour 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 1 hour 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 57 minutes 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.

More comments...