NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Yes, P-256 is probably cooked (int08h.com)
WhyNotHugo 3 hours ago [-]
Fun fact: eSIM registration is done via HTTPS, with a dedicated root CA hardcoded into every single eUICC chips.

That CA (used for the entire eSIM registration infrastructure worldwide) uses ECC P-256.

captn3m0 7 minutes ago [-]
How long is that cert valid and what happens when it expires? Do they they just ignore it?
culi 3 hours ago [-]
Meaning what? They could spoof my phone's CertU and clone my eSIM? I guess that would let them get all my texts (e.g. my bank's 2FA codes)

I think one of the biggest impacts is that nation state actors have already been harvesting plenty of encrypted data in the hopes that they will be able to decrypt it in the future. That future could finally be here

ikiris 39 minutes ago [-]
sigh. That's gonna take forever to fix.
dragontamer 13 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 12 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 12 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 11 hours ago [-]
...or finding 65537-th roots modulo N, since that's the overwhelmingly most common choice of e. It would be pretty wild if 65537 was uniquely weak, but number theory gives us all sorts of wacky reasons for numbers to be special so it's not out of the question.
cyberax 9 hours 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.
chirayuk 2 hours ago [-]
Sure, but not relevant to the RSA problem. Also doesn't apply to the P-256 ECDLP (no hidden composite exists).
int08h 13 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 10 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.
Melatonic 5 hours ago [-]
Real question is what do they have saved for Suite A. Just knowing the basic architecture and type of math could be real helpful in choosing a public standard.
zarzavat 12 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.

fchicken 12 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 12 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 11 hours ago [-]
So about Bitcoin, Satoshi coins are pre-p2pkh so his public key is already on the blocks. When an upgrade takes place, he would have to move them, right?

For everyone else using the normal flow of change addresses, each address reveals its public key once, with an outbound transaction that spends the whole address/output, generally leaving the address empty as long as it wasn't reused.

medellin 10 hours ago [-]
Yes that is correct. Most believe he is dead or the keys are lost which is why we have some additional proposals on limiting the amount of coins with exposed and weak public keys after some set of time. Essentially making it a trickle and also incentivizing QC buy giving them a way to “mine” vulnerable coins.
dwood_dev 10 hours ago [-]
BIP 361 would lock non-pq transactions out after five years. I suspect that may get revised to a 3 year lock out.

And yes, something like 10% of all BTC would be forever locked out if it didn't move in that window.

plipt 11 hours ago [-]
I am quite ignorant of the Bitcoin fundamentals, so I share the following link without knowing the full implications, I hope its not FUD but the comments there did not appear to cast much doubt.

I saw the following Reddit post that makes it sound like although Bitcoin can be updated for PQC there needs to be a new transaction for each "UTXO" to make it safe which would be either incredibly time consuming or require a new fork of the blockchain. The shortest amount of time mentioned was 76 days using 100% of the network.

https://www.reddit.com/r/btc/comments/1yc3jwx/quantum_isnt_j...

medellin 10 hours ago [-]
True if all utxo were vulnerable. The majority are not vulnerable today i think it is something like 30/70 split last i looked. So about a month in reality.
dragontamer 12 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.

eugenekolo 10 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.

dingaling 2 hours ago [-]
> and if NSA still recommends RSA 2k for legacy applications...

The NSA absolutely does not recommend RSA for anything going forward. It's quite clear:

"Organizations must prioritize the transition to PQC before outdated systems can be exploited."

There are no halfway options, it's PQC.

skew 9 hours 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.
ijustlovemath 12 hours ago [-]
How should we be thinking about prime numbers as the basis for our cryptosystems?
TacticalCoder 10 hours ago [-]
[dead]
rao-v 11 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.

tptacek 5 hours ago [-]
It's really unlikely it's an issue with the constants of a particular curve, because it impacts multiple curves.
cryptonector 5 hours ago [-]
> 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.

