Unofficial Hacker News client - receive Push Notifications on replies.

Post-quantum encryption adoption (opens external site)

423 points by mfiguiere 1 day ago | radar.cloudflare.com | 238 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (19)

  1. It baffles me that the NSA and others advocate for switching to quantum-safe-only rather than hybrid (dual) encryption. Having both is not only cheap insurance, but also increases the chances of a new standard getting adopted because adopters won't have to worry whether they'll reduce security by replacing a trusted old algorithm with a relatively new one.

    I truly don't understand the motivation, unless they want to delay pq adoption in public standards. With their recent history of backdooring + "quantum-safe" algorithms regularly turning out to be neither quantum nor classically safe, pushing for pq-only seems more likely to derail open standards processes.

    The NSA standards mandate that override those processes only apply to the systems where the NSA is more interested in defending rather than attacking them, so why weaken those? The "benefits" of pq-only outside of extremely resource constrained environments seem to be practically zero.

    Replies (4)
    1. > others advocate for switching to quantum-safe-only rather than hybrid (dual) encryption. Having both is not only cheap insurance

      I don't follow this argument.

      The role of encryption is to protect something, no ?

      In which case, what "insurance" is there if one of the two algorithms in broken (or weak) ? Our old friend Mallory can just read what Alice and Bob have been communicating via the broken algorithm ?

      An equivalent would be a house with a bank-vault door on as a front door and a piece of cardboard as a door on the back ? What "insurance" is the cardboard door ?

      Replies (2)
      1. You encrypt in series, not in parallel.
      2. thing -> vulnerable

        thing in a wooden box -> less vulnerable

        thing in a metal box -> lot less vulnerable

        thing in a wooden box in a metal box -> even less vulnerable, and still defends in case you spill gallium on the thing to dissolve the metal

        Replies (2)
        1. But surely your analogy is also wrong ?

          I get what you're saying, but then don't most people end up doing something like `HKDF(Algo1Key||Algo2Key)` ? And then using the derived key with a (potentially) weak algo ?

          Or are there more people out there who actually do nested ciphers ? I would have thought it was a bit computationally unfeasible for large data ? Obviously no problem with small messages.

          Replies (2)
          1. That's conceptually the same thing, no? You will need both Algo1key and Algo2key to get the derived key, only one of them won't get you anywhere
            Replies (1)
            1. > That's conceptually the same thing, no? You will need both Algo1key and Algo2key to get the derived key, only one of them won't get you anywhere

              I don't think so ?

              If we are doing `K=HKDF(Algo1Key||Algo2Key)`

              And then you take `K` and use it as the key for for $broken_non_PQ_symmetric_algorithm.

              Then what are you achieving with the whole HKDF dance when infact all you've done is kicked the can down the road to the theoretical SPOF (single point of failure) in the symmetric algo ?

              I don't dispute the strengthening of the key itself achieved through the dual-HKDF. Its what happens afterwards ....

              Continue this thread (2 replies) →

          2. Symmetric cryptography is on much stronger ground than asymmetric cryptography (it's not generally prone to attack by quantum computers, for example). It's mainly the key exchange that is worth worrying about.
    2. > I truly don't understand the motivation, unless they want to delay pq adoption in public standards. With their recent history of backdooring + "quantum-safe" algorithms regularly turning out to be neither quantum nor classically safe, pushing for pq-only seems more likely to derail open standards processes.

      So far the only delays have been from people like djb who think non-hybrid schemas are unacceptable and have been trying to block adoption of them

      Replies (1)
      1. Well yeah exactly - I assume there are enough such people that (rightfully, given the history of PQ schemes) will block non-hybrid schemes, thus insisting on a non-hybrid scheme will cause a delay whereas a hybrid would go through much more easily.
        Replies (1)
        1. The problem is those people are specifically blocking non-hybrid algos. Hybrid algos like X25519MLKEM768 are already well supported in TLS, so why block pure ML algos for people who dont want legacy (non PQC resistant and thus useless in a post quantum world) cryptography wrapped around it?
    3. Maybe they have a backdoor in the quantum-safe-only that the labs have now discovered
      Replies (1)
      1. More likely is that as history has proven new algorithm implementations will turn out to have subtle bugs, either in the core primative or elsewhere in the chain of private key management. Given the pace of upkeep in most of the world, that gives the NSA years of very valuable, useful play.

        Or maybe the NSA already started building out it's own PQC key and protocol support and these hybrid schemes caught them off-guard in the sense of creating a change management nightmare (which is killer everywhere, but especially in sprawling government agencies).

    4. > The NSA standards mandate that override those processes only apply to the systems where the NSA is more interested in defending rather than attacking them, so why weaken those?

      Publicly, the NSA insists on creating the standard but claims it's only meant for internal government use. Privately, they bribe manufacturers[1] to make it the default in products other people use.

      [1] https://www.reuters.com/article/world/exclusive-secret-contr...