An unofficial, read-only Hacker News reader. Join the beta →

Rumors swirling that labs might have cracked Factoring in P (opens external site)

513 points by lilytweed 2 days ago | www.reddit.com | 384 comments on HN

View full thread · View on Hacker News

Comment thread (64)

  1. I really don't think any crisis would occur. Hundreds of millions of dollars that wouldn't have otherwise been spent would go to a transition; and, it'd be a stimulus for some sectors of the technology industry. That's about it.

    Even if you could literally break RSA on a laptop, and even considering the oddball non-TLS corners of technology that depend on RSA, I don't think that much would practically happen. We lived through a long era where virtually nothing was cryptographically secure (remember: a good long stretch of the time we've been encrypting things with RSA, we were holding it wrong, and it was trivially breakable in several different ways). Those weaknesses (no encryption or bad encryption) were not the primary vector through which things were broken.

    Replies (8)
    1. There's so much focus on this now and so much compute available, it's a very different game I'd think.

      Llms also make it much easier for non-experts to take advantage of hearing about the break

      Replies (1)
      1. Right, but I'm comparing now to a time where there simply wasn't any encryption to speak of. A teenager could attach a packet sniffer to the Internet backbone, in effect, and that happened multiple times. Then as now the real vectors for attacks were exploits and social engineering.
        Replies (1)
        1. I still think there are now more eyes that would:

          A) hear about it

          B) be interested in exploiting it (both because the ramifications are more widely understood and because the world has come to depend on encryption being infallible, so there are bigger pots of gold to find)

          C) be able to exploit it with an llm

          You know it's a funnel, more input at the top and so on

    2. Comparatively little of our economic activity was over the internet in the pre-cryptography era, though. Is that really what you're saying? That we could go back to a pre-cryptographic era and it wouldn't matter?
      Replies (2)
      1. Yeah this is similar to saying, "we lived for a long time without electricity. I don't think it would be a huge deal if everyone lost electricity for a few weeks".
        Replies (3)
        1. I mean, the internet is communications, not power. If we were to ever be forced back into an untrusted internet (such as if ALL cryptography were to fall), the short-term ramifications would be disastrous across most systems in society. However, while tech companies are working hard to make this less true, many crucial systems still have fallbacks or can continue to function without the internet. Hospitals, factories, power generation will probably experience disruptions but on average continue working. Logistics would be the hardest hit, which would cause many deaths. But losing internet = some/many things go down (and there is a way to revert to how they worked pre-internet, even if it's painful and inefficient), losing electricity = everything goes down, it's a whole other level of disaster.
          Replies (1)
          1. it's impossible for all cryptography to fail, OTPs will always be secure, it just becomes hard logistically and harder to use but OTP is mathematically never gonna break
            Replies (1)
            1. One-time pads are barely cryptography. It's a little like saying "you'll always have the option of not sending a message electronically; your secrets will always be securable".

              One-time pads aren't just "hard logistically and harder to use". They simply don't support almost anything we use cryptography to protect today. In virtually every case they're proposed, you just end up moving the cryptographic vulnerability somewhere else in the architecture; the "one time pad security" is performative.

              Continue this thread (2 replies) →

        2. People do lose electricity for weeks or more, during and after major storms. Even in the wealthiest nation in human history: consider the case of Hurricane Maria, after which most of Puerto Rico lived without power for months (or longer, in pockets). [0]

          It’s no fun, and there are definitely bad side effects (which can be mitigated somewhat through solid advance planning—authorities tend to think about backup power for medical devices, for example).

          But a mass exigency stimulates an awful lot of humans to feel invested in pitching in a little to get back to normal. Best, always, to avoid the situation—but we don’t lose our collective ingenuity once we find ourselves in it.

          I’m reminded of stories from the wilder-and-woolier days of banking systems: hyperinflation or bank runs or currency debasement would lead to workarounds like local IOUs, tight-but-temporary withdrawal limits, barter and mutual aid…

          Heck, cryptographically secure payment cards are only, what, a decade or so into widespread use in the US? [1] For decades we literally embossed on the front of the credit card everything you needed to charge it…

          [0] https://journals.plos.org/plosone/article?id=10.1371%2Fjourn...

          [1] https://en.wikipedia.org/wiki/EMV#:~:text=68.37%25.%5B1%5D%5...

          Replies (1)
          1. The people who live in places that lose power for weeks, are prepared to lose power for weeks.

            When it snows in Maine, maybe some things are closed for a day if it snows really hard.

            When it snows in Texas, the state collapses.

            Big difference.

        3. Many people die even from a day of outages. Turns out heating and cooling is really important. For some it's necessary to even breathe.
      2. I'm not just talking about the pre-cryptography era; I'm talking about the long period in which virtually all deployed cryptography was grievously vulnerable, far more so than it will be to any plausible factoring-in-P-type attack.
        Replies (4)
        1. Ah, I see - I focused on the pre-crypto point but it sounds like you're making the point that a similar re-deployment of crypto has happened before and it wasn't that disruptive.
          Replies (1)
          1. It’s a silly argument - there were several of magnitudes fewer systems and people online. I’m not sure banking and financial systems could handle a mass scale undermining of the core internet cryptography.
            Replies (2)
            1. Everyone clicks continue on certificate warnings, that much I learned from playing with cain&abel as a teenager on open or company WiFis, but I've never actually met anyone who fell victim to criminals sitting at McDonald's or doing evil WiFi twin attacks near offices or anything. Intelligence and law enforcement agencies surely will make use of bugs in RSA to place taps, but ordinary criminals? Do you know someone who got MitM'd after eMuhdra? A friend of a friend even? (0.0011% of Dutch citizens got killed by Russia in 2014 but everyone somehow knew someone who knew someone who was in the plane)

              It would be a silly argument to say we shouldn't secure anything, but it's less silly when it's being used (as it was above) as a way of figuring out what to realistically expect will happen and make plans accordingly

            2. Not only that but if there were public announcements of RSA being hackable it would draw tons of attention--you'd have lots of people specifically going for exactly that vector whereas it sounds like the previous instance of insecurity was manageable exactly because attention wasn't on it like that.
        2. Can you explain in more detail/point to references? Genuinely curious - I would have thought that public cryptographic protocols being easily broken would have caused constant chaos in the Internet age and wondering why that didn't seem to actually be the case.
        3. What period was it? Secure internet connection basically didn't exist until 1999, and by the time TLS 1.0 was found insecure, 1.1 already had wide support. Same with 1.1->1.2 transition.
          Replies (1)
          1. Pretty much the whole 2000s. Mark the end of that period with the TLS CRIME attack.
        4. Why does that matter though? The exploits had to first be found. If now we have so many vulnerable systems online, bot farms will run rampant. Especially, in a time of war. Now is not the same times as back then.
    3. > I really don't think any crisis would occur.

      Well, how about 10B people signing their own bootloaders and getting mainline linux on their phones to make all the neo-Stasi surveillance states collapse in blindness?

      Replies (1)
      1. Quiet fool they'll hear you!
    4. RSA is to be deprecated from 2030 and retired from use by 2035. This would have to be expedited.

      Presumably the already available elliptic curve algorithms would still be available and are the easiest first step. The second step would be to change to the post-quantum algorithms required in 2035 and beyond. There is also the possibility of moving to authentication and key agreement using symmetric cryptography and shared secrets, either peer-to-peer (like ATM PINs) or via central directories (like Kerberos).

      The biggest pain point is likely to be securing embedded systems which use RSA and cannot be easily updated. Browser or smartphone app to server applications are much more easily secured.

      For some uses of RSA there is also the problem that messages which have been captured and stored may be retroactively broken.

      Replies (2)
      1. ECC and RSA essentially fall together.
        Replies (3)
        1. Do they? How so? Aren't they entirely different math problems to solve?
          Replies (4)
          1. AIUI They are both conjectured to be equivalent to the Discrete Logarithm Problem. It is of course possible that you've found a way to attack one but not the other, but typically it's a two-for-one.
            Replies (2)
            1. OK, I thought that that was exactly the point of Elliptic Curve Cryptography, that they are not equivalent to the same problem.

              Continue this thread (1 replies) →

            2. No, the meme that DLP and ECDLP "fall together" started because you can use Shor's algorithm for both of them, not because a classic attack on one is expected to translate to the other.
          2. They are, but advances on one side have in the past helped on the other side as well. There is a version of Pollard's rho for each system, and there are parallels between the number field sieve for integer factorisation vs function field sieve for discrete logarithms

            More fundamentally though, both systems rest on the assumption that a long unsolved mathematical problem will remain unsolved. That seems a questionable assumption in the LLM era

          3. They are both instances of the more general Hidden Subgroup Problem [1] which is what the quantum algorithm, Shor's algorithm, solves. That is why quantum computers would break both RSA and ECC. However, it is possible that improvements may only be made on the specific instances rather than on the underlying problem if we are not considering quantum computers.

            [1] https://en.wikipedia.org/wiki/Hidden_subgroup_problem

          4. They are not related directly and there is even an exponential lower bound for dlog in idealised groups. The problem is we can't I stantiate such group. It's not clear that improvement on factoring would yield direct improvement on index calculus.
        2. To quantum attacks, yes. To AI algorithmic advances, not necessarily. If we did a fire drill transition, it'd be to MLKEM, that's true, but it wouldn't necessarily (or even likely) be the case that ECDLP is threatened.
          Replies (1)
          1. and yet I am telling you they fall together
        3. Do they? Integer factorization and discrete logarithm fall together?
      2. It also doesn't address the problem that there is so much encrypted data that could be retroactively decrypted.
        Replies (1)
        1. That should always be assumed to be the eventual result of any (encrypted or unencrypted) data transmitted over the Internet.
    5. The fact there's rumors means the NSA is almost certinally investigating, they scan the internet for things they regard as a security threat.

      So if real, it won't get released publicly (lest someone goes to jail).

      Later, the Chinese labs with their AI will crack it and their government/spy agencies will get the crack.

      Hopefully this doesn't get used as an excuse to hold back frontier AI, but some day ordinary researchers will probably be able to use open models to pull something like this off.

      Replies (1)
      1. It's not illegal to publish new vulnerabilities.
        Replies (2)
        1. Presumably if the NSA is aware of a way to break RSA, the NSA is also capable of then MITMing anyone who would publish such a finding without their blessing and placing plenty of highly illegal files into their HTTP traffic that get saved to disk.
          Replies (1)
          1. I don't know what you're talking about here, but if you break RSA, you can publish your break on Twitter or on Pastebin or Gist or whatever; nothing is going to happen to you. Publishing vulnerabilities is not illegal.
            Replies (1)
            1. In real life, it matters far less what is legal than what an entity has the capability to do to you if you piss them off.

              Continue this thread (1 replies) →

        2. There is born classified material.
          Replies (1)
          1. You can't independently reinvent classified information. If NSA breaks FEAL8 in a new and exciting way and classifies it, and you independently come up with the same break, your break is not classified. The only exception I'm aware of is the atomic secrets stuff.
    6. In the last era of poor security there were no LLM hackers (in addition to lower financial incentives since less stuff was online).
    7. We lived with DES for decades, so whatever. It will annoy people in charge of compliance who will annoy developers who will annoy compliance people who will..
    8. This sounds to me like the real rational take.

      There is a tendency in tech circles to view technology, laws, economics like actual laws that rule the behavior of a mechanical society. A lot of past and recent doomerism arises from that misconception.