Unofficial Hacker News client - receive Push Notifications on replies.

Post-quantum encryption adoption (opens external site)

391 points by mfiguiere 17 hours ago | radar.cloudflare.com | 204 comments on HN | Vote on HN (opens Hacker News)

Comments loaded (203)

  1. Good timing.
    Replies (1)
  2. Only 28.7% of the origins supporting it is surprisingly low. I'd expected it to be a lot higher given that it's pretty much automatic if you're running any modern web server and OS. Is it a handful of big providers with millions of domains or a long tail of independent websites with outdated operating systems / lack of TLS entirely?
    Replies (4)
    1. I would think vast majority is bog standard corporate crud. I'm actually surprised at the 28.7% origin support thinking it would be lower.
    2. Microsoft customers took years and several extensions to move to TLS 1.2

      https://learn.microsoft.com/en-us/lifecycle/announcements/tl...

    3. The state of Cloudflare origin TLS is kinda bad, TBH.

      A ton of Cloudflare customers' origins are either presenting snake oil certs, are using Cloudflare's "Flexible" mode (aka: plain text HTTP to the origin!), or "Full" (not "Full (Strict)"), which trusts any certificate presented and thus means mostly undetectable MITM is possible.

      It looks like CF now has "Automatic" mode, which will enable Full (strict) if it sees your origins are presenting a valid certificate; but this is kind of even worse since it means people are even less likely to be encouraged to do the infrastructure upgrades to get "Full (strict)".

      The page also has pretty bad wording.

          Mode details
          Flexible 
          
          Browser --(secure)--> Cloudflare ----> Origin Server
          
          Used for: Most production sites.
      
      This wording for Flexible is atrocious. The situation is literally that any middlebox can passively see your origin traffic and saying "you're fine because most _production_ sites on Cloudflare are like this!".

      Deep link to the TLS mode page: https://dash.cloudflare.com/redirect?to=/:account/:zone/ssl-...

      Replies (4)
      1. Agreed, it's kind of ridiculous that a web security company has 3 of their 4 SSL options be "Allow anyone to MITM me".
        Replies (2)
        1. Also, looks like this part of the page shows its vibe-code-ness pretty badly.

          If you have explicitly selected "Flexible", it does say

              Legacy origins that do not support modern TLS standards/packages, or when you cannot install an origin certificate.
              Will cause errors if your origin forces HTTPS.
              If this is your only option, Cloudflare recommends upgrading your origin
          
          
          But the default (for new zones) "Automatic" doesn't include those, even if the automatic selection is "Flexible".

          The help text (and of course warnings) should definitely show up depending on what automatic's selection is, and there should be links explaining "why" Flexible/non-strict is so unideal.

          Replies (1)
          1. Please take a look at my open source project https://github.com/insanai/sibuna, it does support post-quantum cryptography on your existing origin, so you have time to migrate.

            I wrote a small chapter on it how you can do it with sibuna:

            https://insanai.github.io/sibuna/book/post-quantum-transport...

            Sibuna also supports automatic https like caddy using ACME, but letsencrypt still do not issue post-quantum encryption certificates. So it won't be post-quantum encryption.

            This project is written with the help of LLM, and I use it on my own infrastructure to replace haproxy. But if you do not like products built with the help of LLM, please do look at haproxy or nginx.

        2. That has happened.

            "[ThePirateBay] had set up their configuration in such a way that the connection from Cloudflare back to the customers origin was not passed over an encrypted link. Clouldflare has the ability to pass that over an encrypted link. We don't have any idea why [ThePirateBay] chose to do that, but that's the customers decision."
          
          https://www.medianama.com/2016/07/223-cloudflare-ceo-matthew...

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

      2. Wait wtf??
        Replies (1)
        1. For a long time (years after the first public reports) authenticated origin pull (where the origin server requires a client cert from Cloudflare, to make sure an attacker can't talk to the server directly and bypass the filters/rules set up at Cloudflare) was quite broken.

          If you configured it according to their manual, anyone could set up a second web site on a different host name with Cloudflare, point it to your origin, and send arbitrary requests to your origin using their not your rules. I think at some point they closed the loopholes that allowed you to tamper with the Host: header, so you were safe your origin required a specific Host: header, but the documentation didn't mention that.

          It took them years to address this even though they could have at least updated the documentation to mention the host check.

      3. Wouldn't the MITM rely on someone having to intercept traffic between Cloudflare and your server, though? Isn't that quite tricky except for state-level actors?
        Replies (1)
        1. Cloudflare only covers a short path between the visitor and the Cloudflare POP, usually the nearest big city. Without Full (Strict), the rest of the path to the origin is then either cleartext (Flexible SSL), where any passive hop can read the data, or untrusted SSL, where an active hop can MITM it. While interception is usually thought of state actors slipping prisms into fibers, these days it's likely a compromised router or ISP along the path. Governments have demanded ways to "lawfully wiretap" communications, so these facilities are built in to modern networks, it's just a question of who gets to turn it on and where the data goes.

          This isn't just theoretical, ISPs are known to have intercepted insecure Cloudflare connections: https://medium.com/@karthikb351/airtel-is-sniffing-and-censo...

      4. I configured Cloudlare “Full (strict)” for a simple and small website, I (and by “I”, I mean the agent I was using) didn’t find any difficulty. What kind of problems do people have with it? Can’t they simply go on with it and end of the story?
    4. Both. The "automatic upgrade" trend in software has yet to arrive on the server, so nearly all server software is perpetually out of date.
  3. You can do this on a country basis. We are 81% ready in NZ but I would prefer to see a place where you can enter an actual https domain name and get a yes or no answer for this.
    Replies (2)
    1. Oh btw you guys got doomsday bunkers for sale? Think I'm going to need one soon...
      Replies (2)
      1. wdym?

        Can't you vibe code a 3D printed doomsday bunker yourself? It should be open source and free to do so? /s

      2. You don't need a bunker, just a normal house as we are not even on most world maps! https://en.wikipedia.org/wiki/Omission_of_New_Zealand_from_m...

        It is the heart of the NZ defence strategy.

        Replies (1)
        1. > It is the heart of the NZ defence strategy.

          That and the Pacific Ocean. It's really just a giant moat constructed by the locals to keep the rest of the world out.

    2. CF has that on the same page, at the bottom of the page

      It tells me "ycombinator.com:443 is using X25519MLKEM768 (opens in new tab), which is post-quantum secure."

  4. But quantim-resistant does not automatically mean AI-resistant. In other words, it is not guaranteed to resist undiscovered mathematics. Frontier models could discover entirely new mathematical algorithms that human mathematicians have overlooked for decades…
    Replies (5)
    1. There is a more important point in adopting PQC: most of the current systems that are being adopted are hybrids, sporting multiple asymmetric algorithms. They are resistant against single algorithm falling, preventing a catastrophic collapse.
      Replies (1)
      1. Of course there is - you’re trading off efficiency, particularly at a very important part of the connection establishment. Hybrid PQC signatures are large and require extra packets to be sent - they don’t fit into the initial packet connection which is an important optimization that was worked on for a very long time (it requires extra round trips which means latency).
        Replies (3)
        1. Most PQ cryptosystems are already famous for having huge key sizes, the overhead of keeping the conventional elliptic curve crypto for key exchange or signature is nothing in comparison. But sometimes, yes, omitting the elliptic curve crypto can save you a packet when the PQC scheme barely fits.
          Replies (3)
          1. I also think the tradeoff is obvious too.

            A slight increase in latency when that’s already fairly irrelevant on the internet (seriously i’m loading a 10mb page to write text already!) vs a risk that you lose crypto if the single alg you used is broken.

            I’m taking the extra latency everytime.

            Replies (1)
            1. What you’re describing if very different than adding latency to the literal connection establishment. The former is solvable through faster internet and goes away as a problem or you can compress or otherwise optimize the size. The latter is a physics light speed problem that’s not solvable other than removing round trips and happens on every connection so you can’t even parallelize your way out of trouble and compression isn’t relevant.

              It’s a take that suggests you don’t understand the shape of the problem and why people are concerned about it and conflating it with other concerns that aren’t as relevant.

          2. You misunderstood my point. It wasn’t that we should keep just PQC but instead drop PQC and keep classical. If the announcement is as expected that PQC is fundamentally flawed, then it adds nothing while having a huge cost.
            Replies (1)
            1. You said "Hybrid PQC signatures are large and require extra packets to be sent", perhaps you should have said "PQC signatures are large and require extra packets to be sent".

              Continue this thread (1 replies) →

          3. Huh. I can't verify off-hand what ChatGPT is saying, but ML-KEM-768 public keys are just barely small enough that, presuming the TLS record doesn't already overflow, adding the 32 bytes for the ECDHE key in the hybrid scheme might push the TLS record + TCP header + IPv4 header a few bytes over the 1280 minimum IPv6 MTU, and even more likely if actually using IPv6.

            So I guess it may actually be a thing some people might have to consider to some extent, at least as a curious hypothetical. I started off this reply pushing back against your hedge as I assumed ML-KEX already pushed messages beyond 1500 bytes, but the relevant TLS record framing overhead isn't as large as I thought. If we just settled on ML-KEM-1024 then all would be well again.

        2. I don't understand what you're referring to with your "Of course there is"? I wonder if my previous message came came across as suggesting that there were no downsides...?
          Replies (1)
          1. I thought that was your point. Apologies.
        3. Avoiding extra round trips is easy with a proper transport protocol. For instance, QUIC has no fundamental difficulty handling multi-packet handshakes in a burst (though implementations may leave something to be desired on this front).

          Relying on fitting the entire handshake in a single packet is just indicative of obsolete design.

          Replies (1)
          1. Extra round trips are a physics problem - you can’t fight physics and the speed of light.

            1. The handshake doesn’t fit into a single IP packet always requiring fragmentation (even if you use jumbo frames middleware will fragment it).

            2. Even with rfc6928, the handshake with a multi-cert PQC chain exceeds the initial window and requires an extra full RTT before it completes. The initial congestion window is existed and there’s nothing to do there aside from trying to increase it which is challenging for a lot of reasons. So TCP is negatively impacted by a lot and TCP is generally preferred within the cloud.

            3. HRR which tries to bypass the size instead can fail resulting in an additional RTT (now we’re at 2)

            4. QUIC isn’t immune to this and the size of PQC exceeds the amount of data it can use to establish the connection. Indeed in some ways it can be even more susceptible because now even clienthello doesn’t fit into a single packet meaning there’s a greater opportunity for issuer loss to hit the initial connection attempt.

            So you’re incorrect this doesn’t impact QUIC and your indirect this is a result of an obsolete design - there are very very good reasons to want the initial connection to fit into a single packet. Indeed, even if you just increase the size of that initial window to try to keep everything into 1 RTT you’re now amplifying the memory requirement for a connection attempt by 10x. It’s nothing when you only handle a few connections, but that’s because you’re not considering what happens to a heavily loaded server or a server having to manage a DDOS attack.

            My problem is that PQC is a non trivial negative impact on everyone if QCs aren’t ever going to be able to crack classical keys. Doubly so if PQC algorithms are just straight up weak to classical methods.

    2. what happens when AI drives a quantum computer?
      Replies (1)
      1. I saw Google recently used autoresearch to hill-climb on quantum computing algorithm efficiency and got a 10x improvement on various algos.
        Replies (1)
        1. only 10x?
          Replies (1)
          1. I don't remember the details, but I think some were much more than that, but some were only that.
    3. Yep. The harsh reality is that we really need P!=NP proven before we have any idea if our encryption algs work or not.

      We’ve been accepting ‘well no one’s broken it yet so it works’ for way too long.

      Replies (7)
      1. Are there even any cryptosystems at all that can survive P=NP?
        Replies (6)
        1. Quantum key distribution survives (it does not have any complexity assumptions), but it is very susceptible to DoS and it does not provide authentication.

          One time pads survive.

          Replies (1)
          1. > Quantum key distribution survives

            This is not so clear: https://en.wikipedia.org/w/index.php?title=Quantum_key_distr...

        2. One time pad.

          We’ll all be buying 20tb drives from a known trusted central provider who keeps a copy of the pad and shipping the drivrs by trusted couriers. Encryption will be done through the central provider we bought the padding from. When you start to run out of padding you request a new one and ship the used drive back for reuse with a new pad.

          A huge pain but still feasible.

          Replies (4)
          1. Of course, the government would also demand a copy shipped to them...
            Replies (1)
            1. Yeah i always thought the central providers in the above would just be todays root certificate providers which keeps the status quo 100% the same honestly.

              Sure you can do a private one time pad swap but the vast majority will be via the centralised providers just as it is today.

          2. > buying 20tb drives

            If we can still afford them, which I doubt based on how prices have jumped for HDDs across the board.

          3. > A huge pain but still feasible.

            You and I have very different definitions of feasible.

          4. RFC 1149 makes its comeback, though instead of carrier pigeons I expect we'd get carrier drones with authenticated flight paths.
        3. Only one time pads
        4. Arguably, all of them. P=NP wouldn't mean the required algorithm to decrypt a cryptosystem is known or practical.
          Replies (1)
          1. bingo. it's shifted from exponential, never-gonna-happen to maybe-could-happen

            but that's maybe. it could still require a galaxy of computing power, except now it mostly scales with the difficulty.

        5. There are forms of quantum cryptography that are provably secure, but have demanding hardware requirements. It's hard to imagine the technology being widely available any time soon, and I can't imagine it being something that could just work on a phone from anywhere for example.
          Replies (1)
          1. 'provably' secure against _our current understanding_ of physics?
        6. One-time pad.
          Replies (1)
          1. P=NP would still not affect much practical secret-key algorithms, if there would still exist one-way functions for which inverting the function would require time and space proportional with a very high-order polynomial function of the size of the secret-key.

            However, for now there exists no hint that Anthropic might have got closer to proving anything about P=NP.

            The mysterious private meeting where Anthropic announced some cryptography breakthrough was most likely about breaking one of the newly standardized post-quantum public-key algorithms.

            This would not be a really unexpected event, as it was a possibility taken by many into account, many years before progresses in LLMs made them suitable for finding mathematical advances.

      2. It's astonishing to me that this encryption arms race is nowhere to be found in legislative agendas. We need to impose (capability inflation adjusted) compute limits before we see artex breaking into all of our critical systems and causing havoc
        Replies (5)
        1. What would that regulation look like?
          Replies (1)
          1. The kind of agent attacks on math that we're seeing fundamentally require an enormous ocean of compute, in raw power (vertical), breadth (horizontal), and time (which is somewhat but not entirely related to context). Limiting the dimensions of these will limit the scope of attacks the agents can carry out. Since newer chips have known efficiency, and models have known token consumption rates, you could require monitoring the literal wattage of individual tasks as an enforcement mechanism. Agents over time do get "smarter" per watt, but this is something we are so far able to quantify and could put schedules in place to depreciate the size of the compute limits in order to ensure the legislation is as effective in the future as it is at initial implementation.

            States control their grids and could enforce these laws using that power. We need to try something, or else we are sleepwalking straight into RSI. Note that on many tasks (hacking, math, lying), these agents are already superhuman. The time to act is now.

            Replies (3)
            1. Novel idea
            2. If controlling AI requires creating an oppressive totalitarian state (it doesn’t but I’ll humor you for a moment) then just launch the nukes now. It’s not worth continuing our existence in an increasingly shrinking field of action with central gatekeepers patrolling every aspect of our lives “just in case”.

              Continue this thread (1 replies) →

            3. Isn't this sort of a baby with the bathwater approach? What if instead of using wattage for, say, medical research, they continue on the more tractable and well suited problems with cryptography? This seems like it would just force resource allocation to change, not necessarily to change in the way that you want.

              It would encourage better data center design, which I strongly support, but I don't really see this solving the problem at all.

              Further, what do you do about foreign or open source models? Will they just stop breaking cryptography? Would the US government stop?

              Continue this thread (1 replies) →

        2. It's astonishing to me how many people think law and order depends on encryption as opposed to governments' willingness and ability to use extreme violence against those who fuck around.
          Replies (3)
          1. Techies understand and like Tech. They see everything as a technical problem.
            Replies (1)
            1. There is no amount of violence the state can possibly threaten that would stop all the Mallories if, say, TLS were broken tomorrow in a way that doesn't require massive compute.
          2. When a North Korean agent hacks Bank of America and steals billions, are we starting a nuclear war? Because otherwise I think the ghost of the threat of violence rings hollow in more circumstances than not.
            Replies (3)
            1. Nuclear War is not the only possibility. That is always the highest level of escalation, not the first level.

              The tentative attribution of the Binance hack WAS N Korea. That didn't lead to nuclear war. Some of it will be diffused using insurance. Some of it will be other tools of the nation state arsenal (trade tools, diplomacy tools, sanctions, espionage, conventional war far from N Korea's homeland, massive arrests of N Koreans working abroad).

              The point isn't that total war is the only way a nation state monopolizes force.

            2. The United States has powers below the threshold of nuclear war (as do most countries). In the case of a hack and resultant fradulent transactions, the FBI's Financial Fraud Kill Chain would almost certainly be able to put out a SWIFT recall notice and interdict the resultant transfers to other banks, assuming the hack was detected within a few hours or days. If that doesn’t result in a return of all stolen goods, the US government could start attempting to seize North Korean overseas assets, up to and including vessels attempting to travel to North Korea.

              Continue this thread (2 replies) →

            3. The US government would either roll back the transactions or add new money to BofAs account and declare the stolen billions void. If it's physical cash they would print more to replace it.

              You don't need violence if you can fix things by yourself.

              Continue this thread (1 replies) →

          3. I am not saying law and order depends on encryption, rather that so much of our society is built on it that if it were to come crashing down, governments would have a huge problem on their hands (from people losing retirements, critical infrastructure going down, etc)
        3. so many parallel arms races within AI
        4. It's kind of weird that so many billions of dollars have gone to Quantum Computation when, at least in retrospect, this has been the clearer and more present danger for at least five years.
        5. > We need to impose (capability inflation adjusted) compute limits

          This was a global clownshow during the last compute season (cryptocurrency mining); what leads you believe this witch-hunt would be anymore successful?

      3. Of course it would be nice to formally prove, but I think it’s also think it’s more likely P!=NP - it just feels like it would make sense for one-way functions to be possible to exist.

        It’s also important to note that P=NP doesn’t imply the algorithm for doing it isn’t a galactic algorithm so crypto might still remain secure albeit on shakier footing where there will be a race to shrink that cost.

        If P=BQP we still have a problem for asymmetric encryption (P=NP also breaks symmetric).

        Scott Aaronson claims he has specific knowledge that it’s related to cryptanalysis and not an immediate threat. This means you don’t have to handwring.

        Replies (1)
        1. > feels like it would make sense for one-way functions to be possible to exist

          I guess this comes down to the nature of time. Physics seems to really like its symmetries. And where it breaks them, it rarely considers time.

          Replies (1)
          1. Math is a lower level discipline than physics. It can represent universes that are not physically possible but are mathematically consistent.
            Replies (2)
            1. > You could also say it that is higher level, no? Mathematics is a subset of reality (physics). It’s physically possible that we have contrived mathematics as humans. Mathematics isn’t a truth of reality, it’s a set of observations + assumptions.

              The comment below me got flagged for some reason but it seemed fine and I think worthy of a response. No, you can't claim mathematics is a superset of physics for a few reasons:

              1. physics is literally defined by mathematical rules - there's no physics without math. Math without physics still exists. If something in the universe acted outside the rules of mathematics, physics would have to change what it looks like fundamentally and it's hard to think about what that means.

              2. if #1 happens but we know math describes physics, then it would be an intersection where there are things that math can describe that can't happen in the universe and things that can happen in physics that math can't describe.

              3. It's incorrect to state that math is a result of observations + assumptions. That's physics. Math is a set of axioms from which larger and larger rules of mathematics are defined. Physics happens to obey certain mathematical models.

              So at best, math ends up intersecting reality but can't describe all reality but similarly reality probably can't hold all possible mathematical worlds.

              The caveat is if everything that math represents ends up being a universe where there's an infinite number of universes - in that case it's possible math is a subset. But math is 100% not a subset of our universe.

              Continue this thread (1 replies) →

            2. This is an actual crazy statement. Physics, which is bounded by math, can only represented n systems bounded by itself, is a higher level system than math with can represent n+z systems.. so it's higher order?

              Continue this thread (1 replies) →

      4. Even if P!=NP, things like RSA can still be susceptible as they are in NP, not NP complete.
        Replies (2)
        1. Yeah, what we really need is to prove P != NP using cryptographic groups as witnesses.
          Replies (1)
          1. it's all just assumptions about the outside parties capabilities while being bounded within your own, you absolutely need a second or third layer.
        2. Also to be pedantic, P!=NP would imply OOFs with worst case hardness, not necessarily average case hardness which is more useful.
      5. I can trivially prove P=NP up to the bounds of all current encryption schemes.
      6. There could be some branch of math that is outside of the domain of p!=np ... and so on for infinity. we dont know what we dont know
        Replies (1)
        1. Closed timeline curves on a chip
      7. How exactly would "3SAT solvable in n^(large tower of 2's)" make our cryptography stop working?
    4. In another HN thread it is discussed that Anthropic may have broken one of the newly-standardized post-quantum algorithm.

      They have announced that they have made some kind of cryptography breakthrough, without saying which is that.

      The results were communicated to some specialists in the post-quantum NIST standard at an invitation-only meeting, called "Lattice Frontier Workshop".

      This looks as if one of the post-quantum algorithms currently standardized and in the process of being deployed everywhere might have already been broken.

      If that were true, it remains to be seen whether the NIST standard could be fixed in any simple way.

      Because there is no public information about what was presented by Anthropic, there is also the alternative interpretation that they did not break a post-quantum algorithm, but they broke RSA, and the meeting with the post-quantum specialists was to discuss how to accelerate the transition to post-quantum algorithms, but such an interpretation makes much less sense, because breaking RSA should have been discussed with other people, involved in the practical deployment of Internet protocols, not with cryptologists.

      Replies (1)
      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. Who wood do that? The gall of some people..

              Continue this thread (1 replies) →

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

              Continue this thread (2 replies) →

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

    5. If it were quantum-resistant, it would have been AI-resistant. Thing is, it is not quantum-resistant, the word "post-quantum" is just a lucky guess.
  5. I have an alert to whether a paper comes out or an emergency forced upgrade.
    Replies (2)
    1. I feel like people just want something catastrophic to happen in their life or something. I don't get this panic, there's literally nothing to be setting alarms over.

      How is your life going to change? What are you protecting with such weak keys thats so important that YOU would be targeted by anyone with the means to leverage an attack?

      AI scare agendas are getting out of hand. Scott Aaronson, the guy who spread this rumor (why??) is asking people to stop citing him for it, he doesn't even have confidence the rumor anymore.

      Lets say your alarm goes off (whatever that means). What do you do? How does YOUR life change.. It doesn't..

      Replies (5)
      1. I'm not that person but why not be prepared? I selfhost a lot of my stuff so that type of alert would at least give me a heads up to take certain things offline for a short period of time while the panic dies down etc
        Replies (2)
        1. Because the proper option is to pre-prepare for something like this, move away from services that are using these potentially unsecure keys now, and move your own services from them.
          Replies (1)
          1. Nothing is going to happen. Anthropic is doing flood the zone tactics to trickle hype marketing and consume mind share. It doesn't matter what they announce, they've already gotten a ton of free publicity over these completely unfounded rumors and clickbait headlines.

            Its very obvious. I could care less, any important service you use that deals with payments/ids ect is not in danger. People are just desperate for catastrophe because our lives lack much excitement these days.

            and moving your services from them (whatever you mean by service), does not protect you. They're not going to delete your data. Whats done is done.

            but this is just disaster porn, which some people yearn for.

            Replies (4)
            1. Nothing ever happens
            2. “Someone once said that it is easier to imagine the end of the world than to imagine the end of capitalism.” —Fredric Jameson

              Continue this thread (1 replies) →

            3. Indeed, Anthropic and OpenAI thrive with the help of, not in spite of, all the rumors (they?) spread in the public domain

              They even finance journalists for this purpose (Coefficient Giving -> Tarbell Center for AI Journalism -> Guardian, Time, Bloomberg, CNBC, Verge etc.)

              Continue this thread (1 replies) →

            4. This is a very cynical view, and also a remarkably ignorant one.

              I actually studied the number theory relevant to asymmetric cryptography, and my PhD work was partly concerned with sieve algorithms that were then state-of-the art when it comes to integer factorization.

              Asymmetric ciphers of today are based on just a few algorithmic problems, about which we thought that they were hard, but were unable to prove it. For example, integer factorization and discrete logarithm in various algebraic structures. Among the people who understood the actual problems, there was always an uneasy feeling that one day, someone could wake up with a bright idea and catastrophically break them.

              There is a lot of inertia built into the system, which makes mitigation of subsequent attacks hard. Certificate authorities are generated with 20-30 years of validity and hardcoded into various firmwares. PGP keys can be generated as "never expires" and circulate forever. Even updating your system once digital signatures of the underlying software repositories have been made unreliable is a mess.

              If AI can prove GRH, it is absolutely possible that it could come up with a practical algorithm that breaks RSA or ECC in time exploitable by human beings.

              Continue this thread (3 replies) →

        2. > I selfhost a lot of my stuff

          No offense but I doubt you're an interesting target to anyone who would get their hands on anything of the sort.

          You will most likely get hit but a very boring exploit, or even more likely an even more boring missed configuration options between one service and another that interact in a totally unpredicted way.

          I don't know what you self host (nor do you have to tell me) but the most valuable thing a "normal" persons has is ... computational resources in order to get more of those, and that's definitely worth "wasting" this kind of tool for.

          I'm not saying you shouldn't prepare, only that you should prepare in a proportional fashion against rational economical actors.

          Somebody who breaks PQC has a hit list and you are not even at the bottom of it.

          Backup your data so that regardless what happens to your hosted services you can pull the plug and shrug for few days, weeks or months and stay within your LAN or VPN (probably not safe) until you feel it's fine again.

      2. > Lets say your alarm goes off (whatever that means). What do you do? How does YOUR life change.. It doesn't..

        How does information like "massive swaths of encryption have been broken" not affect your life?

        You hedge against loss.

        Reduce your digital assets and trade into physical assets.

        Consider changing your career away from companies that can only exist assuming that digital security exists.

        Start prepping for a tidal wave of negative economic events.

        And not everyone sits idly by. Some people actually work at the banks, the governments, the cybersecurity companies that need to react when it's time to rotate TLS / SSH algos which are known to be insecure.

        For me the real question isn't "has X encryption method been broken?" It's "what would the signs be that an organization secretly broke X encryption algo?" My suspicion is that they wouldn't say it out loud (that would cause an obvious and immediate panic), so deciphering the subtle signs is more useful.

        Replies (1)
        1. The only reasonable response in this thread, However, I would argue taking action on any of these would be an over reaction considering the sole evidence is an Anthropic employing posting a vague tweet with a link to a website. I get wanting to be informed when it comes to your job responsibility, although I would argue there's still little within your control.

          Also none of this is going to happen, I know for a fact.

      3. You're on HN.

        Some of us secure millions of customers' financial data, viagra and herpes scripts and it's important to us that info remain private.

        Replies (1)
        1. lmao, the larp. What do you expect from hackernews exactly? I can assure you panicking and checking Hacker News will not get you that info, if you were actually anyone of importance working on anything critical you would receive mitigation steps.

          You're using 1024-bit RSA? Seems like negligence.

          If you actually don't want to worry, I know for a fact nothing significant is coming. It was described as "annoying" but "no immediate impact". Its going to be related to PQC implementation most likely.

      4.    I feel like people just want something catastrophic to happen in their life or something.
        
        I was in 6th/7th grade when Y2K happened. I was excited for the world ending because maybe world leaders would stop trying to go to war with each other and refocus on making the world better.

        Obviously nothing happened.

        I think people crave a forced reset, worldwide.

        Replies (1)
        1. Nothing obvious about it.

          Lots of money and effort was spent to avoid disaster und these efforts were successful:

          https://en.wikipedia.org/wiki/Year_2000_problem

          Replies (1)
          1. > Nothing obvious about it.

            You don't think it's obvious that leaders didn't stop leading us to wars after 2000?

      5. You can't be sure of what exactly the fall out would be as there are countless ways good and bad this could effect a person.

        But if true and the situation is revealed or say discovered also by another country like say China then from what I understand is that both China and the US have archives of encrypted intelligence signals both have collected on each other. Much of this encrypted data would contain classified information and the results of decrypting it could have very serious implications. Maybe the public will learn something or maybe you will wonder why that politician went the opposite way you expected (blackmail).

    2. Act in advance; RSA-2048 is probably broken, time to upgrade to an alternative.
      Replies (1)
      1. I don't know, I'd like a strong signal before throwing the baby with the bathwater...

        Switching to another scheme doesn't mean it's better, especially if we don't know exactly what has been under attack.

        Replies (1)
        1. Switch to a hybrid PQC + ECC scheme.

          It's unlikely that both are broken at the same time. And ECC is generally considered more robust than RSA.

  6. Maybe it's a matter of time until AI finds vulnerabilities again. I feel it's going to be a loop of ever changing methods
  7. FWIW, what we got out of AI so far is mostly scientific papers that have yet to yield practical use cases, and fake ripped 50-year-olds selling tai chi workout scams.

    Joke aside, I am not in denial about the technology. It has radically changed how I do my job every day. And I always was a believer that singularity as a concept made sense. However, I dislike the tone of these takes that claim to know what’s going to happen with certainty. That the breakthrough in mathematics will translate into breakthroughs in biology and physics and everything.

    Hopefully it’ll find a grneric cure to cancer, but we can’t be sure of it. Hopefully it’ll find a way to obtain room-temperature supercondictivity, but before any of this actually happens, we can’t be sure it’s even doable at all.

    And one thing that this tech is not doing right now is getting humanity closer to world peace. In fact by increasing global warming and by increasing pressure on GPU supply chain, it’s been increasing the world instability quite significantly.

    So yeah maybe we’ll get those great leaps of progress that will benefit all humanity and maybe not, and that’s fine too. Maybe we get lucky and this stuff will save humanity from itself, or maybe we get Skynet, and out of control killing machines ruling the planet.

    but who the fuck knows?

    Replies (1)
    1. Wait, that guy selling me tai chi on YouTube is fake?? Does that mean the doctor talking about his digestive treatment in the 20 minute long ad after the max volume fart sound is also fake?
  8. Subtle hint of the nature of the Anthropic findings?
  9. I dunno I mean something about factoring huge semiprimes is just obviously and intuitively difficult whereas these other schemes could be hiding another sp800-90a backdoor
  10. I was hoping they had added the origin KEX to /cdn-cgi/trace
  11. My employer recently forced us on to Zero Trust DPI despite privacy risks and now the recent AI breakthroughs have turned the tables around. If you seriously care about your privacy, kindly stay away from the Internet even if PQC is implemented or not.
    Replies (1)
    1. I’m not sure I buy this argument. If you’re worried about TLS inspection on Cloudflare traffic, Cloudflare’s business model relies on being a TLS decryption point, and the trust they won’t do shady things with your decrypted requests/responses.

      If you’re instead worried about HNDL, the traffic isn’t going to get more or less secure just because it’s going through a ZTNA VPN, it’s probably going to stay the same level of Security regardless of whether it’s going through a centralised decryption point or not.

      TLS inspection is required as part of most company’s due diligence (if the police come looking for evidence) and security (I as a security person need to know if you downloaded malware, uploading company secrets).

      As long as they turn off categories like Health, Politics, etc, the company owns the device, your time, and what you do on the device. Stop treating it like a personal laptop.

  12. My gut feeling purley based speculation: AI models it Anthropic / OpenAI broke RSA. They didn't disclose it to public yet, but told the large providers so they can slowly update their encryption standards.
    Replies (8)
    1. This has been the "talk of the speculation town" for a while now. It will be interesting to see if it is indeed "the big one" or just a case of "rumour telephone" where things get exaggerated.
      Replies (1)
      1. Has either of the companies announced they didn't break it, in response to the rumors?
        Replies (2)
        1. Do they have an incentive to?

          Let's not forget that OpenAI and Anthropic thrive with the help of, not in spite of, speculation and some fearmongering in the public

          Replies (1)
          1. lets also not forget how the stock market is trending and why AI needs to be hyped, badly.
        2. Has either of the companies announced they didn't immanentize the eschaton?
    2. I'd bet its up to RSA-2048 at least.
      Replies (1)
      1. Isn't rsa the same thing with any digit suffix? It's just the size of the key? So breaking any of "them" would be breaking RSA-N for all N
        Replies (1)
        1. There are two possibilities of what a break of RSA might look like:

          1) If RSA were to be fully broken due to a revolutionary discovery, meaning there is no reasonably sized N for which RSA-N is secure.

          2) More modest improvements to factorization leading to RSA-2048 or RSA-4096 being broken.

          In practical terms both of these have the same effect because RSA becomes increasingly impractical for larger N, you can't just adopt RSA-65536 or whatever.

          (I'm not saying that either of these has happened, it seems that the discovery is with lattice cryptography, not RSA)

    3. Yes, they also cured cancer and now are aligning with the cancer cells to adapt their attack strategies.
      Replies (1)
      1. “Tech founders think AI will cure cancer — so they’ve started smoking”

        https://www.thetimes.com/us/news-today/article/ai-cure-cance...

        Replies (1)
        1. What did I just read.... wow!
          Replies (1)
          1. Lol, at least they are putting their money where their mouths are.

            Well, one amusing thing about the world is that there is a near-endless supply of people who demonstrate new and innovative ways of pants-on-head stupidity.

            Replies (1)
            1. > Lol, at least they are putting their money where their mouths are.

              Or putting their mouth where their money is.

    4. Unlikely, since what is rolling out here is the key exchange upgrade, which already mostly wasn't RSA for a long time.

      Quantum vulnerable elliptic curve (not RSA) has been the dominant one for about a decade.

      So no. Going from elliptic curve to elliptic curve plus PQ is not about RSA.

      Replies (1)
      1. I think if Factoring is in small P then ECC is broken too.
        Replies (1)
        1. No they are a different set of problem (even if they are in the same hidden subgroup family) and even if improvement on general number field sieve has usually allowed improvement on index calculus it is not clear that different technique for factoring would yield a result for ECC.
    5. Then you'd expect a much bigger jump in PQC adoption the last week. Which this doesn't show.
    6. My fave rumour is that some post quantum method has been broken, say, the ML-KEM method talked about in the article. People have been thinking about the principle that RSA is based on basically forever; the properties of primes are a big part of number theory. That's not as much the case for things based on lattices.
      Replies (1)
      1. I laugh a little when people think that calculating prime numbers have been broken by AI. They worry credit cards transactions will be less secure. I worry that AI has just proven a couple centuries of mathematicians wrong, that a few graphics cards just bettered the best mathematical mines humanity has ever produced.
        Replies (3)
        1. > I worry that AI has just proven a couple centuries of mathematicians wrong

          About what? Were there mathematics making claims beyond just declaring a hunch?

        2. The hardness of factorization has always been a major open question and indeed RSA has been out of favor for a while because of the apparent superiority of elliptic curves. Neither problem has been proven to be hard, however.
        3. People have been trying to (and speculating on whether the next big thing will) mechanize theorem proving for something around a century.

          Turns out we needed to popularize supercomputers, write it all in code like Dijkstra wanted, and build a huge database of human behaviors to use as search heuristics...

          But anyway, computers bettering the best minds in mathematics is literally what they were built for, and happening again and again in one way or another since computers existed.

    7. I'd be really surprised if it was RSA that has be broken, and not some less time-hardened PCC algo.

      (which is actually a worse outcome since quantum computer threatening RSA are likely right around the corner and we need to be confident in our ability to move to a post-quantum scheme right now)

      Replies (1)
      1. Quantum computers have been around the corner for a long time, and have still yet to factor a number larger than 21.
    8. I think it’s more likely post quantum methods will be weakened to classical strength levels and thus not guard against the quantum threat
  13. With the push to use HTTPS for absolutely everything, including read only or public sites (like this one), it's harder to tell how much of the remaining 20-30% actually matters.
  14. I made a local patch to openssh to use SLH-DSA identities and McEliece key exchange (layered with x25519 for some assurance against implementation/usage coding errors). It's slow but probably won't fall over unless P=NP.
    Replies (2)
    1. The McEliece KEM is mostly broken, which in cryptography means it is actually broken...

      The assumption it is based on is known not to hold in the general case.

    2. Beware McEliece, significantly weakened since August '26:

      [1] Quasipolynomial Cryptanalysis of the McEliece Cryptosystem - https://eprint.iacr.org/2026/1630

      [2] Improving GIJS Key Recovery for Classic McEliece - https://eprint.iacr.org/2026/1984.pdf

  15. I disabled non-hybrid schemes on on a site I run that has about 200hits/h. (About 400 recurring daily users).

    I had no client negotiation issues, except for bots.

    Replies (1)
    1. How would you know?
      Replies (2)
      1. By seeing failed TLS handshakes?
      2. you would still see the negotiation attempts
  16. I guess that might come handy once actual quantum computers are actually delivered.
  17. Half the rumours are about RSA breaking (pre-quantum encryption), but the other half of the rumours now are about euclidean lattices breaking (ML-KEM / ML-DSA), which is post-quantum encryption. It may be that lattice encryption is broken[1] but RSA is still fine (for now).

    There's an argument for using triple-layered hybrid encryption for anything you really care about (X25519 + FrodoKEM + HQC).

    [1] Chen 2024 came quite close to this already - https://eprint.iacr.org/2024/555

    Replies (4)
    1. The result appears to be something like quasi poly key recovery for ring-LWE and ML-kem. As I have been saying here again and again, non-hybrid choices for the migration has always been a very dumb choice, in particular because even the classical security of these schemes are not as well understood as ECC/factoring.
    2. Some update on this, it is a quasi-poly lattice algorithm, in particular ML-KEM and ML-DSA. I checked the Sha256 it matches.

      title: "Quasi-polynomial quantum algorithms for integral lattices and module lattices of small rank over power-of-two cyclotomic rings" Source: https://x.com/_mixy1/status/2127374724791697629

      Replies (2)
      1. What does the full tweet say for those of us who don't have twitter?
        Replies (1)
      2. How did you (and the other people on twitter) reverse the title from the hashes posted there?
        Replies (1)
        1. either parallel construction or medium-lucky guesses over reasonable-sounding paper names. the space is small, all things considered...
    3. The supposed parameters for a quantum algo on Ring-LWE are, apparently, of the order of 2^2000 qubits. That makes it supra-cosmic in scale - if so, we're fine, it's more an academic understanding of how a break may/might/could/should occur. Also, there's an overhead for moving this from Ring-LWE to Module-LWE (cf. Albrech-Dao 2017).
    4. RSA is fine, with the qualifier that RSA 1024 is likely within the reach of corporate and nation state actors that really want it now.

      A lot of 2+ decades worth of retail RSA is absolutely not fine, and now we are questioning whether the upgrade targets are massively impacted.

  18. I was always skeptical of use lattices for “post-quantum” cryptography, just because an algorithm like Grover’s or Shor’s wasn’t discovered for them yet doesn’t mean they are reliable or actually post-quantum.

    For me, it’s SPHINCS+ and AES-GCM od bust. At least have crypto agility to add this when needed, and pay attention to where you may be exposing “store now, decrypt later”

    That is why I added them to our Safebots infrastructure, for instance: https://github.com/Safebots/Infrastructure

  19. The title of the new Anthropic paper appears to be "Quasi-polynomial quantum algorithms for integral lattices and module lattices of small rank over power-of-two cyclotomic rings"[1].

    This likely implies some elements of NIST's flagship post-quantum suite are broken: ML-KEM (Kyber, FIPS 203), ML-DSA (Dilithium, FIPS 204), and FN-DSA (Falcon, draft FIPS 206), but that this algorithm requires a quantum computer (and therefore poses minimal present day risk).

    [1] https://x.com/_mixy1/status/2127375104728523135

  20. Honestly, I think this is much ado about nothing. For most people (and most companies), there is very little threat of data being stored until usable quantum computers actually exist. What data will have any sort of value in 10 years, or even next week?

    Imagine you log into your bank account. Maybe someone can extract your password, but your bank requires an ephemeral MFA, so that doesn't get them into your account. They can see what you did, so - great - they know what your bank balance used to be.

    What about trade secrets? Maybe the recipe for Coca Cola has a value, but for most companies? What data is genuinely valuable years later?

    We are being pushed to install young encryption algorithms that have nothing near the amount of testing as established algorithms. Remember SIKE? Is this really a good idea?

    tl;dr: For most applications, it seems better to replace existing encryption algorithms only when usable quantum computers are actually about to become available. As with fusion energy, that is somehow perpetually "just a few years away". So let's wait those few years...

  21. No "Just a moment..." nonsense (excessive data collection, fingerprinting), no Javascript, no cookies

    https://web.archive.org/web/20260306171453if_/https://radar....

1 comment is not loaded here. Read them on Hacker News ↗.