Settings

Theme

Post-Quantum Encryption Adoption

radar.cloudflare.com

111 points by mfiguiere · 49 comments

Reader

8 threads
s_u_d_o

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…

  • GolDDranks

    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.

    • vlovich123

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

      • segfaultbuserr

        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.

        • wahern

          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. I started off this reply pushing back against your hedge. TIL.

        • AnotherGoodName

          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.

        • vlovich123

          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.

          • segfaultbuserr

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

      • GolDDranks

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

  • AnotherGoodName

    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.

    • vlovich123

      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.

    • ijustlovemath

      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

      • insanitybit

        What would that regulation look like?

      • ralph84

        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.

    • LoganDark

      Are there even any cryptosystems at all that can survive P=NP?

      • qnleigh

        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.

      • yyyk

        Arguably, all of them. P=NP wouldn't mean the required algorithm to decrypt a cryptosystem is known or practical.

      • krastanov

        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.

      • zeroonetwothree

        Only one time pads

      • AnotherGoodName

        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.

        • macintux

          > A huge pain but still feasible.

          You and I have very different definitions of feasible.

        • Cyph0n

          > buying 20tb drives

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

        • andyferris

          Of course, the government would also demand a copy shipped to them...

          • AnotherGoodName

            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.

  • keyle

    what happens when AI drives a quantum computer?

r1ch

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?

  • judge2020

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

  • DASD

    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.

  • bflesch

    Microsoft customers took years and several extensions to move to TLS 1.2

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

Aargau

I have an alert to whether a paper comes out or an emergency forced upgrade.

  • verysmart

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

    • DrudgeCorporate

      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

boznz

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.

  • latentsea

    Oh btw you guys got doomsday bunkers for sale? Think I'm going to need one soon...

gouterz

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

yardstick

Subtle hint of the nature of the Anthropic findings?

easterncalculus

Good timing.

d--b

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?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection