Yes, P-256 is probably cooked (int08h.com)
208 points by int08h 8 hours ago
dragontamer 5 hours ago
If P-384 is still safe and if NSA still recommends RSA 2k for legacy applications, this is a "little b" break.
EDIT: the most surprising thing about this, that made me feel like the whole thing was fake, was that RSA 2k is sorta fine but ECC 256-bit was killed off. What kind of new math would kill ECC 256 but not RSA 2048?
But the evidence really is pointing more and more towards an Elliptical Curve specific little-b break. Highly unexpected but everyone's reactions matches to this evidence.
ls65536 5 hours ago
> What kind of new math would kill ECC 256 but not RSA 2048?
The "hard problem" that underlies ECC's security is the elliptic curve discrete logarithm problem (ECDLP), while RSA's is integer factorization. Mathematically, they're distinct problems, so it's entirely plausible that there can be a breakthrough in one without there being any impact on the other.
teravor 4 hours ago
> RSA's is integer factorization
it's actually finding e-th roots modulo N which no one has proven is as hard as factoring. it's assumed to be, which is a dangerous thing to be doing with these LLMs around.smallmancontrov 3 hours ago
cyberax an hour ago
Not really. Factorization is easily reduced to discrete log. And for the numbers involved in the current crypto, it's going to be a small constant factor in the runtime.
int08h 5 hours ago
The "A Riddle Wrapped in an Enigma" paper (Koblitz/Menezes 2015), page 11 has and intriguing hint:
<quote> 3.2. Does the NSA have a cube-root algorithm for finding elliptic curve discrete logs?
The question arose when the NSA dropped P-256 from Suite B, leaving only P-384. If solving the elliptic curve discrete logarithm problem in a group of order n takes roughly the square root of n operations, then P-256 provides 128 bits of security. If it takes only the cube root of n operations, then P-384 would be needed for the same 128 bits of security.
At Asiacrypt 2013, Bernstein and Lange presented an algorithm that could solve a discrete log in about n^(1/3) operations after an initial precomputation costing about n^(2/3) operations. As they pointed out, that upfront cost made the algorithm impractical. Could the NSA have found a similar algorithm that needs far less precomputation, or believe that one might exist? </quote>
A newly found efficient cube-root attack fits with the rumors. It would be a "small-b Break" on the order of 2^85.
tptacek 3 hours ago
The Bernstein/Lange attack isn't that complicated, at least in broad strokes, and I'm curious where you could find an enormous improvement in it. It's basically Pollard Rho with a giant precomputed table, and that table is what makes it impractical.
zarzavat 4 hours ago
> What kind of new math would kill ECC 256 but not RSA 2048
Historically ECC has been resistant to the techniques that work best for RSA. The two problems are related but only distantly. This has allowed ECC to be deployed with much smaller key sizes compared to RSA for the same security level.
It seems that humanity did a good job optimizing the algorithms for integer factorization but we missed something with elliptic curve discrete log and deployed too small ECC, perhaps.
eugenekolo 2 hours ago
RSA 1K is thought to be 80 bits of security. RSA 2K is thought to be 112 bits of security. ECC 256 was thought to be 128 bits of security.
Facts we know: * RSA 2K is said to be "OK" for the time being. * RSA 1K is said to not be. * Latest joint statement says no immediate threat - that makes it not likely to be less than 80 bits of security.
It's highly likely a lab has proven ECC 256 is somewhere between 80 and 112 bits of security.
fchicken 5 hours ago
> But the evidence really is pointing more and more towards an Elliptical Curve specific little-b break. Highly unexpected but everyone's reactions matches to this evidence.
So is Monero cooked?
dwood_dev 4 hours ago
Yeah, this is a very solvable and straightforward thing for BTC to fix. This is a protocol redesign for Monero. Apparently you could just stealth inflate the money supply.
If the cube-root speculation is true, secp256k1 is effectively 85.3bits for BTC, Edwards25519 for Monero is 84bits.
It's still fine today, but if someone wanted to throw a few billion dollars of custom silicon compute and energy at the problem, they could sink Monero within a decade.
therein 4 hours ago
plipt 3 hours ago
dragontamer 4 hours ago
We need the full secret paper to know for sure.
All of the public information is guesswork based on what the big boys are doing.
skew an hour ago
Not saying it's plausible to find such math or that it fits evidence or whatever, but wouldn't a subexponential algorithm for ECC fit? If P-384 is tolerable it would have to be much more mildly exponential than GNFS. And then it might translate directly to a factoring algorithm with equivalent asymptotics but that wouldn't affect RSA security.
rao-v 3 hours ago
I really do wonder about this, we have an attack that specifically weakened ECC 256 but not P384 (which pushes us exactly towards the long standing preference that the NSA has had for P384)
I think the reasonable options are:
1. A weakening of elliptic curves that changes scaling, so you need to go bigger (ChatGPT tells me it's likely a "an attack with complexity proportional to \(2^{n/3}\), rather than \(2^{n/2}\), where \(n\) is the subgroup size in bits." but that's not me).
2. A specific problem with the constants chosen or the specific curves in ED25519. You can read into the fact that Ed448 (many more bits) still doesn't make the list that maybe it's a specific problem that's not general elleptic curve.
3. A lot of just "can we please consolidate everybody on a small set of primitives, ideally ones that we've been working towards already, so we can focus attack / defense on a smaller set". And perhaps relatively little actual risk from whatever's been figured out.
- I think there is a bit of this because we're still pointing people to ML-DSA despite Anthropic having shown a theoretical weakening of it.
ijustlovemath 4 hours ago
How should we be thinking about prime numbers as the basis for our cryptosystems?
chasil 5 hours ago
DJB's published opinion of P-384 is that it is unsafe (it fails in his categories of rigidity, Montgomery ladder/isomorphism, completeness, and indistinguishability).
https://crypto.stackexchange.com/questions/117500/curve-comp...
He has a higher opinion of P-521, to which I would personally defer.
http://blog.cr.yp.to/20140323-ecdsa.html
"To be fair I should mention that there's one standard NIST curve using a nice prime, namely 2^521 – 1; but the sheer size of this prime makes it much slower than NIST P-256."
some_furry 4 hours ago
SafeCurves fails to also consider cofactor security, malleability, etc. https://moderncrypto.org/mail-archive/curves/2017/000898.htm... https://hdevalence.ca/blog/2020-10-04-its-25519am/
It's a marketing document for Curve25519.
Prime order curves (i.e., P-384) have had complete addition formulas since 2015. https://eprint.iacr.org/2015/1060
Go's crypto module, for example, uses complete addition formulas.
Citing SafeCurves in 2026 in the wake of the 256-bit ECC advisory isn't really helpful. You're muddying waters that have long since settled.
cowlevel 4 hours ago
chasil 4 hours ago
TheBlight 4 hours ago
My bet is on this scenario:
There's a theoretical attack floating around that gives a best-case weakening of ECC on the order of e.g. 1/3 the security strength but requires theoretically possible but yet-to-be discovered intermediate optimization(s) to be practical.
Labs self-estimate they could figure out those intermediate steps in e.g. 6mo-1yr given current progress in related fields. NSA takes this estimate seriously but also with a grain of salt.
I think this scenario would potentially neatly explain all of the seemingly vague and sometimes conflicting communications we're seeing from labs, NSA, theoreticians, and industry CEOs etc.
anfilt an hour ago
Could also be instead of b/3 something like (b*3)/8. Same idea though.
Just some ratio less than 1/2
TheBlight 34 minutes ago
Also who knows if optimizations actually materialize within a year or ever.
SkyPuncher 5 hours ago
In my opinion, regardless of what's actually broken, there's an outcome that most people should be worried about: encrypted data captured today can now be plausibly decrypted at some point in the foreseeable future.
Specifically, any secret that you relied on encryption to keep safe (think an API key or username/password being sent over HTTPS) is effectively plain text once this breaks. So, it's just a matter of swapping to a better encryption and saying "I'm good". It's also a matter of assessing data that had exposure to broken encryption schemas.
In other words, that key/password you never rotate probably needs rotation.
AndroTux an hour ago
Remember your threat model, though. If you're a government or someone with very valuable information, then yes, I agree with your conclusion.
If you're some random nobody with a few docker containers floating around sending cat memes on WhatsApp, no one will invest the required money to store and then decrypt all your data. Just because it's feasible for someone doesn't mean everyone will be able to just crack all encryption in the next few years.
xenocratus 4 hours ago
You don't seem to understand the difference between encryption, key establishment, and authentication, since you vaguely mix them all up. In which case, I recommend not talking about it so confidently.
SkyPuncher 2 hours ago
I'm using "encryption" colloquially in the same way you might call a door locked.
The practical implications of theis rumor is a component of a common encryption system is broken in such a way that data encrypted with that system is no longer consider protected.
insanitybit 3 hours ago
Assuming that your transfer the secret used to encrypt over an ECC channel, what they said makes sense. So like, an API key, or a username or password. Anything transferred over such a channel that was collected can be decrypted.
If you transferred a secret (like an API key) with P-256 encryption you may want to consider that secret exposed.
goolimari 4 hours ago
maybe enlighten rest of us instead of being a pedantic snark
pheggs an hour ago
athrowaway3z 4 hours ago
peatmoss 5 hours ago
With all the crypto news this week I'm beginning to regret buying a new Yubikey Bio.
tiltowait 5 hours ago
I was surprised^1 to learn PQC-capable hardware keys aren't really a thing yet. Yubico has a beta program, just launched, and that seems to mostly be it? Once they're more generally available, I'll buy one^2.
Until then: everything I care about connecting with supports PQC key exchange. My Ed25519 keys are only used for auth. Nothing I do is important enough for anyone to justify the spending required to break 85 bits, even if it's technically feasible.
If another breakthrough occurs ... well, I'll adjust.
[1]: Until I learned PQC keys are much larger. Those secure enclaves are starved for space. [2]: That PQC algos haven't been vetted as long is a bit of a concern, but I don't know anywhere near enough about crypto to say how realistic that concern actually is.
tonfa 4 hours ago
I was also wondering, but depending on what you use the yubikey for it might not matter much.
(at least for passkey, it seems like there would be some time to switch since getting the public key requires compromising the target website, and there's a different key for each website)
ls612 4 hours ago
Why would it be so hard to add 16MB of ROM to even a cheap key? That should be able to store as many giant certificates as you could possibly want.
_hyn3 2 hours ago
Just posted https://news.ycombinator.com/item?id=50777668 .. the Yubikey only actually helps you in very limited ways compared to a strong-passphrase-protected key and might give you a false sense of security.
The problem is that the human touch feels like a security boundary, but it's not at all. The real security boundary is your software/OS, and anyone who has access to your box/homedir already owns everything. if an attacker can even just manipulate your PATH, which is just an environment variable, they own everything.
Yubikeys are cool though.
pheggs 33 minutes ago
I mean, it still protects against a lot of stuff like malware that does keylogging (I mean they could access it on your machine after all), or reading things from your ssh agent, or stealing your key until some crypto weakness is found, computers get good enough and so on. It also lights up when the key is used if the touch is disabled. I suppose you could also just use the TPM for the most part though
charlieyu1 5 hours ago
Maybe we should never rely on 128-bit security anyway. 2^128 always feels dangerously close to be breakable
layer8 5 hours ago
Breaking 85 bits is estimated at roughly $100 million in energy cost: https://www.johndcook.com/blog/2026/12/05/dlp-attack/. 128 bits would be almost 9 trillion that amount. Give and take a few orders of magnitude, it’s probably fine for the time being.
lisper 5 hours ago
128 bits is fine as long as it stays 128 bits. The point is that if you start with 256 bits you can withstand a lot more mathematical breakthroughs before it becomes a crisis.
layer8 5 hours ago
SolarNet 5 hours ago
The point they are making is that small breaks make it in the realm of possibility, as happened here. If we had always operated 256 bits of effective security we'd still be above 128 of it with this new finding.
NetMageSCW 4 hours ago
yread 4 hours ago
it's 100M$ after you've spent 100sM$ designing and manufacturing millions ASICs specifically for this
Mtinie 4 hours ago
marcosdumay 5 hours ago
That's the rationale for using 128 bits when 80 should be more than enough.
Anyway, the minimum recommended for RSA was expected to have 1k-bit initially. I do think in classical asymmetric algorithms 256-bit levels are cheap enough to use everywhere, but it's hard to talk about general rules. (As in, I have little problem with 128-bit symmetric algorithms; 256-bit post-quantum is probably way too expensive for most things...)
josephcsible 3 hours ago
80 bits isn't even close to good enough anymore. The Bitcoin network does 2^80 hashes every 20 minutes today.
tntxtnt 4 hours ago
Breakable by whom? By an average person with a PC or by a billionaire who want to waste $100 million to "break" into an average person with $1000 in bank account? If you want to impersonate me just give me $50 million, don't need to "break" anything.
Even if it's Satoshi's wallet which might worth billions but when it's "cracked" no one will trust or use bitcoin anymore so it basically worths nothing. Good luck spending $100 mil to get back maybe $10 mil.
sedatk an hour ago
> Added a PQ-derived preshared key to WireGuard.
What does a "PQ-derived PSK" mean? Isn't it just random bytes, and CSPRNGs are already quantum-resistant. What's that about?
tgsovlerkhgsel 5 minutes ago
I assume they perform a hybrid/PQ key exchange between their `mullvad-upgrade-tunnel` key and their server, then add that as a pre-shared key to the connection config. This way they don't have to modify the wireguard software, and can still establish/use a key that is long term quantum safe as long as the connection wasn't already MitM'd during the establishment.
ajkjk 5 hours ago
A possible silver lining: perhaps AI-invented crypto techniques ends up being good enough to keep pace with AI-invented crypto breaks.
marcosdumay 5 hours ago
Apparently, 50 years old crypto is good enough to keep up with AI-invented attacks.
NetMageSCW 4 hours ago
Too soon to say that.
cft 2 hours ago
My question is, if they lowered the complexity bound for elliptic curves from n/2 to k < n/2, does hard k computation need to be done only once per curve, and then individual private key computations can be done relatively fast given this pre-computed curve data, or each private key computation is k-complex?
I am not a specialist, but from my review of prior recent work on elliptic curves (although none over finite prime fields obviously), the bound improvements were of this pre-computation type (e. g. index calculus, Semaev polynomials), that get the global structure of the curve once, and then things become much easier. Perhaps a cryptographer could comment on this?
0xbadc0de5 4 hours ago
At this point all confident predictions on what might be pending is just irresponsible speculation and fear mongering.
This too shall pass.
dualvariable 3 hours ago
There's no information in here that isn't in all the other discussions.
Since the NSA is still recommending P-384, the N/3-bits attack continues to look like the "safe bet", and the outstanding question would be how much the galactic lookup table has shrunk (it could still require more than all the present-day computational resources on Earth to generate it, while still being alarmingly less than galactic-sized).
int08h 8 hours ago
Author here. We were promised a quantum apocalypse and maybe got an AI one instead?
ytxm 5 hours ago
I think ignoring details of individual incidents, the rate and breadth of incidents occurring is the bigger concern. I just hope by the end of this we can still use pre-AI hardware in some form without having to scrap it all. When cometh the next influx of CPU bugs after AI is applied to that domain? It's quite practical by now to make jokes about smart toasters modulating their relays to hack nearby smart TVs and whatnot. So many fixed function wireless devices turning out to be SDRs after a few hours of Clauding, etc. Straight out of Battlestar Galactica. A great time to be writing scifi!
d-us-vb 4 hours ago
Or maybe steve jobs original vision of the solitary creative will return by necessity of all the air-gap-only hardware lying around.
reactordev 5 hours ago
We haven’t seen the second act yet
gxs 5 hours ago
Yeah and now that you mention it it sort of makes sense
A lot of encryption is based on assumptions and some of those assumptions are very resource consuming to test - be it additional research into alternative algorithms / approaches or some form of brute forcing.
Where in the past that type of research would have been less valuable and/or progressed too slowly for humans to tackle because of the perceived payoff, now that you have something that can go through and thoroughly test those assumptions it makes sense that it’s finding them. After all, it’s relentless, doesn’t tire, and your only constraint is how deep your pockets are
Add that to whatever other novel approaches it’s found that might have been valuable for humans to look into anyway, and it compounds into the results we are seeing now
steinwinde 3 hours ago
Can I ask...
> OpenAI Chief Research Officer Mark Chen recently told researchers at the ChatGPT maker to stop using the company’s AI to solve mathematical or algorithmic problems that might break cryptography, …
You seem to accept the explanation that OpenAI doesn't want to find more holes in currently employed encryption, which could have all sorts of detrimental implications.
As such this doesn't make much sense to me, because China and others will catch up in the next months anyway.
Is it not more likely that they are obliged to leave this work to the NSA, which (with its armee of mathematicians) probably has access to SOA internal models of the leading AI companies and is well aware of some of the weaknesses of currently employed encryption for a little bit longer?!
I can imagine that some people in the NSA are not happy when they loose their knowledge advantage.
I admit that this is pure speculation.
fchicken 5 hours ago
Tech is going to consume itself..
It's time to divorce from tech
stutstev 3 hours ago
Sometimes, I think we ought to just go back to the simplicity of paper; this is one of those times.
wwweston 2 hours ago
Certain kinds of security absolutely should be conducted by paper and otherwise avoiding digital/electronic legibility.
anotherhue 5 hours ago
The most important questions, as ever, are what did they know and when did they know it?
We may just be the last to know.
reader9274 5 hours ago
NSA is rumored to have known in 2015
bigfatkitten 4 hours ago
Cube-root breaks were publicly theorised at the time. Even if a working attack wasn’t known, moving away from 256 bit curves was prudent.
XorNot 3 hours ago
bscphil 32 minutes ago
elbistec24 5 hours ago
This is just more baseless speculation. The author even presents the now deleted Cloudflair CEO tweet as evidence so I'm having trouble taking this article seriously at all.
NoahZuniga 4 hours ago
The tweet's still up? https://x.com/eastdakota/status/2128329678633287903
lukeify an hour ago
At least he's preserving his stupidity for posterity.
kmeisthax an hour ago
All the people who insisted on skipping elliptic curves and staying on RSA because it's a numerically simpler algorithm must be feeling really, REALLY vindicated right about now...
cowlevel 5 hours ago
TL:DR:
> No idea.
bawolff 3 hours ago
Yeah, pretty much. At best it is a game of telephone.
izend 4 hours ago
I also believe P-256 is "broken" and I believe for non-technical folks having to re-register all their Passkeys is going to be a huge pain. I checked last night and the majority of web apps supporting Passkeys are only supporting P-256.
tonfa 3 hours ago
There's not much immediate impact on passkey (different key for each website, and you need the website to be hacked to get access to the public key, maybe you have other problems already). (Keeping TLS/PKI secure is much more critical)
(And AFAIK there's planned work to make the algorithm transition seamless, which should be usable well before it matters in practice).