Not really: the NSA didn't mention x25519 either; they only mention curves they have had in their CNSA inventory, and they only 'mention' them in the sense that the inventory lists P-384 and P-521, but they still don't mention the curves that are no longer supported. And maybe they try not to mention DJB or his work, and while x448 is not his work, it's based on his work. Either way them not mentioning x448 is hardly a problem.

chasil 12 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://safecurves.cr.yp.to/

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 12 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 12 hours ago [-]
So you'd want a good curve to fulfil all of the safecurves criteria and more, right?
some_furry 12 hours ago [-]
There are none, that I'm aware of, that matches all of the criteria we care about today. Maybe Decaf448 is fine.

But we shouldn't invent new elliptic-curve cryptography in 2026. We should move to post-quantum as soon as we can.

cowlevel 11 hours ago [-]
We have to use a hybrid scheme, since the PQC is still suspicious.
some_furry 11 hours ago [-]
yyyk 3 hours ago [-]
To play the other side: Your assumption is that NSA needs a NOBUS backdoor in MLKEM. But they don't. They know by now everyone will deploy a hybrid. A general break in MLKEM768 and a NOBUS break for X25519 would work just as well for them while keeping everyone else out: Even if someone else figures out MLKEM, ECC will still lock them out. NSA just needs to not tell anyone about a break in MLKEM768, and develop a quantum computer on the side for the ECC part.

To summarize: we could use more options in TLS.

some_furry 2 hours ago [-]
> Your assumption is that NSA needs a NOBUS backdoor in MLKEM. But they don't. They know by now everyone will deploy a hybrid. A general break in MLKEM768 and a NOBUS break for X25519 would work just as well for them while keeping everyone else out:

Please read the article again. Power word: COMSEC

yyyk 31 minutes ago [-]
I specifically said MLKEM768 for a reason. NSA are moving US gov to ML-KEM _1024_, so there's no necessary COMSEC issue here. Again, we could use more TLS options (MLKEM1024X448 for example).

https://datatracker.ietf.org/doc/draft-preussmattsson-tls-ml...

some_furry 1 minutes ago [-]
OK, so the logical thing to do is: Also switch to ML-DSA-1024, then? Rather than shoehorn hybrids in?

Is that the solution you want to see?

cowlevel 11 hours ago [-]
None proving that the NSA hasn't broken MLKEM. Their very strong resistance to hybrid encryption in the last 11 years casts enough suspicion already.
some_furry 6 hours ago [-]
I can't disprove that NSA hasn't broken MLKEM the same way I can't disprove that the NSA hasn't turned their engineers into werewolves!

You need evidence of the claim, not to demand I disprove a negative hypothetical.

ruthie_cohen 5 hours ago [-]
The public has known about NSA’s SIGINT enabling project since 2013. If the budget then was $250 million it’s likely in the billions now.

The NSA has been systematically weakening encryption for 60 years.

You are deluded if you don’t think this is still happening.

If you trust anything the NSA says I have a bridge to sell you. They just want the monopoly on breaking encryption.

some_furry 5 hours ago [-]
You may be surprised to hear this, but the links I posted above already addressed the argument you're making!

And I hate repeating myself.

But if I must, read this one thoroughly: https://soatok.blog/2026/10/29/your-cryptography-conspiracy-...

zarzavat 9 hours ago [-]
Anyone who thinks redundancy is unnecessary should prove their commitment to this belief by donating one of their kidneys.
some_furry 6 hours ago [-]
Your reply has nothing to do with the comment you're replying to.

Hell, I use hybrids in my own designs. But not because I have any concerns about the security of ML-KEM. It's just less friction for people to accept.

That's kind of my entire point, though, from the Safety Blanket blog post I shared: If your motivation for hybrids is that you're worried about the security of ML-KEM, and you get zero post-quantum security from X25519, then the PQ + ECC hybrids make no fucking sense.

