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

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

758 points by jupenur 13 hours ago blog.cloudflare.com 407 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (68)

  1. I'd recommend to read this for healthy skepticism [1]

    [1] NSA and IETF: Can an attacker simply purchase standardization of weakened cryptography?

    https://blog.cr.yp.to/20251004-weakened.html

    Replies (10)
    1. Thank you for the link and I'd argue that it's a mandatory read.
    2. Except the thing Cloudflare rolled out for our customers is the hybrid version not the "weakened version" the article you point to is talking about. The article even mentions this at the start.
      Replies (4)
      1. yeah but in a lot of chatrooms, a lot of idiots recommend "only-pqc" purely because "pqc is more advanced"

        damn getting tired of explaining this when some other idiot comes along and copy-pastes this kinda articles and says "look we gotta all abandon rsa and elliptic stufff"

      2. The thing that got my attention with this announcement was the NSA tacitly dropping their opposition to dual encryption "hybrid" schemes (their former position is well covered by DJB in the grandparent's link). Gave the impression decision makers are thinking, "Oh, this is real, time to stop playing our usual games."

        Time will tell I suppose. Getting really tired of government agencies and big tech vagueposting.

        Replies (3)
        1. > The thing that got my attention with this announcement was the NSA tacitly dropping their opposition to dual encryption "hybrid" schemes (their former position is well covered by DJB in the grandparent's link). Gave the impression decision makers are thinking, "Oh, this is real, time to stop playing our usual games."

          They didn't drop opposition so much as they've made a begrudging exception. They said to only use hybrid if you must, basically, because it's better than nothing.

          Replies (1)
          1. It is a markedly different tone than their communications to date.
            Replies (1)
            1. I agree.
        2. djb gave many recent talks on pushing for hybrid including hash functions noting the NSA, GCHQ, Cisco and other shills on the IETF working group were still voting for solo pq crypto so indeed this is rare https://cr.yp.to/talks/2026.10.09/slides-djb-20261009-lattic...
          Replies (1)
          1. >> https://cr.yp.to/talks/2026.10.09/slides-djb-20261009-lattic...

            > 2026: 82 people filed unambiguous objections to IETF issuing an RFC on solo ML-KEM in TLS.

            That RFC about "solo ML-KEM in TLS" was about an informational document, which would allow implementers to point to a document how it would work, and is geared toward folks that need ML-KEM-only implementations — generally USG contractors. The code point would have a "N" in the "Recommended" column:

            * https://www.iana.org/assignments/tls-parameters

            It's a non-issue: if you don't want ML-KEM-only disable it in your TLS configuration (assuming it's even enabled (by default) in the first place).

            And for those folks that don't trust ML-KEM, NIST is planning on publishing FIPS 207, which is a different PQC way of doing things for KEM:

            * https://quantumsequrity.com/blog/hqc-explained

        3. 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.

              Continue this thread (2 replies) →

          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

      3. Yes the grandparent should have mentioned that. I don’t read it as criticism of Cloudflare, but rather as useful background information everyone should read when evaluating PQC implementations.
      4. Also, until months-behind open weight models stop being a thing, i.e. ideally never, we can discount this threat as impractical for the NSA given its dual mandate (offense + defense) and the huge stakes.

        Poisoning the world's encryption standards (including the standards the US government uses for its most sensitive work) required the NSA to have a stable many-years advantage in cryptography, or for the global systemic stakes to be lower than they are now.

        Maybe that was the case at some point, but it isn't anymore.

        Replies (2)
        1. Yeah, and nobody would go to war with Iran without a plan for when they close the strait of Hormuz, right?

          This administration has systematically purged all non-loyal elements regardless of competence, far beyond the cabinet. I have no insight into NSA leadership, but we can't assume rationality or competence

        2. >required the NSA to have a stable many-years advantage in cryptography

          Maybe they had that advantage, and now feel that they lost it with advances in AI. So that's why they made recent announcement about deprecation of all non-PQC algorithms that they standartized in times when they were not shy of pushing compromised cryptography (which we already know they did)

    3. I'm not sure why people listen to the NSA anymore, after things like:

      > Once upon a time, NSA weakened the Data Encryption Standard to just 56 bits. In public, NSA claimed that it hadn't tampered with the standard, and that the "implausibility of public allegations is further demonstrated by the fact that NSA has endorsed the use of DES for the encryption of national security-related information, including selected classified information".

      I mean I get why Americans listen to the NSA, "better the enemy you know" and is mostly culturally aligned with I suppose, but for the rest of the world, not sure why you wouldn't read anything from NSA very cautiously and never cargo cult stuff like "moving to whatever the NSA recommends".

      Replies (6)
      1. You realize that was over 50 years ago, right?

        Moreover, they’re recommending everyone, but especially the government, move to these PQ schemes. Why would they deliberately weaken their own communications?

        Replies (3)
        1. > You realize that was over 50 years ago, right?

          You realize that's just one example right? There are countless of examples of NSA actively working to make the world worse in multiple of ways. It kind of makes it sound like this is the first time you've heard of the NSA at all, but surely it cannot be. But as a refresher on their history on making things weaker and more insecure for the common person in the world: https://en.wikipedia.org/wiki/National_Security_Agency#Const...

        2. Dual_EC_DRBG was 20 years ago, there is some speculative evidence NSA was exploiting Logjam about 10-15 years ago, and there were various arguments about Simon and Speck intentionally having fairly small security margins about 5-10 years ago.

          Seems like we're on schedule for this decade's NSA shenanigans -- lest we forget that they literally have a program that is tasked with breaking public cryptography (including sabotaging standards)[1]. ;)

          > Why would they deliberately weaken their own communications?

          In the case of DES, they did it because they thought they were the only ones who could break it. They almost certainly have cryptographic techniques that are not public (this also has precedence, they knew about differential cryptanalysis for decades before the public discovered it).

          [1]: https://en.wikipedia.org/wiki/Bullrun_(decryption_program)

          Replies (2)
          1. > Dual_EC_DRBG was 20 years ago, there is some speculative evidence NSA was exploiting Logjam about 10-15 years ago, and there were various arguments about Simon and Speck intentionally having fairly small security margins about 5-10 years ago.

            Every single thing you listed is speculation.

            The GP remains correct: the DES scandal was 50 years ago, and there's been nothing like it since.

            Replies (2)
            1. Why did the NSA secretly pay $10 million to RSA to have Dual_EC_DRBG be the default for BSafe[1]? Yes, there is no leaked document conclusively proving it was backdoored but is that really the standard of evidence you require?

              Logjam and Simon/Speck are speculative, I said so in my comment. There is some circumstantial evidence for Logjam (NSA not updating standards to use better DH primitives for a very long time) but I'm not sure I'd bet on it.

              And Bullrun (which you excluded from your quote) definitely exists and the Snowden leaks showed that they internally described one of their tactics to be sabotaging public cryptography standards and software[2].

              What is the alternative explanation for this? They have an incredibly well funded program that explicitly tasks itself with sabotaging public cryptography but it has not actually done anything in 50 years?

              [1]: https://www.reuters.com/article/world/exclusive-secret-contr... [2]: https://archive.nytimes.com/www.nytimes.com/interactive/2013...

              Continue this thread (2 replies) →

            2. I haven’t heard of the others but Dual_EC_DRBG is 100% not speculation and is relatively very recent as is logjam. Simon and Speck no one has any information on and no weakness demonstrated (yet).

              In 2006/2007 mathematicians found a backdoor with NIST claiming “but no one knows the backdoor”. The Snowden leaks had a memo about “covertly introduced weakness" into a NIST standard—calling the bureaucratic push to get it adopted "a challenge in finesse" as part of Project Bullrun. Intelligence officials confirmed to reporters DRBG was the standard (of course they could have used that as cover where they weakened multiple standards and were like “yeah that memo is totally about DRBG”). Documents showed NIST engineers blindly trusted the NSA. It took over 7 years for NIST to finally retract the standard after the backdoor had already been widely known.

              Logjam is also part of the Snowden leaks. When it was announced, ~8% of the top million sites were vulnerable to the 512 bit DH downgrade and 18% were vulnerable to using the same 1024 bit prime with documents showing active exploitation without endpoint compromise strongly implying this is how they did it.

              I wouldn’t say logjam is necessarily them undermining a standard but it’s certainly not them rushing out to secure widespread vulnerabilities. This is the problem with undermining public trust - it creates a counterswell of distrust if/when you actually do need mass action. The same thing happened in COVID.

              Continue this thread (1 replies) →

          2. SIMON and SPECK are extremely simple ARX-style cipher designs, and they're deliberately small ciphers, intended for embedded applications. From what I can tell, there was no effort to get them adopted anywhere in the mainstream; they were simply proposed.

            It's NSA's literal job to find and exploit things like Logjam; that's a vulnerability, not a backdoor.

            The one smoking gun backdoor we have to look at is Dual EC.

            Replies (1)
            1. Simon/Speck were submitted to ISO and (despite initially being rejected) they did eventually get into the RFID ISO standards. It's also a fact that several cryptographers publicly said they had various concerns about the claimed security margins as well as several other concerns that you may or may not put stock in. Maybe I should've written a whole paragraph about it but I was clearly saying it was somewhat speculative -- I felt it would be strange to leave it unmentioned in this context.

              > It's NSA's literal job to find and exploit things like Logjam; that's a vulnerability, not a backdoor.

              I didn't say it was a backdoor; intentionally not updating their industry recommendations to be secure against such attacks after they discover them is sabotage, which is the word I used. (DES's key length was also not a backdoor.) And yes, I agree this is part of their remit -- that is the point I was making.

        3. If you read Bernstein's blog post you'll realize they don't want to weaken their own comms.

          They market as if they are using the weaker scheme, but in reality they are using a stronger scheme and only encrypting very sensitive data.

          They do this so it's more believable that the lobbied standard is stronger, when NSA has the means to break it.

      2. If an AI from Google, Anthropic or OpenAI dramatically facilitates building a quantum computer, or breaks (for example) elliptic curve cryptography with new maths, the NSA is likely to know before anyone else. But naturally such a discovery would also make it likely that China and others will find it with their own AI in the coming months. The NSA will therefore aim to get the US economy and government adjust in advance. And I as someone outside of the US am therefore carefully listening to what the NSA says.

        That does not mean I am unaware the NSA lies and deceives whenever it can and whenever it seems opportune to do so.

        Replies (1)
        1. Despite whatever people may think of the NSA, its entire budget depends on the US economy not getting shredded by security attacks.

          Without a potent US economy the NSA gets crippled, its budget will be obliterated. Take the US GDP per capita down to the levels of Japan ($95,000 -> $35,000) and the NSA becomes a second rate intelligence power.

          Replies (1)
          1. This is true, but NSA as an org having the self awareness of this doesn't necessarily follow.

            We all depend on a functioning society, but there's no shortage of those who act like they don't.

      3. I don't understand how convincing IBM to reduce DES from 64-bit to 56-bit keys means we shouldn't listen to them about post-quantum cryptography. It's not like they lied about how strong DES was. The key size is part of the standard. They even helped IBM strengthen the design, making it resistant to attacks that wouldn't be discovered by the public for another 15 years.
      4. DES was in the 70s. Do you think anyone in charge of NSA at the time is even still alive?
        Replies (1)
        1. Hey now. The '70s was not that long ago. Plenty of people who were active engineers at the time are still alive, even with enough capacity to be in administrative positions.
          Replies (1)
          1. Someone who was 20 in 1977 would be 69 today. The absolute most junior, least decision-making engineer of the time is well past retirement age. The actual decision-makers are long dead.
      5. I don't understand it either. The NSA doesnt exist to inform, it exists to misdirect and confuse people to reach a goal.
      6. > weakened the Data Encryption Standard to just 56 bits

        Actually that was not a weakening of the cipher, the cipher's effective strength was about 54 bits even with longer keys. 56 bits was chosen for byte alignment.

        The NSA's recommendations actually strengthened the cipher overall (the S-Boxes) and DES is an example of the IA division doing their job, along with their SHA recommendation and the Skipjack cipher.

    4. FWIW, I'm personally not that worried about the NSA as an adversary. If they really want my data, they'll just send an NSL to any one of the many companies that will happily turn it over to them. They don't even need to waste tokens on it.

      I'm more concerned about AI-enabled script kiddies running semi-automated drive by ransomware attacks.

    5. Context for non-cryptography nerds: the linked post here is by D. J. Bernstein, the person who proposed Curve25519, definitely worth reading
      Replies (1)
      1. Additional context: Most other cryptographers believe that Bernstein has gone completely off the deep end in recent years with wildly implausible conspiracy theories about post-quantum cryptography standardization. E.g., https://news.ycombinator.com/item?id=46080347, https://keymaterial.net/2025/11/27/ml-kem-mythbusting/, and tptacek's comments elsewhere in this thread.
    6. Great read, you should submit this directly as its own post!
      Replies (1)
      1. 2025 discussion of the link:

        https://news.ycombinator.com/item?id=45477206

        (though further discussion may still be warranted)

    7. There are a lot of cryptographers you have to believe are compromised (in one way or another) to buy into this series of blog posts. It travels well because most people who read it know the names of only two cryptographers, and a significant fraction of them think NSA itself designed MLKEM.
      Replies (2)
      1. I would say Bernstein's reports to be factually believable, especially when he shows how corruption works at the IETF WGs.

        For example, if you continue reading the series of blog posts, you'll see the IETF WG chairs declared "rough consensus" and around "67 votes" when in fact only 20 people voted in favor, 7 against and 2 conditionally in favor of "adopting" using PQC-only in TLS -- much less than the 67 votes counted.

        The concerns of the 7 votes against were never addressed and a third-party asked by the chair to confirm whether there was a "rough consensus" and if the WG chair acted fairly by calling consensus and putting ML-KEM/PQC-only for adoption twisted the feedback of the 7 people against the proposal as if they were nothing but personal concerns that ML-KEM was created by the NSA or that a fallback solution is preferred which is false.

        Replies (1)
        1. Bernstein is counting on you not to understand how IETF process works. It's helpful to know that this is not his first go-round with the IETF! Go look up the time Kenny Paterson had to yell at him on CFRG.

          It's also helpful to know that the entire controversy here --- literally all of it --- is about whether TLS-WG allocates a code-point for non-hybrid MLKEM, something we factually know government IT is using. That's all this is: a code point. TLS has code points for cipher suites that don't even provide encryption. It's a nonsense issue that he has spun into a widespread belief that there's a conspiracy against hybrids, despite virtually all PQC TLS traffic using the X25519MLKEM768 hybrid.

          For what it's worth, I don't like the IETF any more than he does. I would describe myself as an opponent of cryptographic standards bodies writ large. But his description of the process stuff here is not done in good faith.

          Replies (3)
          1. I am broadly sympathetic to the view that it may be a mountain of a molehill. As for the "conspiracy" angle, and the idea that it is ludicrously implausible, I very much disagree. Who's to say Dual EC didn't through via a similar bureaucratic fiasco of rule bending, but just not open to us. The threads here are filled with comments like "that was NSA 50 years ago", "that was 20 years ago", "that was 13 years ago". I don't propose we all turn on each other, but I place very few upper bounds on the abilities of such "influence operations", given the history.

            So to be clear, in this specific instance, I am barely concerned, but not at all because of any argument that it would be implausibly difficult to pull off.

            Replies (1)
            1. NSA designed Dual EC.

              European academic cryptographers, held in the same professional esteem as Bernstein among people who work in cryptography, designed MLKEM.

              Read Bernstein's arguments over again. Do you get the impression he wants you to understand that?

              Continue this thread (3 replies) →

          2. > It's also helpful to know that the entire controversy here --- literally all of it --- is about whether TLS-WG allocates a code-point for non-hybrid MLKEM, something we factually know government IT is using.

            Also: allocated via an informational draft/RFC, with a "N" in the "Recommended column:

            * https://www.iana.org/assignments/tls-parameters

          3. Sure, there may be some animosity between you both (he quotes you on his blog post, the comment about cryptography literacy and supporting "pure PQ ML-KEM").

            But it doesn't invalidates his points that the opposing arguments haven't been addressed. Everyone brings up the fact that pure PQ is not secure and when/if ML-KEM gets broken, then it will be a shitstorm. He and others even argue that even with the Recommendation=N flag, people will still adopt pure PQ because "if NSA recommends it then it's secure!!!"

            The strong in-favor group has failed to address the concerns of the opposition [0], and adopting an algorithm "for the sake of adoption" doesn't look good. Especially when you get comments from one of the co-authors of ML-KEM against adoption of a code point for "pure PQ".

            [0] https://blog.cr.yp.to/20260405-votes.html

      2. Might I remind you of the recent php conundrum and how massive the hysteria was over it being necessary and good? Apparently being an "expert" doesn't mean "infallible" and "immune to herd effect".
        Replies (1)
        1. Yes, you might remind me of that. I'm pleased that you did. Because the belief that the response was "hysterical" was largely the product of one reflexively skeptical blog post that turned out to be wrong, parked on the top of the HN front page for hours while exploit developers posted confirmations that they'd developed reliable exploits for it.
    8. > NSA and IETF: Can an attacker simply purchase standardization of weakened cryptography?

      Discussion at the time (2025): https://news.ycombinator.com/item?id=45477206

      Replies (1)
      1. Unfortunately discussions on this site are worth about as much as a fart now.
    9. > The problem in a nutshell. Surveillance agency NSA and its partner GCHQ are trying to have standards-development organizations endorse weakening ECC+PQ down to just PQ.

      Shouldn't we completely disregard any NSA suggestions on cryptography at this point? Why anyone would follow their advice?