| ▲ | A Deterministic Subexponential-Time Algorithm for the Discrete Logarithm Problem [pdf](eprint.iacr.org) |
| 117 points by yuvadam 3 hours ago | 47 comments |
| |
|
| ▲ | pcstl 2 hours ago | parent | next [-] |
| 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. |
| |
| ▲ | minitech an hour ago | parent [-] | | 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). | | |
| ▲ | pcstl an hour ago | parent [-] | | p^1/2 is sqrt(p). | | |
| ▲ | minitech an hour ago | parent [-] | | Yes. An exponent of o(1) is better than 1/2. (I’d assume you misread it as O(1), but you’d really have to misread it as exactly 1…) | | |
| ▲ | pcstl 28 minutes ago | parent [-] | | I did some deeper analysis and you're correct. The paper's result is still not a practical cybersec threat, but not for the reasons I initially stated. I'll edit my initial comment. |
|
|
|
|
|
| ▲ | layer8 2 hours ago | parent | prev | next [-] |
| 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. |
| |
| ▲ | pcstl 2 hours ago | parent [-] | | 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. | | |
|
|
| ▲ | stabbles 2 hours ago | parent | prev | next [-] |
| 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-cl 2 hours ago | parent | next [-] | | 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). | |
| ▲ | moody__ 2 hours ago | parent | prev | next [-] | | This is already their chosen path for PQC, ed25519 and mldsa44 will likely replace the bare ed25519 default within a year-ish. | |
| ▲ | aaronmdjones an hour ago | parent | prev | next [-] | | 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. | | |
| ▲ | stabbles an hour ago | parent [-] | | 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). | | |
| ▲ | aaronmdjones 4 minutes ago | parent [-] | | It can require different types if that's how you set up your authorized_keys file. You can then mark it immutable so that it can't be changed. You should also create an empty authorized_keys2 file in this case (since OpenSSH will read both by default), unless you set e.g. "AuthorizedKeysFile .ssh/authorized_keys" in sshd_config(5) too. It can't accept rsa,rsa in your example since neither machine has 2 RSA authentication keys in your example. |
|
| |
| ▲ | ufocia 30 minutes ago | parent | prev [-] | | The weaker of the two. Two is not enough to use the superlative, only the comparative. | | |
| ▲ | falcor84 2 minutes ago | parent [-] | | That's a true limitation in theory, but in practice it's absolutely fine for sufficiently large values of 2. |
|
|
|
| ▲ | cperciva an hour ago | parent | prev | next [-] |
| 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. |
|
| ▲ | thibault00 an hour ago | parent | prev | next [-] |
| Kinda feel the news isn't the speed but that there is no need of randomness and GRH. |
| |
|
| ▲ | rfgplk 24 minutes ago | parent | prev | next [-] |
| Known for ages by anyone in this field. |
|
| ▲ | soVeryTired 2 hours ago | parent | prev | next [-] |
| Opus 5.5 claims there are no immediate cryptographic consequences. Maybe bigger elliptic curve keys one day, and RSA can already be attacked by faster algorithms. Seemingly this is a complexity theory result rather than a cryptography result. |
| |
| ▲ | bradleyjg 2 hours ago | parent [-] | | True. But in the last couple of weeks the Bayesian probability of new math trashing a major piece of in use cryptography in the near future has shot up—-easily eclipsing the risk from quantum computing working out. | | |
| ▲ | andersonpico 2 hours ago | parent | next [-] | | there is no reason to assume that AI-driven progress would disproportionately benefit classical cryptanalysis while leaving quantum computing unaffected edit: quantum algorithms and error-correction algorithms are math problems. breakthroughs in quantum algorithms already reduced the qubits needed to break RSA quite drastically already. maybe AI could even aid in qubit design and hardware architecture. | | |
| ▲ | adrianN an hour ago | parent | next [-] | | Of course there is: building quantum computers needs to happen in the real world, breaking crypto with classical algorithms can happen entirely in cyberspace. | |
| ▲ | bradleyjg an hour ago | parent | prev [-] | | Quantum computing is a physical engineering project. Classical cryptanalysis is math. AI is demonstrably better at math right now. So there is a very good reason. | | |
| ▲ | andersonpico an hour ago | parent [-] | | quantum algorithms and error-correction algorithms are math problems. breakthroughs in quantum algorithms already reduced the qubits needed to break RSA quite drastically already. maybe AI could even aid in qubit design and hardware architecture. | | |
| ▲ | bradleyjg an hour ago | parent [-] | | Yes, but we currently have no usable qubits at all. So even dramatic math breakthroughs don’t do anything in the near future. |
|
|
| |
| ▲ | bee_rider an hour ago | parent | prev [-] | | At this point maybe we should just start building up the infrastructure for one-time-pads. Go to the Apple Store or your bank once a month or so, and load up on a couple gigs of physically random bits. | | |
| ▲ | bradleyjg an hour ago | parent | next [-] | | Anything can happen, but asymmetric crypto looks more at risk than symmetric. If we lost that, we’d need to do a combination of physical key exchanges (for most critical / sensitive cases) and Kerberos style key exchange servers. | |
| ▲ | adrian_b 41 minutes ago | parent | prev | next [-] | | None of the mathematical advances that may happen in the near future is relevant for the traditional secret-key cryptography. Public-key cryptography is not strictly necessary, key exchange can be done using pre-shared secret keys. Within an organization, public-key algorithms offer only few improvements over secret-key algorithms, e.g. the ability to revoke certificates. Where public-key algorithms have great advantages is for asymmetric communication between unknown customers and an authenticated server, e.g. for online purchases and online banking. If the existing public-key algorithms became broken tomorrow, that would have negligible effect for spy agencies or competent terrorists, but it would disrupt the Internet commerce. | |
| ▲ | pastel8739 an hour ago | parent | prev | next [-] | | And how do you get those bits to the other party to your encryption? | | |
| ▲ | bee_rider an hour ago | parent [-] | | Well, at least we’ll be able to do online banking and Apple updates. Does Amazon still have stores? Maybe they can distribute bits through Wholefoods locations. |
| |
| ▲ | w4der an hour ago | parent | prev [-] | | What's the difference between this and a TOTP protocol where you go in and scan the seed at your source of trust? | | |
| ▲ | monocasa an hour ago | parent | next [-] | | The difference is that you don't reuse one time pads like you do with seed based algorithms like TOTP. | |
| ▲ | bee_rider an hour ago | parent | prev [-] | | I don’t know anything about cryptography, my post was mostly a joke. Classic one time pads are information-theoretically unbreakable of course, but the idea of going to a shop in person to load up on bits seems too silly. How’s TOTP work? Generally if there’s a seed involved I’d be worried that some bits could be reused. But, as I said before, I don’t know anything about crypto. |
|
|
|
|
|
| ▲ | wren6991 2 hours ago | parent | prev | next [-] |
| > The algorithm uses zero random bits and relies on
neither the Generalized Riemann Hypothesis nor smoothness heuristics How quaint. I remember back when we didn't know Dirichlet GRH was true. |
| |
| ▲ | FeepingCreature 2 hours ago | parent [-] | | We were so naive in the good old days of a week ago we didn't know anything but we were happy dammit! | | |
|
|
| ▲ | meindnoch 30 minutes ago | parent | prev | next [-] |
| Can this help with finally factoring Pi? That would break all encryption, I've heard. |
|
| ▲ | monster_truck 2 hours ago | parent | prev | next [-] |
| Hey does anyone know what their LLM told them about this? That's definitely what I was hoping to read |
| |
| ▲ | NitpickLawyer 2 hours ago | parent [-] | | Your sarcasm notwithstanding, I seriously think that asking the top models for an explanation, maybe w/ cross-checking their responses with each other and then a "simplified explanation" has better chances of being relevant than a random comment on the Internet was ~1 year ago. Obviously different if you know and trust someone and can verify their identity. But as for randoms on a forum, yeah I'll take my chances w/ the clankers on math problems. | | |
| ▲ | andersonpico 33 minutes ago | parent [-] | | > Obviously different if you know and trust someone and can verify their identity. one of the few things this forum has over any other is precisely that some relevant people post here using their actual identity. people come to forums for the human aspect, anyone who's here have access to the top models and could prompt themselves if sufficiently interested. |
|
|
|
| ▲ | lyche an hour ago | parent | prev | next [-] |
| Can this have implications for integer factoring in P? Apart from the fact that someone might have already solved it and is sitting on the result (for national security). |
| |
| ▲ | marcosdumay 10 minutes ago | parent [-] | | This is directly adapted from the recent discoveries in integer factoring. And neither of those algorithms are in P. |
|
|
| ▲ | Bootvis 2 hours ago | parent | prev | next [-] |
| LLM's are making exponential progress on subexponential-time algorithms |
|
| ▲ | ArvidSu 2 hours ago | parent | prev [-] |
| As ChatGPT put it: "Well, shit." We'll see if, or rather when this or an improvement/approach like it is a practical way to derive private keys from public keys. |
| |
| ▲ | pcstl 2 hours ago | parent [-] | | Well, this result doesn't really add anything new and is in fact vastly worse than the best already-existing algorithm. |
|