(And, if you bring up classical attacks, I'd like to point out that TFA is speculation about 256-bit ECC being cooked.)

You'd need a PQ + PQ hybrid. Or maybe a PQ + PQ + ECC hybrid if you want to be extra spicy.

zarzavat 46 minutes ago [-]
Quantum computers are still a theoretical threat since nobody has yet built one that can threaten encryption. It will happen one day, but that day is not yet upon us.

Meanwhile, while we have been waiting for practical quantum computers both SIKE and P-256 have fallen to classical cryptanalysis.

The hard problem is not safety from quantum computers, the hard problem is safety from classical computers with access to Lean, and that safety is greatly enhanced by using two unrelated algorithms.

some_furry 2 minutes ago [-]
> Quantum computers are still a theoretical threat since nobody has yet built one that can threaten encryption. It will happen one day, but that day is not yet upon us.

This is how I know you haven't actually read the material I shared above, because it also links to https://blog.trailofbits.com/2024/07/01/quantum-is-unimporta... which addresses your point.

> The hard problem is not safety from quantum computers, the hard problem is safety from classical computers with access to Lean, and that safety is greatly enhanced by using two unrelated algorithms.

Nope.

See https://keymaterial.net/2026/06/18/on-hybrid-signatures/

Or my bluesky thread, if you prefer: https://bsky.app/profile/soatok.bsky.social/post/3n3uaclnsv2...

The realities of applied cryptography are subtle and counterintuitive.

Believe it or not, my career is in applied cryptography. I'm not speaking as a rando here.

jmqb 5 hours ago [-]
If you believe (and there are good reasons for believing) that CRQC faces a fundamental impossibility, a structure-free classical + PQ hybrid provides a great insurance policy either way.

(ElGamal or Rabin) + FrodoKEM seem least likely to fall to ML-powered search for algebraic shortcuts. The reason we're in this ECC pickle is that people are greedy and always look for one of the ~50x cheaper smart schemes when the dumb and rock solid alternative is readily available. Compute and networks have advanced enough. If not now, when will the peace of mind be worth it?

catlifeonmars 10 hours ago [-]
Heh until current pqc is shown to be broken. Which is more likely almost? they haven’t been battle tested to the same degree. It’s like trading the devil you know for the devil you don’t know. Keep in mind that pqc is only relevant for maintaining pfs, which is a common use case, but not universal use case for encryption.
some_furry 5 hours ago [-]
> Heh until current pqc is shown to be broken. Which is more likely almost?

I disagree.

> they haven’t been battle tested to the same degree.

Did you read the linked posts in this comment? https://news.ycombinator.com/item?id=50778310

They are more battle-tested than ECC was when we adopted ECC, and we didn't hybridize ECC with RSA.

chasil 12 hours ago [-]
I am far more comfortable with:

  x^2 + y^2 = 1 - 376014x^2y^2

  modulo p = 2^521 - 1
Than I am with:

  y^2 = x^3 - 3x + 27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575

  modulo p = 2^384 - 2^128 - 2^96 + 2^32 - 1
The P-521 description hints much more strongly that there is "nothing up my sleeves."

https://credelius.com/credelius/?p=97

some_furry 12 hours ago [-]
You're free to have whatever personal comfort level you want, but it's immaterial to the facts about cryptographic security.

See https://words.filippo.io/seeds-solved/ for why the equation you posted has no relevance to the security of the NIST curves.

chasil 11 hours ago [-]
You are also free to ignore the questions of custom parameters that introduce back doors.

https://bada55.cr.yp.to/bada55-20150927.pdf

some_furry 11 hours ago [-]
I recommend reading the words of cryptographers besides Bernstein.

He's not he only cryptographer on earth. Many of them have opinions you might find compelling, if you would only consider them.

chasil 9 hours ago [-]
I am sorry that you are downvoted.

I will expend an upvote upon you now.

I agree that we need objective vision on these questions.

mpyne 11 hours ago [-]
No offense, but why? Do you also believe that liquids with complicated names and chemical formulas are inherently more hazardous than good old oxygen, nitrogen and carbon?

The things you would protect with cryptography are presumably important enough for the protection to be based on evidence and not vibes.

chasil 10 hours ago [-]
"Nothing up my sleeve."

The peer conversant posted a reply with recent mundane explanations of parameters found with AI.

That in no way implies that back doors are absent.

I posted two links referencing "nothing up my sleeve," which is why the stampede to ed25519 happened in the first place.

https://credelius.com/credelius/?p=97

https://bada55.cr.yp.to/

The response was a re-education attempt.

Edit: Reading his post more carefully, I may be incorrect on this point. I don't know if this directly addresses the whopping constant in P-384.

"Even if the NSA had been free to pick any timestamp in 1997–98 and any of the first 16 prime-order candidates (which generously accounts for the unexplained rejections), they would have had barely 30 bits of freedom. Not enough to intentionally target a hypothetical small class of weak curves, not enough to embed any kind of NOBUS backdoor."

You must remember, however, that the NSA is the largest employer of mathematicians in the U.S./world. The innocence of numbers should not be granted on faith.

tptacek 8 hours ago [-]
People are jumping into these threads understanding about 1/3rd of what Bernstein says. The entire point of the BADA55 paper is that "nothing up my sleeves" curve parameters are inadequate for security. That's it --- that's the entire paper. There isn't another way to read it. How are you connecting this comment you just wrote with the paper you just cited?
chasil 8 hours ago [-]
This is the whopper. This is the outlier, the largest coefficient of all curves.

  27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575
The largest coefficient in Bernstein's endorsed curves is 530438.

What is going on here? Can you explain this to me?

Edit: I will admit that I use P-384 for Chome/Edge. This does not mean that I like it. This smells awful.

mpyne 8 hours ago [-]
Can you explain why 530438 is more obviously secure than 275... ?

I seem to remember an CA recently, and quite infamously, had important parts of their intermediate CAs that could fit in a single byte rather than the huge monstrosities other CA’s certs contained.

What’s to say NSA couldn’t more easily hack the curve with nothing higher than a 6-digit coefficient?

chasil 7 hours ago [-]
When I look at Curve25519, I see:

  y^2 = x^3 + 486662x^2 + x

  modulo p = 2^255 - 19
This is succinct. P-384 is anything but.

Why should I trust this monster?

akerl_ 6 hours ago [-]
This is the equivalent of people who are afraid of "chemicals" in their food. Big numbers aren't inherently more "monster" than small numbers.
tptacek 6 hours ago [-]
Well, probably because Curve25519 is about to be broken.
mpyne 7 hours ago [-]
And now we’re back to vibes and succinctness... You should trust it because it’s been heavily evaluated and come up just as trustworthy as the other algorithms that you don’t know how to evaluate or to trust.
chasil 6 hours ago [-]
I will expend an upvote upon you.

Succinctness in mathematics is the enemy of subterfuge, and we both know this.

People do have the right to communicate securely.

I do understand your position, and I sympathize.

tptacek 6 hours ago [-]
Please don't comment about the voting on comments

https://news.ycombinator.com/newsguidelines.html

PeterHolzwarth 5 hours ago [-]
They aren't commenting on the voting, just saying that while they clearly disagree, they are upvoting mpyne's comment nonetheless (presumably because they feel it is a good addition to the conversation). That's pretty classy for someone whose line of reasoning isn't faring so well in the discussion.

With all due respect to an HN user whose comments many of us follow (you), let's not pull out HN guidelines so quickly.

tptacek 5 hours ago [-]
No, they're commenting to note in text that they observe people being downvoted, and the rule is categorical. It's not about "classiness" or not; it's about pointless metacommentary, which we're now locked into now.

Votes will settle out over time. There's never any reason to comment about them.

PeterHolzwarth 5 hours ago [-]
I don't see how "I will expend an upvote upon you" equates to "they're commenting to note in text that they observe people being downvoted."
chasil 5 hours ago [-]
I will tell you that I believe cleanly in Kant's Categorical Imperative that we should leave people better than we found them.

To be more succinct, "never treat another as a means to an end, but always as an end in themselves."

But, upon your guidance, I do promise to be more oblique in these actions in the future.

mpyne 4 hours ago [-]
> People do have the right to communicate securely.

Of course, just as they have the right to good healthcare and unpoisoned food.

I don’t myself know how to evaluate food beyond what my taste buds and instinctive disgust will provide. But because of that I don’t have much complicated of a system to assess it than “if it tastes bad, spit it out” and “calories in, calories out”.

Meanwhile I trust others, who do know what’s going on and what things should look like, to make sure that the food that makes it into grocery stores and then onto my plate is not poisoned.

This has quite obviously gone bad, even in recent memory. But as a process it is still better overall, both for my health and for my sanity, to put trust into others.

And when that stops being the case, I will be forced to learn for myself how it all works in grotesque detail. But until I do that, I will not “vibes” my way into a discussion on food quality, other than to say that it is important and that I’m not an expert.

There may well be problems with P-384. But those long constants might just as well be protections not implemented in the succinct polynomial, or an artifact of how the math works out. I certainly don’t know enough to tell, and it sounds as if you do not either, because if there was a concrete problem to point out, I assume you would have done so.

I do appreciate a nice short equation, like e^iπ + 1 = 0. But sometimes practical math will be necessarily more complicated. Compare the beautiful arctangent-based equation that can be used to compute π at https://en.wikipedia.org/wiki/Arctangent_series, vs. examples of series that actually converge rapidly at https://en.wikipedia.org/wiki/Ramanujan%E2%80%93Sato_series

You bring modular arithmetic into your math and the constants that result may very well look weird. That doesn’t by itself make them worse or better.

chasil 5 hours ago [-]
All you proselytizers, I would like to count you as my friends, strange as that may be.
tptacek 6 hours ago [-]
You're not responding to the comment I just wrote. You're just restating your original comment. You made an argument, and cited a paper to back it up. Help me understand how you chose that paper for that argument.
EGreg 7 hours ago [-]
This is a nothingburger if people would just distribute value across multiple accounts so each specific key cracked would yield far less than it costs to crack it.
TheBlight 12 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 9 hours ago [-]
Could also be instead of b/3 something like (b*3)/8. Same idea though.

Just some ratio less than 1/2

TheBlight 8 hours ago [-]
Also who knows if optimizations actually materialize within a year or ever.
anfilt 6 hours ago [-]
Also if it is case of that ratio being less than half.

How much is important.

b/4 that’s 64 bits that’s devastating.

b/3 85 bits still a problem for high value keys.

(b*3)/8 that’s 96 bits probably fine for a lot things but man that is not much margin for any optimizations or improvements that could be found.

SkyPuncher 12 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 9 hours 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.

shepherdjerred 4 hours ago [-]
This really just is not true anymore. With LLMs you can cast a very broad net
Shank 40 minutes ago [-]
Napkin math estimates put the raw compute required to crack one key with reduced strength to somewhere between $10m and $100m and no amount of LLMs will solve that. LLMs are not magic and even if they can come up with a proof of algorithm to reduce the security of these algorithms by what has been speculated it is still cost prohibitive in terms of energy cost for most attackers.
shakna 4 hours ago [-]
I'd agree, if this was rephrased as heavily subsidised compute, rather than just "LLMs". You don't get to just jump over the computation required.

But... The AI companies are broadly happy to supply access to a great percentage of data centre capabilities to the public, at vastly cheaper prices than has been historically true.

I_am_uncreative 6 hours ago [-]
Wasn't "store now decrypt later" a long recognized risk factor?
SkyPuncher 4 hours ago [-]
Yes, but now the timelines are much shorter.
shit_game 2 hours ago [-]
Later approaches every day.
xenocratus 12 hours ago [-]
[flagged]
tomhow 7 hours ago [-]
Please don't post snarky comments like on HN. The guidelines make it clear we're trying for something better here. https://news.ycombinator.com/newsguidelines.html
insanitybit 11 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.

SkyPuncher 10 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.

10 hours ago [-]
goolimari 12 hours ago [-]
maybe enlighten rest of us instead of being a pedantic snark
pheggs 8 hours ago [-]
afaik in modern connection protocols your actual key is not used to encrypt traffic, instead its only used to authenticate you (prove that you are you), then there is a short lived key generated which is used to derive (the key exchange mentioned) a symmetrical key for the actual transfer (encryption). so this changes with each session
athrowaway3z 11 hours ago [-]
i doubt they will - so instead i will be a padantic snark towards xenocratus and say they need to learn to read better because the parent comment is saying:

If you typed in the password to a heavily encrypted backup - remotely using ssh - you need to realize that anybody who stored that network might be able to read your password to the heavily encrypted backup.

peatmoss 13 hours ago [-]
With all the crypto news this week I'm beginning to regret buying a new Yubikey Bio.
tiltowait 12 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 11 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 12 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.
exmadscientist 6 hours ago [-]
It's the tamper resistance.

The ordinary stuff is both very cheap and utterly trivial to read out with physical attacks.

Melatonic 6 hours ago [-]
I think it's also the processor onboard.
_hyn3 10 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.

mhio 4 hours ago [-]
> and anyone who has access to your box/homedir already owns everything

Except for the private key materials stored on the yubikey

pheggs 8 hours 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 13 hours ago [-]
Maybe we should never rely on 128-bit security anyway. 2^128 always feels dangerously close to be breakable
layer8 13 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.
londons_explore 39 minutes ago [-]
I don't my crypto "probably fine for the time being". I want it to outlive my children. So it should survive 100 years of cryptographic advancement on top of 100 years of hardware speedup, and quantum computers.
lisper 13 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 13 hours ago [-]
Is it though? Assuming the rumored breakthrough from n/2 to n/3 is true, P-384 is now at 128 bits, and hence it would take only a single additional equivalent improvement for it to share the same fate as P-256. If you previously rejected P-256 for only being 128 bits, you should also reject P-384 now for that reason. But I don’t think it works that way, because we have no way to tell how likely such a breakthrough is. And if it hadn’t been n/3 but n/4.5, then using P-384 from the start wouldn’t have helped either.

The bit measure is used because we believe that it is accurate in terms of exponential cost, and safety margins in number of bits are assessed based on that assumption. As soon as this assumption breaks, you can’t make any serious estimate anymore, the bits lose their meaning for that kind of security assessment.

Dylan16807 10 hours ago [-]
> Assuming the rumored breakthrough from n/2 to n/3 is true, P-384 is now at 128 bits, and hence it would take only a single additional equivalent improvement for it to share the same fate as P-256.

Yeah that's the point, it takes two breakthroughs. Except starting at 256 means P-521, so three equivalent breakthroughs.

> If you previously rejected P-256 for only being 128 bits, you should also reject P-384 now for that reason.

Yes. At this point if you were going for 256 bits you'd need a curve near 800 bits.

> And if it hadn’t been n/3 but n/4.5, then using P-384 from the start wouldn’t have helped either.

Correct. But 512/4.5 is a respectable 113 bits, despite faster than sqrt being an extreme speedup.

Tadpole9181 12 hours ago [-]
But to their point, if you go from 256 bits of security to 128 bits, it's still impossible amounts of compute. If you go from 128 bits to 84 bits, it's "only" a 100 million.

So keeping the baseline at 256 would give you more time and mean a "little b" break would still not be vulnerable to a HNDL attack for potentially ever.

layer8 12 hours ago [-]
From 128 to 84 bits is a factor of 2^44 bits, so 17 trillion.

More bits is, of course, better. But how do you assess how many bits are likely to be enough? We have no expectation value for how many bits a breakthrough will lose us. “Little b” just means that we got lucky in whatever guess we made.

lisper 11 hours ago [-]
> how do you assess how many bits are likely to be enough?

History. Big breakthroughs are less common than little ones. Until an AI proves P!=NP there is always the possibility that there are no hard problems and truly secure crypto is not actually possible in this universe. You can only play the hand you're dealt.

You also have to look at your risk posture, your threat models, and how much you're willing to pay, both in terms of day-to-day operational costs, and in terms of time and headaches when the next Big News drops.

skissane 11 hours ago [-]
> Until an AI proves P!=NP there is always the possibility that there are no hard problems and truly secure crypto is not actually possible in this universe.

Even if P=NP, there is still the possibility of secure crypto in this universe. Suppose there is some problem which is Ω(n^5000). That problem would be sufficiently hard for all practical purposes to be usable for crypto.

SoftTalker 9 hours ago [-]
> truly secure crypto is not actually possible in this universe

The possibility is something that occurred to me when all this news started breaking. What would a world look like if encryption were impossible? Obviously very different, but could it still function? Or would we be back to physical media (including e.g. coins/currency) handed from one person to the next, and point-to-point communications as the only way to convey anything securely?

lisper 9 hours ago [-]
> could it still function

Of course. Symmetric crypto is not threatened at all. The only challenge is key management. That is not trivial, but it is tractable. Worst case we'd have to go back to physical key distribution, but that's not fundamentally different from how credit card chips work today.

Losing PKC entirely would be a colossal PITA, but it would not by itself be an existential threat to civilization.

SolarNet 13 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 12 hours ago [-]
But how do you guess the scale of a small break and what is the cost of going larger?
yread 12 hours ago [-]
it's 100M$ after you've spent 100sM$ designing and manufacturing millions ASICs specifically for this
Mtinie 12 hours ago [-]
$100M is a drop in the bucket for a nation-level cyber program, so let’s assume that isn’t an obstacle.
emn13 11 hours ago [-]
I'm not sure how he's arriving at that number. At 5 billion checks a second per GPU and 2^85.333 checks needed, I'm getting costs that are quite a few orders of magnitude larger than that. Perhaps there's some assumption of specialized asics that could be built before hitting that 100M cost?

I guess part of the issue is whether you're looking for a conservative bound, or if you're trying to estimate the actual cost assuming not every unpredictable detail happens to work out in your favor - not that I have any clue what all those details would be...

cvwright 11 hours ago [-]
Yeah $100M for 85 bits is nuts.

In 2018 we estimated that, paying the lowest industrial electricity rates in the US at around 5.2c/kWh, using the best AntMiner at the time, you could do 2^80 Bitcoin hashes for about $2B. And that ignores the hundreds of millions of upfront costs for hardware and data centers.

charlieyu1 7 hours ago [-]
The record of most leading zeroes in BTC blockchain hashes is 97 so 85 is definitely within human reach. It may or may not be worth to do it targeting a single individual. But why take the risk when we could just increase the length?
jMyles 10 hours ago [-]
He didn't estimate $100M; he said he believes it's likely to end up being somewhere _between_ 10M and 1B.
marcosdumay 13 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 11 hours ago [-]
80 bits isn't even close to good enough anymore. The Bitcoin network does 2^80 hashes every 20 minutes today.
tntxtnt 12 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.

ibobev 5 hours ago [-]
Isn't even an O(2^(n/3)) algorithm impractical for breaking ECC-256 in a reasonable amount of time, even on the most powerful supercomputers? Maybe not the age of the Universe like O(2^(n/2)), but still thousands of years. Or is the claim about an O(2^(n/4)) algorithm?
anfilt 4 hours ago [-]
So let us say I build an ASIC. Lets say it runs at 5Ghz for running the calculation. Lets say per die I have 32 of these highly optimized cracking cores. So I if I wanted to crack a key in one year. An effective bit strength of b/3 is ~2^85. It would be approximately this many of those chips:

(2^85)/((32*5*10^9)*60*60*24*365) = ~7,666,958 dies. That is do able number for large nations or corporations. Even if I could only get the chip to run at 2.5 Ghz that's only 2 years instead of 1. Even if I could only run at 500Mhz that's 10 years instead. I could also reduce the number of chips if I don't mind taking longer. Yea it's super cluster/computer territory, but its feasible is the thing.

Like without what knowing what this break is though those numbers are just a broad estimate. Like it's hard to say how fast a single unit of hardware will run without knowing the exact kind of math it runs and how well it could be optimized. It could be more or less.

However it's only worth it for high value keys, that need to stay secret for a long time.

anfilt 3 hours ago [-]
Also if the algorithm requires any large tables or seives that can't be shared between calculations memory costs could balloon to unreasonable levels. So it really matters what this supposed break is.
sedatk 9 hours 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 8 hours 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.
Melatonic 5 hours ago [-]
Is Mullvad still using HQC as well ?
0xbadc0de5 11 hours ago [-]
At this point all confident predictions on what might be pending is just irresponsible speculation and fear mongering.

This too shall pass.

etatester 2 hours ago [-]
> This too shall pass.

They said the same about AI.

ajkjk 13 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 13 hours ago [-]
Apparently, 50 years old crypto is good enough to keep up with AI-invented attacks.
NetMageSCW 12 hours ago [-]
Too soon to say that.
clates 8 hours ago [-]
Two things though

1) These AI-invented attacks have only been around for ..... 6mo tops?

