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

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

2701 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 (29)

  1. How about a hybrid approach? Why use one encryption algorithm when you can double or triple encrypt? Why have just one digital signature when you can have signatures with three or four algorithms?
    Replies (10)
    1. Because we normally have a rough understanding what is quantum save and what not and you either build in everything which works into one algorithm or not.

      We don't have that many options creating crypto out of thin air.

      Replies (3)
      1. Well, actually we could go on with an hybrid approach and use two algos in series, I don't understand your point. (of course it's a trade off with performance)
        Replies (1)
        1. Either an algorithm is understood and save or not. And its a balance between time and effort.

          So just combining random algos doesn't add any value.

          And normal secure algos are secure there is no benefit of just adding some random other secure algo.

          If one algo has some mathematical idea behind it, and another one has another independent mathematical idea behind it, you could combine it so it becomes one algo and not two independent algos applied after each other.

      2. If all you have to do to break your encryption is encrypt it again, it isn't secure. Unless you are sharing the same entropy in both encryption algorithms.
      3. The problem is that ML-KEM and friends have not been subject to the same kinds of rigorous review as existing SOTA crypto. Anthropic's dampish squib this week is practically unexploitable today, but does highlight that there are potentially underlying weaknesses in the algorithms.

        Hybrid allows you keep the audited, 'secure for now as far as we can tell, but known not to be safe against well-resourced attackers with quantum capabilities' underlying crypto such as X25519 and layer it with an algorithm which we believe to be quantum-safe but which ultimately may turn out to be trivial to break if there's a fundamental mathematical flaw.

        There's some cost in terms of key size, but in principle, it's not a huge cost computationally and buys a lot of extra security.

        We also came close to standardising SIKE, so it's not like we've not been here before. If SIKE had been standardised and deployed in the wild without it being part of a hybrid scheme, that would have been quite serious.

    2. Because hybrid is probably harder to crack for NSA compared to just PQ only.
      Replies (2)
      1. CNSA 2.0, which is intended for national security operators only and not the general public, only uses PQC without any classical hybrids: https://media.defense.gov/2022/Sep/07/2003071836/-1/-1/0/CSI...
      2. Isn't it the case that hybrids, badly/naïvely applied, can make it easier to break?
        Replies (1)
        1. Hard to see how a hybrid of two completely separate mathematical foundations can.

          I forget the precise construction, but with some classic public key stuff you totally can reveal the wrong thing if you are not paying attention while just reapplying stuff.

    3. I mean I think that's what cloudflare has pushing for for quite some time. Using both quantum and current encryption in case there's an issue in either.
    4. Afaik that's what modern post-quantum algorithms actually do.
      Replies (3)
      1. The NSA have apparently been quite opposed to hybrid deployments (i.e. ECC + PQC) with little explanation.
      2. I believe the NSA recommends against hybrid.
      3. They don’t.
    5. This very website uses a hybrid scheme (X25519MLKEM768), as do many others.
      Replies (1)
      1. > X25519MLKEM768

        Rolls right off the tongue

        Replies (1)
        1. When the name of your encryption scheme is longer than your private key
          Replies (1)
          1. 4
    6. Triples, triples is best. Triples is safe.
      Replies (2)
      1. Public key encryption is going to be ok, tell the kid
      2. That's why I still use 3DES encryption /s
    7. Size and speed.
    8. curiously there is a case where doubly encrypted DES was weak. The solution was 3DES. So it's not always obvious that hybrid systems are stronger.
    9. NSA discourages hybrid approaches, and under CNSA 2.0 the NSA is pushing for pure PQC and prohibiting classical components by 2033. They are tolerating hybrids only where interoperability forces them during the transition.

      This is different than NIST, who encourages hybrid approaches.

      International orgs are divided. ANSSI and BSI are on the NIST side, NCSC and ASD lean towards the NSA position.

      I struggle with understanding the rationale against hybrid approaches.

      Replies (2)
      1. maybe because if everybody switched to CNSA 2.0 (which NSA recommend everybody to use now) which requires ML-KEM which is now broken then it makes it easier for NSA to snoop?
        Replies (1)
        1. ML-KEM is not broken AFAIK; even NSA doesn't have a galaxy-size quantum computer. I do think it's reasonable to worry about another DUAL_EC_DRBG situation from NSA, but to be fair back then NSA wasn't recommending DUAL_EC_DRBG for national security applications, whereas they are eating their own dogfood here.
      2. probably because it makes their job (espionage) harder. NSA is not a neutral party in this. don't listen to the fox when you want advice on how to secure the hen house
    10. Germany's BSI and France's ANSSI both want hybrid. The NSA is the one that's been lukewarm on it.