Rendered at 15:31:15 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
adrian_b 4 days 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.
layer8 4 days 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.
repeekad 3 days ago [-]
But it sure made a great scapegoat for the bitcoin crash..
fitsumbelay 2 days ago [-]
[flagged]
medellin 3 days ago [-]
I mean who knows with this administration fudding and then releasing news cryptocurrency isn’t impacted would be the easiest way to make a quick buck for the inner circle
AdamConwayIE 4 days 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.
breakwaterlabs 4 days ago [-]
2048 has been on the chopping block for a long time because its lenstra strength is only 112. Its matching symmetric crypto would be 3DES.
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.
GTP 3 days ago [-]
In theory SHA2 would be subject to length extension attacks, even though they're not practical at the moment. SHA3's construction should prevent them.
less_less 3 days ago [-]
Length extension attacks on SHA2 are practical, not just theoretical. It's just that they can only happen in certain constructions, and carefully-built protocols and higher-level primitives can avoid them. E.g. by using HMAC instead of raw SHA2. But SHA3 doesn't have that footgun.
There are also theoretical attacks where SHA2 nominally provides 256-bit preimage resistance, but because of multicollisions etc you get much less than 256-bit security (but usually more than 128-bit).
nmadden 3 days ago [-]
Quibble: Length extension attacks on untruncated SHA2 are feasible. But eg SHA-384 or the various other truncated versions of SHA-512 are largelyfine, as you’d have to recover the missing state. (SHA-224 not so much).
GTP 3 days ago [-]
Thanks for your clarification about length extension, I should look more int it. But regading the rest, you can't get more than half an hash function's length in terms of security due to the birthday attack. So with SHA-256 you get at most 128 bits of security (and the security claim is of 128 bit).
less_less 3 days ago [-]
> But regading the rest, you can't get more than half an hash function's length in terms of security due to the birthday attack. So with SHA-256 you get at most 128 bits of security (and the security claim is of 128 bit).
Right, but only if collision attacks are in scope. In some systems the attacker's capabilities or the requirements of the system might mean that an ordinary collision attack doesn't break it, and the required security is first-preimage, second-preimage, target-collision, pseudorandomness if the hash function is keyed, etc etc. In those applications one might hope SHA-256 would have 256 bits of security, and in particular it was designed and is still claimed to have 256-bit security vs preimages.
But in e.g. SLH-DSA (NIST's most conservative standard postquantum signature scheme), according to https://eprint.iacr.org/2022/1061, SHA-256's short chaining state limits its security to more like 200 bits, while some other 256-bit hash functions (truncated SHA-512, or SHAKE-256) are expected to attain the full security strength. For this reason NIST limited SHA-256 to the 128-bit security level of SLH-DSA. Higher security levels use SHA-512 truncated to 192 or 256 bits, or SHAKE-256 with 192- or 256-bit output. You wouldn't want to actually output wider hashes in an SLH-DSA signature (eg full SHA-512), because the signature is an array of hundreds of hashes and is already annoyingly large.
Edited for clarity.
adgjlsfhk1 4 days 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.
kzrdude 3 days ago [-]
Yes, strange that we are not thinking "ecosystem" here. We need some diversity so that, for example, not every bank in the world relies on SHA-512, but multiple good schemes coexist.
3 days ago [-]
tux3 4 days 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 4 days ago [-]
They actually implicitly temporarily OK RSA-2048 in a footnote for legacy compatibility.
nextaccountic 4 days ago [-]
sha256?? what's the problem with it?
Retr0id 4 days ago [-]
imo nothing, but the reason for its deprecation in this context is presumably that it only has 128 bits of collision resistance.
GTP 3 days ago [-]
128 bits of security is what most people need. The actual problem could he that it would be subject to length extension attacks, even though they aren't practical at the moment.
newphone733 3 days ago [-]
>subject to length extension attacks, even though they aren't practical at the moment.
Why? Length extension attack is not considered a vulnerability, at least in theory. In practice it's an unneeded footgun, so newer hash algorithms don't have this property. But AFAIK it's trivial to perform HLE on SHA256 since it's a merkle-damgard construction.
GTP 2 days ago [-]
Apparently my information regarding length extension attacks is outdated. Some years ago I was told by a crypto professor that for some reason length extension on SHA2 isn't practical, but I don't remember the reason. Maybe it is what other people said: you can compute SHA512 and truncate it to get resistance against length extension.
Edit: I still would like to stress a point though. Length extension attacks are an actual vulnerability. It is just that there are scenarios in which the way the hash function is used makes them irrelevant. But in other cases can be an actual problem
jazzyjackson 4 days ago [-]
Thanks for the breakdown
4 days ago [-]
jeremyjh 4 days ago [-]
> Moreover, "starting in 2027, no new product for NSS should have a burned-in root of trust relying on a non-quantum-resistant primitive".
This has been the standing guidance since December, 2024.
bigfatkitten 3 days ago [-]
I wish them the very best of luck considering the the state of PQC in the TPM ecosystem.
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 4 days 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"
swyx 3 days ago [-]
saying "immediate" does not give much confidence that this is "a way to kick off the process" in any orderly fashion
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.
throw0101d 4 days ago [-]
> It supports mldsa-65 and mldsa-87, but OpenSSH only has mldsa44-ed25519 (hybrid) at the moment I think, and may stick to hybrids.
Damien Miller (of (portable) OpenSSH) has a IETF draft for "ssh-mldsa87-p384" (etc), so it seems like it's on the radar:
>SSH -> there aren't any commercially available hardware keys that support ML-DSA or 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.
I never supported paying those thieves of SSL cert providers $60+ for a cert and sure as hell won't be rush buying an expensive pq hardware key because 'they think something is coming' either. I'm no encryption expert or anything but once things do start getting cracked the world has bigger problems to offer.
0xDEAFBEAD 3 days ago [-]
"I don't want my tax dollars to go towards no levee. Once the city floods we'll have bigger problems than a levee."
ComputerGuru 4 days 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 4 days ago [-]
That’s the key exchange algorithm for the connection, not the PKI signature algorithm.
ComputerGuru 3 days ago [-]
Sorry, you are correct. And regarding my original question, it appears that no one can^H^H^H^H may sign PQ certs for public use at this time, at least until the CA/B Forum standardizes and OKs the process.
4 days ago [-]
r_lee 3 days ago [-]
I don't think there's a problem with the auth part, just the encryption
the hardware key / HSM thing is a real big problem though
ojhhhh 3 days ago [-]
[dead]
dist-epoch 4 days ago [-]
This sounds like the perfect moment to put pressure on Let's Encrypt, YubiKey, ...
pgporada 4 days ago [-]
[dead]
adverbly 4 days ago [-]
Claude build a commercially available hardware key that supports ML-DSA. Make no mistakes.
quaz4r 4 days 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
dzdt 4 days ago [-]
My baseless guess is the quantum paper release was just a cover. The rumors about an important advance in non-quantum crpyto breakage were true. The goal is to get everyone off of the vulnerable algorithm(s) as soon as possible. It happens that the vulnerable alogithm(s) are not in the post-quantum approved set, so asking people to move NOW to post-quantum crypto is a way to invoke existing plans that will remove the vulnerability without revealing the details of the vulnerability. But whatever Anthropic can do now there are others who can do mext week or next month, so the window before exploits arrive is small.
cowlevel 3 days ago [-]
If the goal was to get everyone off ASAP they'd publish proof of breakage. Right now it looks like they want to get people on to a subtly broken system so they can snoop.
d1sxeyes 3 days ago [-]
Most people will move to hybrid, which, even if the system is subtly broken, is strictly additive in security terms. If the value of ML-KEM turns out to be zero, you're no worse off than not implementing it (apart from bigger keys).
Closi 3 days ago [-]
> If the goal was to get everyone off ASAP they'd publish proof of breakage. Right now it looks like they want to get people on to a subtly broken system so they can snoop.
Hard to publish proof of breakage without giving power to your adversaries.
Speaking hypothetically, if adversaries A & C already know how to break something, but B & D do not, publishing proof of breakage would cede power to B & D.
Urahandystar 3 days ago [-]
Love the cynicism but you have faith that they would be able successfully plan nd manage that after everything you seen recently?
dzdt 4 days ago [-]
Specifically if I speculate farther I would guess the vulnerability includes at least a non-quantum attack on RSA which renders key size 2048 bits or less vulnerable to current hyperscale lab compute resources.
indigo945 3 days ago [-]
The blog post we are discussing gives quite compelling evidence that the vulnerability is not in RSA, but in 256-bit elliptic curves.
sandworm101 3 days ago [-]
My baseline assumption remains that there is not some grand conspiracy to hide an elite team with a magic quantum computer buried under area 51. My baseline is that the agency tasked with staying ahead of the curve has issued a warning statement based on a possible future situation. This is the experts saying" "hey people, we can see a potential issue on the horizon and think everyone should up their game now rather than later." Offering expert advice and standards is the baseline NSA function.
KMag 4 days 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.
I like this theory as it's supported by recent papers [1] and [2] which have in 2026 introduced remarkably more optimised _theoretical_ quantum computers for breaking RSA and ECDLP. See for example page 7 of [1] for a figure showing progress on reducing the number of physical qubits a theoretical quantum computer for breaking RSA-2048 may require--10^7 in 2019 per Craig Gidney[3] and Martin Ekerå versus 10^4 in 2026 per [1]. MLKEM despite recent advances still has a lot more headroom against quantum computers--10^6 for physical qubits according to [4].
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.
[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
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
dhx 4 days ago [-]
Thank you for the additional paper.
For practical quantum computing, are there any particularly significant breakthroughs this year that have made cryptographers freak out, where they may not have previously been worried in 2025? For example, does something like Jiuzhang 4.0 move timelines forward significantly?[1][2] There are however all sorts of consequential sounding improvements coming out in rapid fire such as faster quantum operations/faster qubit resets, so perhaps it's more of a feeling of current pace of improvements rather than any single experimental quantum computer that has been built?
[2] Liu, HL., Su, H., Deng, YH. et al. Gaussian boson sampling with 1,024 squeezed states in 8,176 modes. Nature 653, 687–692 (2026). https://doi.org/10.1038/s41586-026-10523-6
djha-skin 4 days 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 4 days 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.
civet_java 4 days ago [-]
And isn't that sort of cataclysm exactly in line with what the NSA is suggesting, "Migrate ASAP"?
postexitus 3 days ago [-]
What public QC timelines?
quaz4r 3 days ago [-]
The timelines various quantum computing companies have posted for reaching certain milestones. I have worked at three quantum computing companies myself, and have long-time friends at most. Not all timelines are equally honest and accurate, but generally we are anticipating hundreds of logical qubits at reasonable fidelity over the next year or so to become the baseline.
oofbey 4 days 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.
dist-epoch 4 days 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?
CoolestBeans 4 days ago [-]
Look, I don't know nothing but this is me trying to read between the lines. They haven't changed any of their recommendations other than to move the timeline of shifting from classical to post-quantum up. Furthermore, they posted this advisory which is a signal itself. If there was an active break or one imminent, there would probably be more movement behind closed doors first. Posting an advisory like this is a signal to adversaries as much as it is to defenders to where the cracks might be. And they know that.
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.
BobbyTables2 4 days ago [-]
Agree, but a darkly humorous possibility is they discovered vulnerabilities in PQC algorithms and are trying to get everyone to migrate to them sooner. The combination of quantum computing and AI is a unique impetus compared to “switch because it’s ‘better’”
cowlevel 3 days ago [-]
Not "darkly humorous" but quite possible going by history. Even today most operating systems have "FIPS mode" which cripples cryptography for compliance reasons and is enabled at most government contractors
nl 3 days ago [-]
> Aren't quantum computers far away from anything larger than the toy-iest of problems?
This was true until April this year when announcements from Google and Caltech moved things forward.
> Neither of these results change the basic principles of QC that we’ve known for decades, but they do change the numbers.
> When you put both of them together, Bitcoin signatures for example certainly look vulnerable to quantum attack earlier than was previously known! In particular, the Caltech group estimates that a mere 25,000 physical qubits might suffice for this, where a year ago the best estimates were in the millions. How much time will this save — maybe a year?
> some of the most reputable people in quantum hardware and quantum error-correction—people whose judgment I trust more than my own on those topics—are now telling me that a fault-tolerant quantum computer able to break deployed cryptosystems ought to be possible by around 2029.
..
..
> so, here it is: if quantum computers start breaking cryptography a few years from now, don’t you dare come to this blog and tell me that I failed to warn you. This post is your warning. Please start switching to quantum-resistant encryption, and urge your company or organization or blockchain or standards body to do the same.
AI has accelerated progress in math research by orders of magnitude. It won't be long before it accelerates other research endeavors too.
I personally doubt that quantum computation is going to be relevant for breaking the DLP, but my timelines for when we'd know that for sure have moved up a lot.
3949499559 4 days ago [-]
[dead]
w4der 3 days ago [-]
My baseless, tinfoil hat theory is that some lab found a way to break post-quantum encryption with a regular computer and now the NSA wants everyone to move to post-quantum so they can snoop in. It's the perfect pretext and scare environment to do so.
BoppreH 4 days ago [-]
Isn't the list of classical algorithms the same since 2016 [1]? They've been consistent in recommending RSA-3k and avoiding 256-bit curves for a decade now.
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.
I love it as well, but eMudhra seemed to be more like XKCD fans: https://xkcd.com/221
awesome_dude 4 days 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 4 days 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.
adastra22 4 days ago [-]
I had reasons for making the recommendation I did. It comes down to how much you trust existing constructs and which you find likely to fall apart under AI scrutiny. I trust p384 far more than I trust x25519. (This is surprising even to me! I would not have said this even one year ago.) I don't trust any lattice-based cryptography system at all.
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.
za_creature 4 days ago [-]
If you don't trust lattices, lamport / winternitz + merkle + blake is probably your non-nist-approved pq go-to for the sshd use case where signature size is not that important.
Sadly, we'll have to wait until it gets added.
adastra22 4 days ago [-]
Yes, but there are very few combinations of key systems that are widely supported. The ones I listed should work on any modern and maintained Linux system or cloud service.
And I think the incentives have changed such that it no longer makes sense to be scared of NIST curves. The NSA no longer has an edge.
za_creature 4 days ago [-]
Sure, the P curves have been mostly proven to be safe by now (well, not entirely, the NSA has a history of abusing random number generators)
The question is what to do when they are supposedly scared of their own curves?
adastra22 4 days ago [-]
Someone needs to put together a bunker-mode key exchange algorithm that chains together the highest security, most conservative variants of every hard problem class, classical and quantum. It’s fine if it take 300ms to perform a key exchange or signature validation. You just use it to setup a symmetric session key.
za_creature 4 days ago [-]
As mentioned, that's probably winternitz / merkle since most signature schemes sign a hash and would be compromised if the hash function is.
And we have stronger reasons to believe hash functions are generally safe. But those are one-time signature schemes, so not a drop-in replacement.
za_creature 3 days ago [-]
You can turn them into arbitrary 2^n signatures with a merkle tree.
They don't guarantee confidentiality of course, but your terminal traffic being intercepted by eavesdroppers is a much smaller issue than sshd accepting arbitrary commands from anyone on the internet.
adrian_b 3 days ago [-]
Between computers that are both controlled by you, nothing is more secure than a key-exchange protocol based on pre-shared secret keys, assuming that the protocol is well designed and the key distribution and storage is done correctly.
It is possible to replace fixed pre-shared keys with generators of secret keys used only one time, for the encapsulation of the session keys during a single connection establishment, and it is possible to design this to ensure similar secrecy properties with Diffie-Hellman, against an adversary who controls only the network, not the communicating computers.
iamnothere 3 days ago [-]
Wireguard with optional PSK enabled should provide this, as the PSK is symmetric. Without the PSK it’s just X25519 for the initial key exchange.
Wrapping everything in wireguard+PSK could be a good stopgap.
adgjlsfhk1 3 days ago [-]
I really wish we could get a bigger good PQC curve standardized/pseudo-standardized. E-521, M-511 seem like the best, but IIUC basically no one actually have them implemented.
tesnorindian 3 days ago [-]
Why not FrodoKem?
tptacek 3 days ago [-]
Could you please go into some detail about why the announcement indicated to you that MLKEM "is significantly weaker than NTRU Prime", and what you mean by "significantly"?
adastra22 3 days ago [-]
ML-KEM is now known to not be exponential. The algorithm that proves this is still incomputable in any reasonable amount of time, but it is asymptotically sub-exponential. This is the very normal first stage progression of cryptographic attacks: show via a galactic algorithm that some property doesn't hold, then progressively find better and better refinements until you eventually arrive at a total break.
NTRU Prime is still believed to be exponential.
tptacek 3 days ago [-]
Could you answer the question I posed to you the other day? I asked for the names of two cryptographers who agreed with you about this. You named Scott Aaronson and Daniel Bernstein. Bernstein is no surprise (that's why I asked for two), but Aaronson isn't a cryptographer at all. You replied that you believed he was, because cryptography is "a big tent", and when I pushed, you said Bernstein and Boneh. I asked why you thought Boneh was with you on this, and haven't heard back.
Thanks!
adastra22 3 days ago [-]
Because he's a colleague I know well enough to predict what he might say, but I'm not going to bug him for a quote over an internet comment. Look, here is Schneier saying something on p256 that I think is relevant here:
"Remember that cryptographers have very different definitions of “broken” than regular people do. We think an algorithm is broken is if it weaker than expected, not if it can expose operational systems."
ML-KEM as PQC is broken, by the accepted meaning of the word "broken" as used within cryptographic community. This niche meaning of "broken" has been adopted with good reason: historically most crypto systems are "broken" in this way as the first step in a series of continuous breaks that eventually reduce attack complexity down to a computable range.
Think of it like a terminal cancer diagnosis. Yeah, it's possible you might beat the odds. SHA-2 did, when attacks against reduced-round versions started showing up and that spooked the community into starting the SHA-3 proposal. Yes, that ended up being a nothingburger, but that is the exceptionally rare outcome.
The most likely eventual outcome for most cases is clear from precedent: one theoretical break almost always leads to a cascade of improvements, culminating in a practical attack relatively quickly. Where there is smoke, there is fire, and you should start acting accordingly.
ML-KEM received its terminal cancer diagnosis, and I don't think that this is a controversial statement to any practicing cryptographers.
tptacek 2 days ago [-]
So if I go ask Dan Boneh and show him this post, he'll agree with you?
Also: cryptographers weren't "spooked" by "reduced round attacks on SHA2". It's closer to the truth that cryptographers think it's unlikely it'll ever be broken. The primary motivation for SHA3 was to get out of Merkle Damgard.
adastra22 2 days ago [-]
The SHA-3 competition was started to provide a backup in case SHA-2 was broken. It was only after the Round 3 selection and into the finalist phase that architectural diversity became the focus and primary selection criteria.
tptacek 2 days ago [-]
I'm sorry, can I ask you to answer the question I just posed? You can email me at the address in my profile if you don't want to disclose your name here. We can just ask Boneh directly if he agrees with what you've written.
adrian_b 3 days ago [-]
I have not said that the announcement indicated anything to me.
I said that the Anthropic announcement has confirmed the predictions that this kind of attacks against ML-KEM is possible, predictions that have been done long ago, during the NIST competition.
Comparisons between the mathematical properties of ML-KEM and NTRU Prime can be found in the documents of the NIST competition.
I have read them and I consider that the arguments about ML-KEM being much riskier than NTRU Prime are correct.
I do not believe that there is any non-negligible risk that ML-KEM could be broken in the near future, but I do not see why should I choose consciously an algorithm with worse mathematical properties, when better alternatives exist.
The only argument that is in favor of ML-KEM is that when it is implemented in dedicated hardware, some integer multipliers can be substituted by circuits implementing number-theoretic transforms, which results in a cost reduction.
This will already happen in some future Intel CPUs, probably in the 2028 generation, where a special instruction for number-theoretic transform will be introduced.
That is likely to boost the speed of ML-KEM.
For a server with a very high rate of Internet HTTPS connections and having hardware support for ML-KEM, it may be a reasonable choice to minimize the time and energy spent on connection establishment, so choosing a key encapsulation mechanism based on ML-KEM is appropriate.
On the other hand, when managing my own computers, the overhead of connection establishment is negligible, so I do not care about the most efficient minimum security solution, but I prefer the most secure solution that still has an acceptable cost, which for now is NTRU Prime.
tptacek 3 days ago [-]
You haven't really answered my question so much as restated your original thing in more words. Can you say what aspect of MLKEM you now believe to be inferior to other structured lattices? When you say this, you're making a claim that the CIRG people didn't, so presumably you have something interesting to say here. You're talking about a paper that lays out an attack that is far worse than brute force, and can be launched only with a number of Dyson Spheres requiring more material than exists in the galaxy. You've drawn from that a strong conclusion. I'm wondering how you connect the dots.
I'm looking for something that engages with the paper. Thanks!
adrian_b 2 days ago [-]
I did not answer, because the answer would be too long and it will be equivalent with quoting the documents of the NIST competition.
Anyone interested in the details must read the original documents that describe and analyze the proposals, including Kyber that has become ML-KEM, and NTRU Prime, and think very carefully about which claims are correct and which claims are incorrect.
Each team has argued that their choices are better and the choices of the other teams are worse, but some of the arguments convinced me, including those of the NTRU Prime team, while I disagree with some of the counterarguments.
Whenever I am not constrained by the choices made by others, I never use a cryptographic algorithm based on its preferred status in standards (because most standards are much weaker than the state-of-the-art) or based on hearsay, but only if I study carefully its mathematical basis and I agree that whatever proofs are provided about its mathematical properties are correct and relevant for the application.
That means reading the original proposal of the authors and the many following cryptanalysis research papers.
Most people cannot afford to do that, but using the algorithms standardized for well-known applications like TLS and SSH is sufficient for most purposes, even if suboptimal.
While I consider NTRU Prime mathematically superior to ML-KEM, like also Poly1305 is superior to the GHASH used in GCM (which has a set of weak keys), I believe that NTRU Prime will never become widely used, unless a really practical method were discovered for breaking ML-KEM, which is unlikely.
When I use SSH, if I have the option to choose between NTRU Prime and ML-KEM, I prefer the former, but it is unlikely that I will have frequently the opportunity to make such a choice, because when I control both communicating computers I prefer to avoid completely any public-key algorithms, since they are not necessary or useful in such a scenario.
tptacek 2 days ago [-]
I know you consider NTRUP mathematically superior to MLKEM. What I don't know is why you think that. I don't know what the value of the rest of these paragraphs are. I know why it's important that if one is superior to the other; I don't need that context.
What I want to know is how that paper, which proposes an attack that is not just galactically expensive, but galactically more expensive than brute force, changed how you think about SNTRUP vs. MLKEM.
I'm going to ratchet the question up now: I don't see how it could have, and I'm concerned that these are the kinds of things you could say without really engaging with the paper, but rather just trying to build a case off the hype that preceded the paper. Can you do better at explaining the point you're making? Respectfully: I think you might be bluffing.
mort96 4 days ago [-]
mlkem1024nistp384-sha384? sntrup761x25519-sha512? These cryptographers aren't great at branding are they
some_furry 4 days ago [-]
X25519MLKEM768 was also known as "X-Wing" when it was first specified, but governments, standards bodies, and lawyers are allergic to fun.
throawayonthe 4 days ago [-]
ssh-mldsa44-ed25519
mort96 4 days 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 4 days 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 4 days 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.
adrian_b 3 days ago [-]
What is strictly necessary is to generate new host keys, for ML-DSA.
If you use the default OpenSSH configuration files, I assume that both quantum-resistant key exchange algorithms are enabled, in some default order of preference, and they may be selected when the client and the server negotiate.
The recommendation to edit the configuration files is for those who do not use the default configurations. I am among those, I never use the default configuration files and I disable the majority of the cryptographic algorithms, which I consider deprecated, especially in the server configuration, where I typically enable only a single combination of algorithms, so that any client that does not use it is rejected.
djha-skin 4 days 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.
zeroonetwothree 3 days ago [-]
The only source I could find for this doesn’t say he predicted an order, just that he thought all three were exceptionally challenging
masfuerte 4 days ago [-]
The Riemann Hypothesis did fall after Fermat's Last Theorem, didn't it?
djha-skin 4 days ago [-]
Yes, sorry, I meant to write "before", fixed.
lxgr 3 days ago [-]
We're in P = NP \ {RSA}, obviously. Everything else would be highly inconvenient! /s
int0x29 4 days ago [-]
Just tried to set up ssh-mldsa44-ed25519 and found that neither github nor forgejo supports it.
QuantumNomad_ 4 days 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 4 days ago [-]
Well my host has it but the docker container its running in probably doesn't. I'll need to look
kccqzy 4 days ago [-]
You can still use RSA. I believe I still have a decade-old RSA key that’s 4096 bits. It’s widely supported. In fact TFA says “go to ML-DSA, but if that’s not an option, go to RSA 3072.” It’s a fine stopgap until 2030.
dearing 4 days 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.
Wow I somehow managed to forget azure devops existed until reading this. Thanks, I hate you. Also sending prayers
3 days ago [-]
juped 4 days ago [-]
I'm working on this at Merge Base (to contribute upstream to OTP ssh), Forgejo would probably accept it if someone contributes it to them (I would hope), Github is probably going to be really slow.
galadran 4 days 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 4 days 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.
bawolff 4 days ago [-]
>Who is "everyone"? GitHub and Forgejo don't even support moving to hybrids, if the comments are to be believed. Same for Yubikey
The people you mentioned are the "everyone"
jonathanstrange 4 days ago [-]
It sucks because there is essentially no secure alternative supported on Github.
busterarm 4 days 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 4 days 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?
SV_BubbleTime 4 days ago [-]
Where is 2-4KB a big deal? BLE, Lora, serial interfaces to HSMs…
4 days ago [-]
busterarm 4 days ago [-]
and SIP. Specifically STIR/SHAKEN. Imagine the volume spike in robocalls :D
Plus the packet fragmentation issues.
breakwaterlabs 4 days ago [-]
I'm not sure it actually matters there.
Are we concerned that phone spammers are going to use quantum compute to crack private keys, so that they can spam call you some more?
mort96 4 days ago [-]
Adding 2-4k of inbound traffic to every HTTPS handshake sounds potentially significant
shimman 3 days ago [-]
With the amount of malware/adware that goes over HTTPS, sounds like a them problem.
busterarm 4 days 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.
4 days ago [-]
g-b-r 4 days ago [-]
Great...
dgellow 4 days ago [-]
Is the switch to MLKEM768-X25519 complicated? Genuine question
mort96 4 days 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...
kbolino 4 days ago [-]
MLKEM768-X25519 is a key exchange algorithm. If you have TLS 1.3 enabled, and both server and client support it, then it can be used, regardless of the certificate.
4 days ago [-]
d1sxeyes 4 days ago [-]
From what?
4 days ago [-]
insanitybit 4 days ago [-]
You should be moving to ML-KEM. The hybrid option is only an option if you find it easier.
tgsovlerkhgsel 4 days 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).
tptacek 3 days ago [-]
There's no "hybrid instead". Even NSA says use hybrids if that's what's going to get you onto PQC at this point. This hybrid thing is an entirely fake controversy. All mainstream PQC deployments are already hybrids.
cowlevel 3 days ago [-]
It's not entirely fake, the NSA even sabotaged the TLS 1.3 standard to get a non-hybrid mode added.
tptacek 3 days ago [-]
That's not sabotage. The USG uses non-hybrid MLKEM internally. You don't.
insanitybit 4 days ago [-]
I mean, it's also what cryptographers writ large say.
xphos 4 days ago [-]
Yeah I don't like the reasoning given here. Being PQC doesn't mean these are inherently more secure classically. We just know elliptical curves have a quantum weakness. But we do not know for certain if PQC or classical algorithms cannot be broken with some classical algorithm. AI existing doesn't change that fact unless it breaks those algorithms
keito 4 days 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
If you upgraded from an earlier macOS, it would have preserved earlier config files, so that might explain it. I heard from someone who upgraded from ~M1 era macOS to Golden Gate that they didn't have this line. But on all my machines where I've done a fresh install of Golden Gate, ECDH with P-256 is the default.
zamadatix 4 days ago [-]
macoS 27.2.1 for me showed ecdh-sha2-nistp256 when connecting to my server without GP's line in the config and mlkem768x25519-sha256 after adding the config.
OpenSSH_10.5p1
segmondy 4 days 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.
urba_ 4 days 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)
le-mark 4 days ago [-]
> My biggest tell would be when people start draining Satoshi-era Bitcoins
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.
Y_Y 3 days ago [-]
What if you just shorted Bitcoin first? Even if you had this advantage you couldn't assume it would last very long.
lxgr 3 days ago [-]
Are you sure any crypto exchange would survive the fall of Bitcoin long enough for you to ever cover and cash out that short?
Y_Y 3 days ago [-]
You could borrow the Bitcoin, cash it out, then crash the market.
lxgr 3 days ago [-]
But to do that, you need to post collateral to the very exchange your actions might destabilize...
Y_Y 3 days ago [-]
They shouldn't be able to keep your collateral if you can buy back their coins cheap.
Anyway it turns out there's q super liquid futures market on these things and you can just buy a load of puts that go through a regulated clearinghouse.
lxgr 3 days ago [-]
The price crashing seems unavoidable from a game theory perspective, though. (Anybody with the capability has a choice of extracting a little bit of profit while burning it all down or doing nothing and seeing their rivals do it.)
jpdus 3 days ago [-]
not yet drained, but some Satoshi-era BTC is moving already:
If that happens civilization is in big trouble. Apocalyptic trouble. Not just BTC but most of crypto would collapse as they suddenly become useless. World stock markets as well because at that point no encryption, thus your money, would be safe. Any server or any thing stored in the cloud could be owned. Previously secured messages decrypted.
Highly unlikely BTC crypto gets cracked even with quantum computing, but It’s a mess I don’t even want to think about.
cesarb 4 days ago [-]
> World stock markets as well because at that point no encryption, thus your money, would be safe.
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.
za_creature 4 days ago [-]
With banks transitioning to phone based apps, anyone on the same wifi will be able to grab your bank token and use it to send money to their accounts.
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.
jcranmer 4 days ago [-]
Cracking a bitcoin wallet or similar with $100 million sitting in it is something worth spending $100k or so to achieve, you've got a large potential payout. Cracking someone's bank account probably won't even net you the cost you spent cracking it, because people don't keep that much cash in their accounts.
za_creature 4 days ago [-]
Cracking the bank's certificate allows you to mitm any bank client in close proximity.
Pay the supposed 100k once, then shop around for the richest people you can be in a room with.
0c3ca83 3 days ago [-]
We already support PQ crypto in TLS. The bank's keys aren't static, and the tokens can be expired. Fraudulent transactions can be reversed.
The impact is that people will need to log in to their bank again, maybe using a password or otp instead of a passkey.
With blockchains, the whole chain needs to be rewritten, or bootstrapped off the data in the old chain, with new identitie iss bound to the old, broken identities somehow.
For blockchain, this is catastrophic. For traditional banking, it's a rough month or two.
philipwhiuk 3 days ago [-]
Sure and then they provide good evidence they didn’t do it, they look where the money went and you go to jail.
Banks are ultimately protected by the law and walls, not crypto
TedDoesntTalk 3 days ago [-]
Lookup ACATS theft. Applies to brokerages, though, not banks.
cowlevel 3 days ago [-]
You still have to send their PIN number to the server which will lock you out after 3 attempts and make you call customer support
za_creature 3 days ago [-]
That unfortunately depends on the bank. In many cases, the pin is a local security mechanism that can optionally be bypassed by biometrics like fingerprints and / or face recognition.
Bank apps primarily rely on attestation, which is why none of them work with a rooted phone.
Klonoar 3 days ago [-]
You write this as if the only thing a bank cares about is whether you supply a token.
I hold decent money in several and getting any of them to move it is a pain in the ass. Banks are very careful about this stuff for a reason.
za_creature 3 days ago [-]
Mine isn't. It went from an external, isolated, TOTP device to "your phone is safer, you have pin codes and face recognition and such and such".
0c3ca83 4 days ago [-]
The tokens can be expired, and you get a new one over PQC TLS.
za_creature 4 days ago [-]
Well of course, if you fix it then it's fixed. More news at 11.
0c3ca83 3 days ago [-]
It's a low impact fix: users see a log out/log in. You swap a token. Time sensitive, but not apocalyptic. And fraudulent transfers in that window can be reversed.
Fixing blockchains means rewriting the whole thing. There's no practical option to do it.
za_creature 3 days ago [-]
We are entertaining a hypothetical where ECC is broken. This doesn't just mean that the ECDH exchange is insecure, it also means that the bank's TLS certificate can be impersonated. Hell, the root CAs can be impersonated as well. Fixing that is not as easy as swapping a token, you'd need to revoke a considerable chunk of previously valid trust anchors, presumably through client updates since... who exactly is signing off on the revocation of a root key?
In this scenario there's also no reason to believe that ECC is broken but other cryptography is safe. Most PQC has been rushed into service, it's not impossible that there are other landmines hidden in there.
0c3ca83 3 days ago [-]
We already have PQ certs. Rotate them. People on old devices will need to upgrade.
za_creature 3 days ago [-]
You clearly made up your mind on this, there's little point in talking about it.
There is nothing stopping a blockchain from issuing new PQ wallets. People on old devices will need to update by transferring their wallets onto the new format. All funds not transferred before block number X are considered inaccessible.
As I said, if you fix it then it's fixed. If you don't it's a bad fucking day.
0c3ca83 3 days ago [-]
Make sure to tell satoshi.
And that's the difference.
pcthrowaway 4 days ago [-]
> With banks transitioning to phone based apps, anyone on the same wifi will be able to grab your bank token and use it to send money to their account
Maybe don't share a wifi network with someone operating (or who might have access to) a multi-million-dollar quantum computer and you're probably fine?
I guess airports are still places of concern, but even then, the attacks have to be targeted (your session cookies are encrypted on each request with a TLS session's keys unique to your TLS session), and there is probably someone with more net worth at the airport than you.
And if your bank is tying the session cookies to a fingerprint, they'd have to spoof your device characteristics as well (another science in and of itself)
Probably any attempt to exfiltrate someone's banking session cookies would take longer than the session time to live
I guess the concern is that if symmetric key encryption has also fallen, someone could decrypt your private communications and then determine your 2fa key? Again, seems like it would need to be a very expensive exploit that would need to be targeted for unique circumstances.
I imagine the banks will be onto PQC before such an exploit is feasible. I do think blockchains are going to be the focus of very well-resourced attackers here, as updating them will be slow.
Come to think of it, the simplest way to MITM someone using their bank is probably still to mitm users on the same network with that leaked root cert
amluto 4 days ago [-]
I think civilization would survive a complete failure of cryptocurrency.
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.
int0x29 4 days 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)
wk_end 4 days 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?
adgjlsfhk1 4 days 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 4 days 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.
benmmurphy 4 days ago [-]
and curves over fields where the size of the curve is the same as the size of the underlying field.
SSLy 4 days ago [-]
Perhaps it's something like reduction of security, that is P-256 becomes 64b or smaller, while P-384 is an okay 128b?
quotedsource 3 days ago [-]
That's Valsorda's reading of the advisory, and he calls it "reading between the lines", "likely broken or significantly weaker than we thought". Also, the NSA itself names no broken algorithm (Source: https://words.filippo.io/nsa-advisory/)
nickysielicki 4 days ago [-]
The best advice is just monitor what Anthropic and OpenAI are deploying publicly.
What are they doing?
_kb 4 days ago [-]
Based on the recent model escapes from training environments, I’m not entirely certain looking to them for security guidance is sound.
globular-toast 3 days ago [-]
It's funny if RSA-4096 is still ok for now. I remember generating my first ever RSA keypair over 20 years ago and opted for 4096 because it was "most secure". I observed that my pubkey was huge compared to most people and eventually used shorter ones (default settings usually) and then moved to ed25519 which I thought had amazingly short keys. Funny how things turn out sometimes.
chinathrow 4 days ago [-]
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 4 days 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.
vessenes 3 days ago [-]
Innocent, or mined for useful features. Lest you think I'm wearing a tinfoil hat, DES' S-boxes were optimized against differential cryptanalysis almost 20 years before differential analysis became widely known.
gpm 4 days 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/
nullc 4 days 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.
jennebde 3 days ago [-]
Thank you for writing this Greg, I agree with your position. Omission does not confer vulnerability. Let’s be sensible
in an environment where the adversary has an great incentive for you to make the wrong move.
I am highly alarmed by the establishments’ disregard for hybrids.
I'm fixing key exchange first. It is important to stop using P-256.
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:
Thanks Filippo, and all the best to anyone dealing with this situation. Doesn’t sound fun
jdthedisciple 4 days 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 4 days 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 4 days ago [-]
He does say to read between the lines. Canary for those is dead.
snowwrestler 4 days ago [-]
To treat it as a canary you need to compare to the last time it was seen alive. When did NSA last recommend those 256-bit curves? If it was last week, yeah that’s a big signal. If it was 10 years ago… hard to say the canary got killed today.
Important caveat is that Filippo might have eyes on canaries that most of us can’t see.
markhahn 4 days 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?
bigfatkitten 4 days ago [-]
Because the memo is specifically about National Security Systems (ie systems that handle classified US Government information).
Curve25519 and friends have never been approved for use on those systems in the first place, but they often end up enabled by default.
o_nate 4 days ago [-]
> Again, this is a "get off 256-bit elliptic curve" advisory.
Isn't that what bitcoin uses to sign all transactions?
oynqr 4 days ago [-]
Time to buy the dip!
mike_hearn 4 days 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.
lesspassiveobse 4 days ago [-]
The block size is the least of the problems. The EC key is the ONLY thing that ties bitcoins to their owners. EVERYONE would have to send their bitcoin to a new-algo-address, before the weakness was published. Otherwise they could be stolen. And a large part of all bitcoins (most of them?) are stuck in addresses that people don't have keys to (satoshi, broken hard drives, burn addresses, etc.), so they WOULD get stolen and likely impact the price when being sold unless they enforced some deadline after which EC keys got rejected. (And that would leave people scrambling to get into the blockchain, making fees crazy)
nemo1618 4 days ago [-]
Not exactly. It depends on how viable it is to break a key in practice.
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)
petcat 4 days ago [-]
> so they WOULD get stolen and likely impact the price
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.
mike_hearn 3 days ago [-]
The problem is that because they won't increase the block size the weight of people moving to and using post-quantum algorithms would push up fees and create so much congestion, that it would create an inevitable group of losers (assuming ECC actually does meaningfully weaken). Even people protecting their keys would need to rotate them, but it'd create an endless bidding war that some people must lose.
All this is deeply unnecessary. The insistence on never raising the block size is entirely psychological, it's how Blockstream and their "allies" were able to hijack the Bitcoin community and destroy it, so they will never let it go even though it makes zero sense from an engineering perspective. It would be fitting if the transition to PQ cryptograhy ends up wrecking what very little is left of the system's usage.
blaind 4 days 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?
asveikau 3 days ago [-]
Your last bullet point makes me think:
Give github an SSH key that isn't used in any other service.
cowlevel 3 days ago [-]
worse, people often just have one key and access the project server with the same key that accesses github
kzrdude 3 days ago [-]
That just means, be ready for a day when github suddenly invalidates all configured ssh keys.
jmclnx 4 days 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 4 days 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 4 days 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 4 days 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 4 days 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 4 days 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.
Merrill 3 days ago [-]
What algorithms are being recommended by other nation's Security Agencies and by non-state organizations, especially ones adversarial to the United States?
BretonForearm 3 days ago [-]
Is there an even more down to earth explanation for mortals? Like, do/don't buy this hardware token device for logging into your bank account.
NoPicklez 3 days ago [-]
I have been working with a number of large organisations around post quantum cryptography risk. This was already an area of risk being actively required to be managed here in Australia. Our NSA equivalent the ASD had already advised Government to transition away from traditional asymmetric cryptography to post-quantum cryptography by 2030.
What the NSA advisory helps is large vendors changing their cryptographic standards.
hn_submit 3 days ago [-]
To be honest I've never trusted elliptic curves much and this advisory has strengthened my belief that they're brittle.
I've always preferred to stay with RSA since it's based on the age-old problem of prime number factorization. Yes, methods to find them have improved, but not to the extent that the scheme has become vulnerable providing you use sufficiently long keys.
xpct 3 days ago [-]
Why were you distrustful? Going on a hunch, or were you in the weeds of cryptography?
xinayder 3 days ago [-]
Can someone explain to me how RSA-2048 or higher or even P-384 is safer than ECC?
I honestly don't get it, aren't those deprecated algos that are weaker since it's possible to factorize the prime factors p and q?
hn_submit 3 days ago [-]
It's possible, just not within any reasonable time span. That's the whole point of cryptography...which you somehow missed.
xinayder 3 days ago [-]
It's not that. We've had advisories and recommendations to move to ECDSA because they are harder to break than RSA, and now some people are saying we should move back to RSA because apparently the strongest EC algo we used, Ed25519/X25519 are not as stronger as the weak RSA algos?
hn_submit 3 days ago [-]
There has never been any definitive proof that Elliptic Curve Cryptography is harder to break than RSA. ECC is mostly used in mobile applications because of its smaller key size, but even that is questionable given today's internet speeds.
pavinjoseph 3 days ago [-]
So confused right now!
kriro 3 days ago [-]
This will be an interesting use-case and dataset regarding "market panics" looking at the crypto market and comparing it with how the news spreads and is picked up by mainstream media etc.
Madmallard 3 days ago [-]
What my friend who works in security says is that he thinks quantum tech probably will just scale up in the future but they can harvest all the data now and crack it later so it's already bad.
contubernio 3 days ago [-]
Can someone knowledgeable answer: what are the implications for personal digital certificates emitted by EU governments for citizen use? Please suppose a realistic model of institutional competence.
meindnoch 3 days ago [-]
Retroactively voided in most jurisdictions.
devy 3 days ago [-]
I wander what's Daniel J. Bernstein (djb)'s take on the recent events, after all he proposed elliptic curve Curve25519 amongst many other things.
> update OpenSSH to 10.6 and rotate to ssh-mldsa44-ed25519 keys
Just note: Debian Trixie OpenSSH is based on 10.0p1 which does not seem to have support for this.
Sprocklem 1 days ago [-]
trixie-backports now has 10.6p2, if you'd like to upgrade. That doesn't help with the many services that don't yet support ssh-mldsa44-ed25519, though.
maratc 4 days 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 4 days ago [-]
PubkeyAcceptedAlgorithms ^ssh-mldsa44-ed25519
HostKeyAlgorithms ^ssh-mldsa44-ed25519
KexAlgorithms ^mlkem768x25519-sha256
#^sntrup761x25519-sha512 is probably ok too
and be on 10.6+
maratc 4 days ago [-]
Yeah, 8.7 is what I have on servers and 9.9 as a client.
SSLy 4 days ago [-]
then ask your distro for backports, or have a clanker whip up one. I will.
maratc 3 days ago [-]
Is there a practical combination for the meantime that would not be as bad as the default one (even if not as good as the desired one)?
SSLy 3 days ago [-]
If I'm reading the announcement correctly, it's to use RSA-4096 and SHA-512/256 where feasible.
4 days ago [-]
rao-v 4 days ago [-]
So this is a bit odd to me (outsider, no expert). NIST accepted ed25519 in 2022, NSA has never considered it for it’s shortlist (some wierd internal consistency with their past preferences thing, unlikely to be secret info).
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.
computerfriend 3 days ago [-]
Ed25519 has a security level of 128 bits. The advisory suggests that NSA now considers this too low.
rao-v 3 days ago [-]
It always has (since like 2015)! This is not new signal it's restating policy that's long standing
Or do we just wait to see if the Satoshi wallets vanish into NSA coffers?
4 days ago [-]
m000 4 days 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>
kps 4 days ago [-]
> Is NSA immune to influence from the current administration?
They're the NSA. They've got the dirt on everyone.
hinkley 3 days ago [-]
Technobabble is remarkably impenetrable. And without Musk around I don’t see who they have to be a dismissive prat.
BLKNSLVR 4 days ago [-]
They used the acronym SI, therefore they have bent the knee.
bigstrat2003 3 days ago [-]
There's no "bending the knee" involved in doing the thing your boss has directed that you must do. He's your boss; unless you're being directed to do something unethical or illegal it's completely reasonable to comply.
cowlevel 3 days ago [-]
You are describing bending the knee.
mort96 4 days 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.
DebtDeflation 4 days ago [-]
My first thought on seeing the announcement was that Trump and his cronies loaded up on QC and AI stocks immediately before ordering the NSA to make the announcement.
ComputerGuru 4 days 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.
dwaite 3 days ago [-]
Basically RSA is PQ-unsafe, but the key size can be increased to pace above where the size of the post quantum computer is practical.
ECC size increases require migrating to a new curve aka new software/hardware. Rather than do that, the push is to move to a post quantum algorithm.
insanitybit 3 days ago [-]
RSA migration is still heavily encouraged, with 2048 being deprecated in 2031.
commandersaki 4 days ago [-]
I don't think NSA has any original view here, probably just regurgitating the concerns that Google said earlier in the year of getting off QC by 2030.
I am completely unconvinced that by 2030 we'll have anything near a CRQC.
voidUpdate 3 days ago [-]
Isn't one of the NSAs jobs to read encrypted transmissions? Doesn't it make their job harder if we all use better encryption?
polytely 3 days ago [-]
Yeah I think we should listen to their warnings but not follow their advice for how to solve it.
3 days ago [-]
karel-3d 4 days 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?
There will be wireguard v2. The plan was always to have new protocol instead of negotiations. Such protocols always have the strenght of the weakest enabled protocol and adds new atack vectors.
marisen 4 days ago [-]
You can add a symmetric key to wireguard configs for PQC, used in addition to ECC.
karel-3d 3 days ago [-]
yeah but you need to share things out of band in an undetermined way. or run some scripts from github.
but anyway it seems they are moving into PQ now
neuroelectron 3 days ago [-]
You know that encryption we backdoored? AI probably figured our backdoor out by now.
baggy_trough 4 days ago [-]
Wonderful, now we're supposed to move to algorithms that release Debian doesn't have.
Well openssh 10.6 is currently in testing and might make its way into stable-backports soon.
baggy_trough 4 days ago [-]
Good news.
raxxorraxor 3 days ago [-]
Goodbye my cute and short ssh keys :(
So RSA4096 is now the recommendations?
iamnothere 3 days ago [-]
Unfortunately larger RSA keys only provide marginal improvements against quantum attacks.
meindnoch 3 days ago [-]
RSA16384 if you want to be future-proof.
apaprocki 4 days ago [-]
Their unusually urgent wording suggests they're spooked about RSA and/or ECC plausibly falling sooner than expected and simultaneously requiring ... let's just say, non-galactic resources.
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.
I didn't see anything that looks different than their current PQ guidance other than timelines. More likely they are seeing feasible higher qubit computers faster on the roadmap than previously anticipated, and optimizations of algorithms to require significantly fewer qubits.
Each advance moves the timeline forward, and now its been moved far enough forward that we have missed a checkpoint.
Overpower0416 3 days ago [-]
It might be related to the recent hacks on federal systems, including the NSA. They could have stolen backdoors to NIST elliptic curves. This is just my pure speculation based on the timing of things
4 days ago [-]
lousken 3 days ago [-]
Hey Azure, can you wake up? NSA is calling
upofadown 4 days ago [-]
So the NSA is throwing out broad hints with the hope that they will lead to unsubstantiated rumours? That's what is supposed to be happening here?
How would that help anything?
autoexec 4 days ago [-]
> So the NSA is throwing out broad hints with the hope that they will lead to unsubstantiated rumours? That's what is supposed to be happening here? 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.
As a conspiracy theorist I'm calling it another move to keep the AI bubble from popping. The more we talk about it the less it is likely to happen.
threethirtytwo 3 days ago [-]
Wait what math discovery made these encryption algorithms weaker than we thought?
corndoge 3 days ago [-]
it is a mystery ~
mikece 4 days 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 4 days 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 4 days 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 4 days 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 4 days 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.
3 days ago [-]
free_bip 4 days 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 4 days 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 4 days 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.
aphysically 4 days ago [-]
I think maybe the best thing to do is to watch what other people do that are likely to have received disclosures or side channel pressure to move. Do all the 256-bit ECC stakeholders suddenly make movements? That might be the more convincing signal for me.
bigfatkitten 4 days ago [-]
They stopped recommending 256 bit ECC a decade ago.
I read this more as a well-timed hurry-up for vendors in particular, because right now the 2035 deadline is impossible to meet even on new, greenfields systems.
3 days ago [-]
yinyang1021 3 days ago [-]
[dead]
mangod12 4 days ago [-]
[dead]
2883 4 days ago [-]
[dead]
rramadass 3 days ago [-]
[dead]
ravivarmat 3 days ago [-]
[dead]
mamamias 2 days ago [-]
[dead]
4 days ago [-]
ath3nd 4 days ago [-]
[dead]
treetalker 4 days 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
bongoman42 4 days ago [-]
This is like the rumblings being heard in November/December before full blown COVID got underway. I suspect RSA is done.
mort96 4 days ago [-]
What then would be the reason for why the NSA talks about moving to RSA in their advisory?
what 4 days ago [-]
They don’t though? They say if you can’t upgrade to pqc, you can use rsa 3072 for the time being. They also say you can use p386 in such situations.
MiroslavPokorny 4 days ago [-]
The NSA is no different from any other US government body, they understand they have their positions because Trump says so. We all know that Trump is heavily invested in AI and given the last month and AI falls, they need another hype to reverse this change. This statement is of course unsubstantiated, its simply words on a paper, trying to change perception and help Big Tech.
fbkugfkkk 3 days ago [-]
[dead]
hinkley 3 days ago [-]
I’d say there’s a 70% chance that’s not actually true but a 30% chance it is makes us morons for listening to them. We are the frog and they have proven they are the scorpion.
Strictly speaking they need our communications secure and everyone else’s o secure which is a delicate dance when algorithm rotation is so dreadfully slow.
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.
There are also theoretical attacks where SHA2 nominally provides 256-bit preimage resistance, but because of multicollisions etc you get much less than 256-bit security (but usually more than 128-bit).
Right, but only if collision attacks are in scope. In some systems the attacker's capabilities or the requirements of the system might mean that an ordinary collision attack doesn't break it, and the required security is first-preimage, second-preimage, target-collision, pseudorandomness if the hash function is keyed, etc etc. In those applications one might hope SHA-256 would have 256 bits of security, and in particular it was designed and is still claimed to have 256-bit security vs preimages.
But in e.g. SLH-DSA (NIST's most conservative standard postquantum signature scheme), according to https://eprint.iacr.org/2022/1061, SHA-256's short chaining state limits its security to more like 200 bits, while some other 256-bit hash functions (truncated SHA-512, or SHAKE-256) are expected to attain the full security strength. For this reason NIST limited SHA-256 to the 128-bit security level of SLH-DSA. Higher security levels use SHA-512 truncated to 192 or 256 bits, or SHAKE-256 with 192- or 256-bit output. You wouldn't want to actually output wider hashes in an SLH-DSA signature (eg full SHA-512), because the signature is an array of hundreds of hashes and is already annoyingly large.
Edited for clarity.
Why? Length extension attack is not considered a vulnerability, at least in theory. In practice it's an unneeded footgun, so newer hash algorithms don't have this property. But AFAIK it's trivial to perform HLE on SHA256 since it's a merkle-damgard construction.
Edit: I still would like to stress a point though. Length extension attacks are an actual vulnerability. It is just that there are scenarios in which the way the hash function is used makes them irrelevant. But in other cases can be an actual problem
This has been the standing guidance since December, 2024.
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.
Damien Miller (of (portable) OpenSSH) has a IETF draft for "ssh-mldsa87-p384" (etc), so it seems like it's on the radar:
* https://datatracker.ietf.org/doc/draft-ietf-sshm-composite-s...
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]
[1] https://www.yubico.com/pqc-beta-program/
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/
1: https://github.com/Nitrokey/opcard-rs/issues/239
2: https://github.com/Nitrokey/nethsm/issues/12
the hardware key / HSM thing is a real big problem though
Hard to publish proof of breakage without giving power to your adversaries.
Speaking hypothetically, if adversaries A & C already know how to break something, but B & D do not, publishing proof of breakage would cede power to B & D.
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
For practical quantum computing, are there any particularly significant breakthroughs this year that have made cryptographers freak out, where they may not have previously been worried in 2025? For example, does something like Jiuzhang 4.0 move timelines forward significantly?[1][2] There are however all sorts of consequential sounding improvements coming out in rapid fire such as faster quantum operations/faster qubit resets, so perhaps it's more of a feeling of current pace of improvements rather than any single experimental quantum computer that has been built?
[1] https://english.cas.cn/newsroom/headlines/202605/t20260514_1...
[2] Liu, HL., Su, H., Deng, YH. et al. Gaussian boson sampling with 1,024 squeezed states in 8,176 modes. Nature 653, 687–692 (2026). https://doi.org/10.1038/s41586-026-10523-6
> 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.
This was true until April this year when announcements from Google and Caltech moved things forward.
> Neither of these results change the basic principles of QC that we’ve known for decades, but they do change the numbers.
> When you put both of them together, Bitcoin signatures for example certainly look vulnerable to quantum attack earlier than was previously known! In particular, the Caltech group estimates that a mere 25,000 physical qubits might suffice for this, where a year ago the best estimates were in the millions. How much time will this save — maybe a year?
https://scottaaronson.blog/?p=9665
> some of the most reputable people in quantum hardware and quantum error-correction—people whose judgment I trust more than my own on those topics—are now telling me that a fault-tolerant quantum computer able to break deployed cryptosystems ought to be possible by around 2029. .. ..
> so, here it is: if quantum computers start breaking cryptography a few years from now, don’t you dare come to this blog and tell me that I failed to warn you. This post is your warning. Please start switching to quantum-resistant encryption, and urge your company or organization or blockchain or standards body to do the same.
https://scottaaronson.blog/?p=9718
I personally doubt that quantum computation is going to be relevant for breaking the DLP, but my timelines for when we'd know that for sure have moved up a lot.
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:
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.
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.
Sadly, we'll have to wait until it gets added.
And I think the incentives have changed such that it no longer makes sense to be scared of NIST curves. The NSA no longer has an edge.
The question is what to do when they are supposedly scared of their own curves?
https://en.wikipedia.org/wiki/Hash-based_cryptography
They don't guarantee confidentiality of course, but your terminal traffic being intercepted by eavesdroppers is a much smaller issue than sshd accepting arbitrary commands from anyone on the internet.
It is possible to replace fixed pre-shared keys with generators of secret keys used only one time, for the encapsulation of the session keys during a single connection establishment, and it is possible to design this to ensure similar secrecy properties with Diffie-Hellman, against an adversary who controls only the network, not the communicating computers.
Wrapping everything in wireguard+PSK could be a good stopgap.
NTRU Prime is still believed to be exponential.
Thanks!
"Remember that cryptographers have very different definitions of “broken” than regular people do. We think an algorithm is broken is if it weaker than expected, not if it can expose operational systems."
https://www.schneier.com/blog/archives/2026/12/nsa-urging-tr...
ML-KEM as PQC is broken, by the accepted meaning of the word "broken" as used within cryptographic community. This niche meaning of "broken" has been adopted with good reason: historically most crypto systems are "broken" in this way as the first step in a series of continuous breaks that eventually reduce attack complexity down to a computable range.
Think of it like a terminal cancer diagnosis. Yeah, it's possible you might beat the odds. SHA-2 did, when attacks against reduced-round versions started showing up and that spooked the community into starting the SHA-3 proposal. Yes, that ended up being a nothingburger, but that is the exceptionally rare outcome.
The most likely eventual outcome for most cases is clear from precedent: one theoretical break almost always leads to a cascade of improvements, culminating in a practical attack relatively quickly. Where there is smoke, there is fire, and you should start acting accordingly.
ML-KEM received its terminal cancer diagnosis, and I don't think that this is a controversial statement to any practicing cryptographers.
Also: cryptographers weren't "spooked" by "reduced round attacks on SHA2". It's closer to the truth that cryptographers think it's unlikely it'll ever be broken. The primary motivation for SHA3 was to get out of Merkle Damgard.
I said that the Anthropic announcement has confirmed the predictions that this kind of attacks against ML-KEM is possible, predictions that have been done long ago, during the NIST competition.
Comparisons between the mathematical properties of ML-KEM and NTRU Prime can be found in the documents of the NIST competition.
I have read them and I consider that the arguments about ML-KEM being much riskier than NTRU Prime are correct.
I do not believe that there is any non-negligible risk that ML-KEM could be broken in the near future, but I do not see why should I choose consciously an algorithm with worse mathematical properties, when better alternatives exist.
The only argument that is in favor of ML-KEM is that when it is implemented in dedicated hardware, some integer multipliers can be substituted by circuits implementing number-theoretic transforms, which results in a cost reduction.
This will already happen in some future Intel CPUs, probably in the 2028 generation, where a special instruction for number-theoretic transform will be introduced.
That is likely to boost the speed of ML-KEM.
For a server with a very high rate of Internet HTTPS connections and having hardware support for ML-KEM, it may be a reasonable choice to minimize the time and energy spent on connection establishment, so choosing a key encapsulation mechanism based on ML-KEM is appropriate.
On the other hand, when managing my own computers, the overhead of connection establishment is negligible, so I do not care about the most efficient minimum security solution, but I prefer the most secure solution that still has an acceptable cost, which for now is NTRU Prime.
I'm looking for something that engages with the paper. Thanks!
Anyone interested in the details must read the original documents that describe and analyze the proposals, including Kyber that has become ML-KEM, and NTRU Prime, and think very carefully about which claims are correct and which claims are incorrect.
Each team has argued that their choices are better and the choices of the other teams are worse, but some of the arguments convinced me, including those of the NTRU Prime team, while I disagree with some of the counterarguments.
Whenever I am not constrained by the choices made by others, I never use a cryptographic algorithm based on its preferred status in standards (because most standards are much weaker than the state-of-the-art) or based on hearsay, but only if I study carefully its mathematical basis and I agree that whatever proofs are provided about its mathematical properties are correct and relevant for the application.
That means reading the original proposal of the authors and the many following cryptanalysis research papers.
Most people cannot afford to do that, but using the algorithms standardized for well-known applications like TLS and SSH is sufficient for most purposes, even if suboptimal.
While I consider NTRU Prime mathematically superior to ML-KEM, like also Poly1305 is superior to the GHASH used in GCM (which has a set of weak keys), I believe that NTRU Prime will never become widely used, unless a really practical method were discovered for breaking ML-KEM, which is unlikely.
When I use SSH, if I have the option to choose between NTRU Prime and ML-KEM, I prefer the former, but it is unlikely that I will have frequently the opportunity to make such a choice, because when I control both communicating computers I prefer to avoid completely any public-key algorithms, since they are not necessary or useful in such a scenario.
What I want to know is how that paper, which proposes an attack that is not just galactically expensive, but galactically more expensive than brute force, changed how you think about SNTRUP vs. MLKEM.
I'm going to ratchet the question up now: I don't see how it could have, and I'm concerned that these are the kinds of things you could say without really engaging with the paper, but rather just trying to build a case off the hype that preceded the paper. Can you do better at explaining the point you're making? Respectfully: I think you might be bluffing.
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.
If you use the default OpenSSH configuration files, I assume that both quantum-resistant key exchange algorithms are enabled, in some default order of preference, and they may be selected when the client and the server negotiate.
The recommendation to edit the configuration files is for those who do not use the default configurations. I am among those, I never use the default configuration files and I disable the majority of the cryptographic algorithms, which I consider deprecated, especially in the server configuration, where I typically enable only a single combination of algorithms, so that any client that does not use it is rejected.
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.
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...
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.
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.
Not doing any key exchange means? Hopefully static, rarely changed symmetric keys?
Plus the packet fragmentation issues.
Are we concerned that phone spammers are going to use quantum compute to crack private keys, so that they can spam call you some more?
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
OpenSSH_10.5p1
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.
Anyway it turns out there's q super liquid futures market on these things and you can just buy a load of puts that go through a regulated clearinghouse.
https://x.com/Geiger_Capital/status/2128374878151770601?a=jj...
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.
Pay the supposed 100k once, then shop around for the richest people you can be in a room with.
The impact is that people will need to log in to their bank again, maybe using a password or otp instead of a passkey.
With blockchains, the whole chain needs to be rewritten, or bootstrapped off the data in the old chain, with new identitie iss bound to the old, broken identities somehow.
For blockchain, this is catastrophic. For traditional banking, it's a rough month or two.
Banks are ultimately protected by the law and walls, not crypto
Bank apps primarily rely on attestation, which is why none of them work with a rooted phone.
I hold decent money in several and getting any of them to move it is a pain in the ass. Banks are very careful about this stuff for a reason.
Fixing blockchains means rewriting the whole thing. There's no practical option to do it.
In this scenario there's also no reason to believe that ECC is broken but other cryptography is safe. Most PQC has been rushed into service, it's not impossible that there are other landmines hidden in there.
There is nothing stopping a blockchain from issuing new PQ wallets. People on old devices will need to update by transferring their wallets onto the new format. All funds not transferred before block number X are considered inaccessible.
As I said, if you fix it then it's fixed. If you don't it's a bad fucking day.
And that's the difference.
Maybe don't share a wifi network with someone operating (or who might have access to) a multi-million-dollar quantum computer and you're probably fine?
I guess airports are still places of concern, but even then, the attacks have to be targeted (your session cookies are encrypted on each request with a TLS session's keys unique to your TLS session), and there is probably someone with more net worth at the airport than you.
And if your bank is tying the session cookies to a fingerprint, they'd have to spoof your device characteristics as well (another science in and of itself)
Probably any attempt to exfiltrate someone's banking session cookies would take longer than the session time to live
I guess the concern is that if symmetric key encryption has also fallen, someone could decrypt your private communications and then determine your 2fa key? Again, seems like it would need to be a very expensive exploit that would need to be targeted for unique circumstances.
https://news.ycombinator.com/item?id=50739600
Come to think of it, the simplest way to MITM someone using their bank is probably still to mitm users on the same network with that leaked root cert
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.
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.
What are they doing?
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.
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.
I am highly alarmed by the establishments’ disregard for hybrids.
https://www.nist.gov/news-events/news/2026/10/nist-report-pr...
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 *
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?
Curve25519 and friends have never been approved for use on those systems in the first place, but they often end up enabled by default.
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.
All this is deeply unnecessary. The insistence on never raising the block size is entirely psychological, it's how Blockstream and their "allies" were able to hijack the Bitcoin community and destroy it, so they will never let it go even though it makes zero sense from an engineering perspective. It would be fitting if the transition to PQ cryptograhy ends up wrecking what very little is left of the system's usage.
- 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?
Give github an SSH key that isn't used in any other service.
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.
What the NSA advisory helps is large vendors changing their cryptographic standards.
I've always preferred to stay with RSA since it's based on the age-old problem of prime number factorization. Yes, methods to find them have improved, but not to the extent that the scheme has become vulnerable providing you use sufficiently long keys.
I honestly don't get it, aren't those deprecated algos that are weaker since it's possible to factorize the prime factors p and q?
Just note: Debian Trixie OpenSSH is based on 10.0p1 which does not seem to have support for this.
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.
https://csrc.nist.gov/CSRC/media/Presentations/NIST-and-NSA-...
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>
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.
ECC size increases require migrating to a new curve aka new software/hardware. Rather than do that, the push is to move to a post quantum algorithm.
I am completely unconvinced that by 2030 we'll have anything near a CRQC.
The current solution is just shrugging shoulders.
I guess crypto agility was not such a bad idea after all?
but anyway it seems they are moving into PQ now
https://packages.debian.org/trixie-backports/openssh-server
So RSA4096 is now the recommendations?
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
[2]: https://blog.cloudflare.com/pq-is-still-safe
I didn't see anything that looks different than their current PQ guidance other than timelines. More likely they are seeing feasible higher qubit computers faster on the roadmap than previously anticipated, and optimizations of algorithms to require significantly fewer qubits.
Each advance moves the timeline forward, and now its been moved far enough forward that we have missed a checkpoint.
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.
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.
I read this more as a well-timed hurry-up for vendors in particular, because right now the 2035 deadline is impossible to meet even on new, greenfields systems.
Tao Teh Ching ch. 27
Strictly speaking they need our communications secure and everyone else’s o secure which is a delicate dance when algorithm rotation is so dreadfully slow.