2) They couldn't spell strawberry a year and a half ago.

cft 10 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?

dualvariable 11 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).

originalcopy 20 minutes ago [-]
I'm so tired of all the breaking news coming from the frontier labs: "The world as we know it is soon gone!". It always comes out like semi materialized big threat. But it's secret, we can't tell you yet! Why did they have to issue the joint statement in the first place if they don't tell us anything? I think that's obvious, it does a great advertisement. It's hard to believe there are any good intentions to it. Like what should the public do, without knowing the threat anyway? All that is left to us is fear and feeling the superintelligence is here.
elbistec24 13 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 12 hours ago [-]
lukeify 9 hours ago [-]
At least he's preserving his stupidity for posterity.
int08h 15 hours ago [-]
Author here. We were promised a quantum apocalypse and maybe got an AI one instead?
ytxm 13 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 12 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 13 hours ago [-]
We haven’t seen the second act yet
gxs 13 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 11 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 12 hours ago [-]
Tech is going to consume itself..

It's time to divorce from tech

stutstev 11 hours ago [-]
Sometimes, I think we ought to just go back to the simplicity of paper; this is one of those times.
wwweston 10 hours ago [-]
Certain kinds of security absolutely should be conducted by paper and otherwise avoiding digital/electronic legibility.
InsidiousWombat 7 hours ago [-]
gonna go back to OTP sheet shared securely
cheema33 4 hours ago [-]
> It's time to divorce from tech

