Ask HN: Is RSA in Jeopardy?

18 points | by lyfeninja 2 days ago ago

9 comments

  • ColinWright 2 days ago

    I've seen reports about being able to factor large numbers, but the quoted complexities are worse than existing algorithms. The difference is that the new algorithms are guaranteed, whereas the fastest existing algorithms can fail in some circumstances.

    So based on what I've read so far, the answer to your first question is:

    Yes I've heard the reports, and no, it's not true that factoring is broken.

    The answer to your second question is that we already know that quantum computers will render RSA ineffective, and people are already working on cryptosystems that are quantum resistant:

    https://en.wikipedia.org/wiki/Post-quantum_cryptography

    Note: I'm not an expert, but I'm watching this with interest. I'd be happy to hear from someone who is more knowledgeable.

  • jeremyjh a day ago

    There is no compelling reason to continue using it for SSH - it hasn't been the default for awhile and I think its worth rotating any that you depend on. Ed25519 is the default but the latest OpenSSH has an even better choice that is described as post-quantum: mldsa44-ed25519

    TLS is a different story. Let's Encrypt ISRG Root X2 is their ECDSA P-384 variant, issued in 2020 and has good deployment footprint but their default chain is the one cross-signed by X1, which is telling. I think if RSA is cracked its very bad news.

  • f646993e074382f a day ago

    1. Who knows, but from a threat model perspective you should assume it, certainly if you work on things that can be stored and decrypted later, e.g. messaging etc. 2. Move to Post-Quantum Cryptography algorithms. Always use unique nonces per message.

  • hn_submit a day ago

    No this obviously isn't true. Otherwise the world would be on fire and it'd be front-page news. People would be out in the streets.

    I'm not convinced viable quantum computers will become a reality during my lifetime. It's prudent that some government agencies are taking precautions (the secrets they guard must be secure for an indefinite period of time) but for most mere mortals it doesn't matter much. Most secrets have an expiration date. Your login cookie is only valid for a limited period of time, for example.

  • uticus 4 hours ago

    >2. Given most of the Internet relies on RSA, now what?

    Since AI was used to break it, AI will be seen as the first contender for making a replacement.

    Likely it will be so advanced we won't have a clue if it's a genuine replacement or just theater. But (just like now) most people won't care because it's what everyone else uses too.

  • Cheese48923846 2 days ago

    2. It sucks to live in a world without public keys, but it is what is is. We may need to return to 1980's style banking sooner or later. Checks in the mail. Hop in your car and meet people when you need to conduct business.

    • Lockal a day ago

      Even if both classic and post-quantum encryption falls, a one-time pad cryptography will survive. Bank users will just have a cheap flash drive with 1GB of random data, and that's enough for thousands of transactions.

    • saguntum 2 days ago

      Maybe trusted parties brokering giant one-time pads is the only way....

  • cpach a day ago

    2. There are other algorithms. For example Curve25519. Even if someone knows how to factor large prime numbers it’s not guaranteed that it would make Curve25519 weaker.

    It’s probably a good idea to avoid RSA: https://blog.trailofbits.com/2019/07/08/fuck-rsa/