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

Cloudflare will be fully post-quantum in 2027 (opens external site)

695 points by jupenur 9 hours ago blog.cloudflare.com 387 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (7)

  1. The USG broadly believes MLKEM to simply be better cryptography than P256 and its ilk, and they have an extraordinarily well funded source of cryptographic authority to make straightforward pronouncements from. For them, it's simple.

    For us, it's not simple. There are sound reasons to default to hybrids when adopting cryptography based on entirely new assumptions (they're mostly not about the quality of algorithms but rather of their implementations). For that reason, virtually all mainstream deployments of MLKEM in the private sector are hybrids. Not just at Cloudflare, but everywhere, and from the very beginning of this process.

    "Hybrid vs. not" is a fake controversy. There's a fandom that dearly wants you to believe there's a conspiracy to suppress them, but you can believe your own lying eyes on this.

    In the face of upcoming results that may drastically reduce the security of some conventional cryptography, the USG appears --- reasonably! --- to be just fine with you using what it believes to be suboptimal cryptography in the service of transitioning off total dependence on legacy cryptography.

    Replies (2)
    1. In what way would a hybrid be suboptimal? My interested & informed but still layman's understanding is that to break a properly constructed hybrid of A & B, you need to break _both_ A _and_ B. Even if B was an XOR with the key 1234, one would assume that if A were secure, the hybrid would still be secure.

      So why would the NSA object to using a hybrid? Do they think there is something wrong with the construction such that A(B(x)) is actually _less_ secure than just A(x)?

      Replies (2)
      1. The premise is that NSA believes that A is already broken and adds no value.

        NSA doesn't care if you use a hybrid, which is why all mainstream industry PQC deployments are hybrids.

        If you're asking what I personally believe: I think the case for hybrids is pretty strong, that even major progress on CRQCs wouldn't eliminate the case for them, because there's an elevated risk of learning about unknown implementation flaws in MLKEM (or any other PQC kex).

        But I also think it's overtly batshit to suggest that the standards should be written to preclude people from using just plain MLKEM.

      2. Sequential composition of two cryptosystems actually can weaken security overall, though that is more of a theoretical result.

        More generally, complexity is bad because it adds additional failure points and expands the attack surface. The NSA deals with government and military systems where there are concerns that we do not generally think about in civilian work e.g. covert channels (which are a problem for classified systems). Hybrid modes can also require more high quality randomness (or can be more sensitive to low quality randomness), which has been a problem in the past e.g. with rack-mounted "appliances" or embedded systems (which the NSA also needs to consider).

        Personally, I have no objection to hybrid modes, but the NSA might have assigned a higher weight to such concerns than I do.

        Replies (2)
        1. A very common factor I've seen is a lot of the standards bodies are designing cryptography for the Internet, where it's a one-to-one, interactive, reliable transport link. An additional couple of round trips and couple kB is fine.

          These assumptions don't work in many fields. For example, two-way radio (e.g. police radio), where you have a one-to-many channel, 4800 bps (raw, pre-error coding), and want to do a best-effort decoding when the signal is marginal.

          A similar example would be GPS, which is 100% broadcast, and even the modernized signals are at 50 bps data rate.

        2. I don't think there's any claim --- credible or otherwise --- that hybrids could weaken the system; I think everybody's read of the situation is just that NSA thinks they're stupid and wants people using an algorithm they're confident in and not keeping along old legacy cryptography that they are, in varying degrees, convinced is moribund.
    2. > The USG broadly believes MLKEM to simply be better cryptography than P256 and its ilk, and they have an extraordinarily well funded source of cryptographic authority to make straightforward pronouncements from. For them, it's simple.

      For a number of use cases they are also able to use the classified "Suite A" algorithms:

      * https://en.wikipedia.org/wiki/NSA_Suite_A_Cryptography