95 comments

pcstl3 days ago
Since it's what everyone is going to be worrying about: This result does not matter practically for cybersecurity.

The best practical algorithm for solving elliptic curve DLP is BSGS (Baby Step, Giant Step) which grows as 2^{b/2+o(b)} in the key length.

This result claims 2^O(b/(log log b)) which is technically subexponential, but since that `log log b` term grows so slowly it pretty much would only beat BSGS for absolutely gigantic keys.

minitech3 days ago
I’m not very familiar with this stuff at all, but this comment doesn’t seem right. That’s the Shanks method presented nicely in Table 1 with time complexity p^{1/2+o(1)}, vs. this method’s p^o(1). I’m confused how you ended up at O(p).
pcstl3 days ago
p^1/2 is sqrt(p).
ozgrakkurt3 days ago
Thanks for explaining it. How does it work on actual hardware? Are any of these algorithms better at utilizing CPU cache or SIMD?
pcstl3 days ago
This work really isn't at the hardware or even practical execution level. Just showing how the algorithm on an abstract idealized machine scales with input size. There's a lot of optimization that goes into getting this to work on a real machine.
catlifeonmars3 days ago
That depends, how fast does the tape on your Turing machine move?
gregdeon3 days ago
How much bigger are the constants on this result?
Luke26423 days ago
The right conclusion for the wrong reason. They claim the new algorithm is theoretically faster for huge numbers and only impractical because of massive initial overhead.

Perhaps misread the paper's actual bound which is p^{o(1)} and means the exponent on p eventually shrinks smaller than any positive number including 0.5 (the square root) once p is big enough.

layer83 days ago
A randomized subexponential-time algorithm for the discrete logarithm problem has been known for close to 50 years: https://pages.cs.wisc.edu/~cs812-1/adleman.pdf

The present deterministic algorithm is highly unlikely to have practical consequences for cryptographic protocols in use.

pcstl3 days ago
Also the current best algorithm has running time proportional to the square root of the group order. This one has running time proportional to the group order, which means it's a nonstarter for practical atacks.
NooneAtAll53 days ago
did you misread o(1) as 1 or smth?
stabbles3 days ago
Should OpenSSH implement a config option that requires two different types of keys? If we don't know whether RSA or Ed25519 is weakened, then better to have both?

The situation on e.g. GitHub is sort of the opposite: if you use both RSA and Ed25519, then it's as strong as the weakest of the two.

peri-cl3 days ago
I think that's just "hybrid" key exchange. I.e., when I'm connecting to news.ycombinator.com now, my browser is exchanging keys by mlkem768x25519 in TLS 1.3, which is still secure if either one of ML-KEM or Ed25519 fall.

https://www.rfc-editor.org/rfc/rfc9954.html (RFC 9954 Hybrid Key Exchange in TLS 1.3")

> "Hybrid key exchange refers to using multiple key exchange algorithms simultaneously and combining the result with the goal of providing security even if a way is found to defeat the encryption for all but one of the component algorithms."

Note that Ed25519 would fall together with RSA if that P=BQP rumor is true. (Ed25519 is a special case of the discrete logarithm problem in the OP, by the way).

tsimionescu3 days ago
Is there a rumor of a BQP=P result? Wildest I'd heard was a rumor that Facrorization is in P, which would be related, but far weaker. P = BQP would have massive implications, even in theoretical physics.
moody__3 days ago
This is already their chosen path for PQC, ed25519 and mldsa44 will likely replace the bare ed25519 default within a year-ish.
aaronmdjones3 days ago
You would want to do that for key exchange too, not just authentication. OpenSSH already supports this for authentication; setting "AuthenticationMethods publickey,publickey" in sshd_config(5) will force users to supply 2 independent authorised keys. It also already supports hybrid key exchange.
stabbles3 days ago
AuthenticationMethods publickey,publickey does not require different types, so if you have two machines each with a unique (rsa, ed25199) pair, OpenSSH will also accept (rsa, rsa) or (ed25199, ed25199).
ufocia3 days ago
The weaker of the two. Two is not enough to use the superlative, only the comparative.
falcor843 days ago
That's a true limitation in theory, but in practice it's absolutely fine for sufficiently large values of 2.
cperciva3 days ago
Reminder: Algorithms for integer factorization essentially always have an analogue for prime-field DLP. Usually it takes a bit longer than this for the details to be ironed out, but the surprise would have been if this algorithm didn't exist.
thibault003 days ago
Kinda feel the news isn't the speed but that there is no need of randomness and GRH.
Aardwolf3 days ago
Is GRH still an issue though given that it's proven?
taneq3 days ago
It’s still more satisfying to prove something using fewer / simpler dependencies.

Read the full thread on Hacker News →

Related stories