You sending this from your laptop?

anotherhue 13 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 13 hours ago [-]
NSA is rumored to have known in 2015
bigfatkitten 12 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 10 hours ago [-]
Exactly: under the mandate to ensure security, people should be starting a long migration like this as soon as practical. Good sense is not waiting till you actually have a working compromise in the field.

It's entirely possible this whole affair is because people have assessed a high probability AI will find the relevant exploit soon, but it's still actually years of compute away.

Melatonic 5 hours ago [-]
I would guess that someone else with a massive cluster has already broken it (like China for example with maybe just an absolutely shitton of Huawei chips). We've seen a lot of government stuff "hacked" recently (or maybe just had downtime for emergency patches).

It's possible they had math breakthroughs that make breaking encryption easier but still insanely hard. China has been massively investing in power infrastructure and even if their models and chips are well behind could make up for it with just massive scale.

ipdashc 2 hours ago [-]
> We've seen a lot of government stuff "hacked" recently

If a nation-state really could break standard encryption, it would be foolish to use it to "hack stuff". You'd want to use it to silently gather intelligence and be as sneaky about it as possible.

bscphil 8 hours ago [-]
> Even if a working attack wasn’t known, moving away from 256 bit curves was prudent.

There have always been a number of loud voices proclaiming that cryptographers have very high confidence in the algorithms we currently depend on, occasionally even advocating reducing the security margins (e.g. number of rounds) for efficiency. Will we learn to stop listening to those voices after this? I sure hope so, but I doubt it.

ranger_danger 13 hours ago [-]
[dead]
kmeisthax 9 hours 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...
PHMPhysicsCheck 18 minutes ago [-]
[dead]
cowlevel 13 hours ago [-]
TL:DR:

> No idea.

bawolff 11 hours ago [-]
Yeah, pretty much. At best it is a game of telephone.
izend 12 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 11 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).

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 08:58:46 GMT+0000 (Coordinated Universal Time) with Vercel.