News for hackers. Stuff that matters.
Re:Stop using RSA (2019) by ohazi on Sunday November 08, 2020 @12:41AM (#25023353)
I bet there are a similar number of pitfalls with ECC, but (depending on the specific weakness) we just have a ~50-2000 year head start with RSA because prime numbers have been studied for far longer.
Re:Stop using RSA (2019) by tptacek on Sunday November 08, 2020 @02:36AM (#25023896)
There's a great Boneh talk discussing the history of elliptic curves that refutes this weird argument. At any rate, the history of elliptic curves and RSA in cryptography is intimately intertwined.
Re:Stop using RSA (2019) by dan-robertson on Sunday November 08, 2020 @04:06AM (#25024285)
Re:Stop using RSA (2019) by ohazi on Sunday November 08, 2020 @03:57AM (#25024241)
I'm sure there is. Why don't you provide a pointer to this talk instead of being weirdly disparaging.
Re:Stop using RSA (2019) by tptacek on Sunday November 08, 2020 @11:36PM (#25031498)
DM for my rate card.
Re:Stop using RSA (2019) by ggm on Sunday November 08, 2020 @12:45AM (#25023373)
He explicitly said it doesn't suffer from identical problems, notably not having padding requirements and not having to select primes: users select random keys instead.

Anything can be badly implemented. ECC can be badly implemented. Two specific, often repeated problems are not shared by ECC

Re:Stop using RSA (2019) by ohazi on Sunday November 08, 2020 @01:05AM (#25023478)
You, me, or djb still have to select a curve -- that's where I expect the pitfalls will be.
Re:Stop using RSA (2019) by ggm on Sunday November 08, 2020 @01:33AM (#25023608)
Libsodium. Djb or his equivalent did that already and if there is a timing attack, it will get found and fixed faster.
Re:Stop using RSA (2019) by ohazi on Sunday November 08, 2020 @04:03AM (#25024279)
I'm not referring to implementation bugs, I'm referring to choice of curve, which can't be changed after the fact.

Look at the table at the bottom of: https://safecurves.cr.yp.to/

Today, Curve25519 is a good choice because it's popular and checks all the boxes. But how many undiscovered columns are in this table?

My top level comment seems unpopular, so for what it's worth, I'll clarify that I definitely agree that there are fewer knobs for the non-cryptographer implementer to get wrong with ECC. But that's because the only way to implement an ECC system exactly as specified by the cryptographers. That's clearly an improvement over RSA, but I remain unconvinced that the cryptographers designing the curves are infallible. There are curves and curve parameters that, for various reasons, are bad.

Maybe there's a proof that it's impossible to do better than Curve25519, but if there is, I haven't seen it, and tptacek would rather be snarky than provide a reference. Is it impossible for more columns to show up in that safecurves table? If so, prove it. Otherwise, I think my top level suspicion is reasonable.