Unofficial Hacker News companion — get notified on comment replies, and more.

NSA advises immediate transition to post-quantum cryptography (opens external site)

2703 points by intunderflow 1 day ago www.nsa.gov 1277 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (57)

  1. > Adversaries are already collecting encrypted information to decrypt once the capabilities become available.

    Given the lack of any technical details, the above seems to be the main rationale for the current advice. Not that the algorithms currently in use are broken, but there might be a foreseeable path to them being broken in the future.

    Replies (15)
    1. Isn't this precisely why agencies like NSA have been storing encrypted data waiting for the day that it could be decrypted? Why is this different or more headline catching? This is modus operandi since forever.
      Replies (2)
      1. Exactly. It is one of the things the Snowden files brought to light. Dragnet absolutely everything now, decrypt later
        Replies (2)
        1. The strategy was known before that -- see Venona (https://en.wikipedia.org/wiki/Venona_project).

          Intercepts of Soviet traffic from WWII encrypted with faulty one-time-pads were still being broken as late as 1980.

        2. But dragnet what exactly? It's unlikely they could store even a single year's worth of internet traffic, and all that data is both mostly useless and anything of intelligence value now diminishes the older it gets. And that's assuming they want to devote all their storage to internet intercepts, not store any other data (satellite imagery, radio signals intelligence, other kinds of intercepts etc.).

          So they'd actually have to be quite selective about what they decide to store to decrypt later.

          Replies (1)
          1. Whether they keep 100% of encrypted messages, or just the ones from “person of interest”s it’s not clear to me.

            Back in the old days of GPG, I would send encrypted messages with the content of something like “congratulations on decrypting this message. I hope it was worth the effort” type of nonsense just in case it was literally every encrypted message.

            Replies (1)
            1. You might be interested in the hidden correlations in alt.anonymous.messages. (2014) https://youtu.be/kl1FZPb6LRU
      2. It's also why they are recommending you use solo PQC instead of a safer, and provably more secure, hybrid approach.
        Replies (1)
        1. Who is recommending that? I'd not in the NSA document I just read. It says things like

          > Where TLS 1.3 is not possible, ensure use of TLS 1.2 and follow CNSA suite 1.0 guidelines.

    2. It’s a roko’s basilisk type situation.

      I’m interested in what organizations actually store massive amounts of encrypted data for this future possibility.

      Replies (3)
      1. NSA and analogues, clearly.
      2. > I’m interested in what organizations actually store massive amounts of encrypted data for this future possibility.

        The NSA

      3. NSA doth protest too much
        Replies (1)
        1. I don’t think it’s an especially hypocritical position. Armies invest in both guns and body armor because they would like to shoot other people and not be shot themselves.
    3. Indeed. Maybe as of now the forseeable path is "we don't know what LLM-assisted discoveries there could be in the short or medium term future". But then, wouldn't this apply to PQC as well?
      Replies (1)
      1. Just throwing out there the orthogonal possibility that with the global provisioning of so much compute for LLMs perhaps in addition to incremental improvements in cryptanalysis NSA is concerned with entities being able to deploy enough raw compute to break keys the old fashioned way.
        Replies (3)
        1. Not sure about this, wouldn't in that case the compute be reserved for LLM inference/training?
        2. There isn't sufficient compute on the planet to come anywhere even vaguely close to that without pairing it with a break in the underlying cryptography.
          Replies (3)
          1. The point being they might be seeing advances in crypto weaknesses that bring the compute requirements maybe not today into feasible cracking but close enough to be afraid of further developments.

            And just be reminded that it has been one month since a certificate authority was shut down because among others, one of its private keys was "4". We don't necessarily have to be dealing with theoretically perfectly implemented crypto algorithms.

          2. Maybe for some specific ciphers using smaller key sizes, say RSA-1024, one could actually trow a massive amount of compute at it for a year and find the key. But inbthe scenario presented by OP, the compute would be used for LLMs, so this isn't happening.
            Replies (1)
            1. Some anthropic guy threw the spare compute from a cluster of 2048 GPUs to factor RSA-896, done in 10 days. So RSA-1024 is probably within reach.

              https://saweis.net/posts/rsa-896.html

              Continue this thread (2 replies) →

          3. I think if you told anyone in 2007 run

            echo 'lIaC/LQECdFOTo+kmDhr9kuVW0HbVF7Zgf0Ql3Uj1nA=' | base64 -d | sha256sum

            they'd be unsettled even though that's not really close to breaking sha256 (look at the end of the hash).

            Replies (1)
            1. Saved you a paste: it ends in 20 zeros in hex, so 80 0 bits. I'll assume it's a bitcoin block header.

              They'd be very surprised that we spent all of Italy's electricity bruteforcing sha256 but given that we did, and a few more generations of hardware improvements, not terribly surprised.

              The 176 remaining bits are the margin for error - still plenty left.

              Continue this thread (1 replies) →

        3. But what does that have to do with post-quantum crypto? Improvements in cryptanalysis combined with raw compute is just as likely to break classical algorithms as to break post-quantum algorithms, aren't they?
          Replies (1)
          1. Not necessarily, the structures underlying PQC are nowhere near as well studied as classical cryptography. We have lots of experience and thus guidance for how to build classical elliptic curve schemes safely and lots of time spent on trying to attack them, meanwhile almost 50% of the PQC competition candidates were broken within a few years (many of them were broken classically, with trivial attack scripts).

            The galactic algorithm for ML-KEM was mostly a nothing-burger but some cryptographers have been warning that we do not know enough about the security of structured lattices for years.

            Replies (1)
            1. Right that supports my point, there's been no indication that quantum computers have suddenly progressed so why the sudden rush to transition to post-quantum cryptography

              Continue this thread (1 replies) →

    4. Adversaries have always collected "encrypted information" in the off-chance they can decrypt it eventually. Why mention it now?
      Replies (1)
      1. Maybe there are systems that wouldn't be targeted or at least wouldn't be a high priority because the data wouldn't be very useful in 40 years (or whenever decryption was assumed to be possible). But if decryption is possible next year and an adversary can use an LLM to conduct automated attacks then maybe a lot more system become targets.
    5. Guaranteed the fuck-ass nsa has captured more encrypted data than any adversary
      Replies (1)
      1. Well, yeah? They're a signals intelligence agency. Calling them "fuck-ass" then guaranteeing that they have more data than any adversary is kind of ironic, no?
        Replies (1)
        1. My apologies i should've put 'adversary' in quotation marks.
    6. including states btw, I’m guessing this is how they know
      Replies (1)
      1. I suspect multiple states, like China, Russia, USA, and NK, have already broken some encryptions. Along with a few companies.

        That's the only safe assumption at this point.

        Replies (2)
        1. The is an exteemly simple test to prove NK have not yet broken common clasical crypography: Dose your bank account read 0.00 if not then we are good. (Unfortinatly the are other causes of 0.00 it is not enough alone to prove we should worry)
        2. Oh, maybe, but I meant that states already store encrypted communications in case they can break it in the future. And not in a conspiratory sense, I mean in the sense that court orders can allow communications to be tapped, which are often encrypted, but they are stored anyways.

          Speculative storage evidence is not uncommon in criminalistic, lots of cold cases opened up with the advent of dna testing and fingerprint databases for example.

    7. So they “responsibly disclosed” that fact that there might be a foreseeable path to them being broken in the future?
    8. > Adversaries are already collecting encrypted information to decrypt once the capabilities become available

      It's funny hearing this from the NSA, since they are the first people who come to mind when I read that sentence.

      Replies (1)
      1. Well, yes. They play both attacking and defending roles depending on the circumstances, and have clear reason to draw attention away from the attacking part.
    9. Given the latest progress post quantum cryptography seems to be the worse option.
    10. Wow thanks for that sherlock. Maybe it means that the administration(that received millions of dollars from AI companies) is posting garbage advisories to keep AI in the newscycle to pump stock.

      "forseeable path to them being broken in the future" you mean like the paper claude released with encryption breaking theories that are slower than what existed the day before?

      Replies (1)
      1. Oh, I actually think it is exactly that. That is why I said there might be a path.
    11. 'No us though, we would never ,;-O'
    12. I think this is naive. I believe that critical parts of cryptography has been broken already, and they are just giving a wink-wink-nod-nod to everyone to hurry the F up and migrate to stronger algorithms.

      How does this affect cryptocurrency like BTC? Are they doomed or can they migrate?

      Replies (2)
      1. probably hardfork to support new PQC algos, with the hope that most holders move their funds to a PQC address before the attacks become feasible. anyone left with an EC wallet risks any attacker stealing the funds.
      2. > I think this is naive. I believe that critical parts of cryptography has been broken already...

        It's difficult to see what the sudden urgency would be otherwise, because we've long known there's a need to move to PQC at some point and that there are actors opting for store now, decrypt later.

    13. This doesn’t make sense to me. What is more probable: a widely general weakness in crypto algorithms widely used today (or even p=bqp), or a weakness in post-quantum methods that nobody have had less value for attackers? That is to say, it would be dangerous to swap to a post-quantum algorithm only to find it was even easier to break
    14. Is this new? I'm pretty sure every major countries agencies have been siphoning pretty much everything available for this specific scenario.
    15. Yes. Cancer better be freaking out right now too. All the tech bros are saying it.