Skip to content
Preparing for Q-Day episode artwork

Jun 16, 2026 46 min

Preparing for Q-Day

from Software Engineering Daily

Most of the cryptography securing the internet today rests on mathematical problems that classical computers cannot solve in any reasonable timeframe. That assumption is now being tested. Recent advances in quantum computing have dramatically compressed timelines, and many in the industry have set a target of full post-quantum security by 2029, meaning a complete migration to algorithms designed to remain secure against quantum attacks. Bas Westerbaan is a cryptography engineer at Cloudflare, where he leads the company’s efforts to migrate to post-quantum cryptography. In this episode, Bas joins Kevin Ball to discuss how quantum computers threaten public key cryptography, what post-quantum algorithms actually are and how they work, the timeline shifts that have made quantum readiness feel so urgent, and what software engineers need to do now to prepare their systems. Kevin Ball or KBall, is the vice president of engineering at Mento and an independent coach for engineers and engineering leaders. He co-founded and served as CTO for two companies, founded the San Diego JavaScript meetup, and organizes the AI inaction discussion group through Latent Space. Please click here to see the transcript of this episode. Sponsorship inquiries: [email protected] The post Preparing for Q-Day appeared first on Software Engineering Daily.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Preparing for Q-Day

0:00 46:18
of matches

Transcript Auto-generated, may contain errors

Most of the cryptography securing the internet today rests on mathematical problems that classical computers cannot solve in any reasonable time frame. That assumption is now being tested. Recent advances in quantum computing have dramatically compressed timelines, and many in the industry have set a target of full post-quantum security by 2029, meaning a complete migration to algorithms designed to remain secure against quantum attacks. Boss Vesterbon is a cryptography engineer at Cloudflare, where he leads the company's efforts to migrate to post-quantum cryptography. In this episode, Boss joins Kevin Ball to discuss how quantum computers threaten public-key cryptography.

what post-quantum algorithms actually are and how they work, the timeline shifts that have made quantum readiness feel so urgent, and what software engineers need to do now to prepare their systems. Kevin Ball, or KBall, is the Vice President of Engineering at Mento and an independent coach for engineers and engineering leaders. He co-founded and served as CTO for two companies, founded the San Diego JavaScript Meetup, and organizes the AI in Action Discussion Group through Latent Space. Check out the show notes to follow KBall on Twitter or LinkedIn, or visit his website, kball.llc. Bas, welcome to the show. Hey, Kevin. Nice to be here. Yeah, I'm excited for this topic. This is one that has been suddenly raising my awareness, but I don't know enough about it, so I'm really eager to pick your brain. But let's start with a little bit about you. Can you kind of give us a little bit of your background and how you got to where you are today? It's quite a whiny road. I always liked security and cryptography at high school. Decided to go study physics and mathematics because I thought it would be more challenging. Didn't end up being very good at the physics, so I stuck with the mathematics, at least. I mean, the physicists, they know how to bend the rules, right?

I don't know how to do that. I did mathematics. Then I did a PhD, going back to physics a little bit in the mathematical foundations of quantum computing, and the physics kept pulling me. But actually, I did that at the security group of my university. So when I would be avoiding working on my actual thesis, I would be spending time with cryptographers around there. So there's people doing post-quantum cryptography there and design for symmetric cryptography. So I kind of learned by osmosis just during the coffee breaks and stuff. After that, I went for a postdoc to London. London is expensive, so I thought maybe I can find an internship or something.

already some crypto engineering. So via via, I ended up with an internship at Cloudflare. I enjoyed that so much doing crypto engineering there that after COVID, I got invited to join full-time in the Netherlands deck. And I've been there ever since, leading for the last few years, our efforts in migrating to post-comptography. That's awesome. I actually also started in physics. I studied physics as an undergraduate and got away from it. And then like in recent years, there's all these things that feel like, oh, that's suddenly relevant again. There's so much that is becoming interesting. Let's talk a little bit about quantum security, quantum cryptography and all of this, because I feel like this is something that most of us as software engineers weren't worried about. It hasn't been that big on the radar. Maybe if you were in kind of a niche area and then suddenly it's a big concern. So maybe start back with like, what are the problems that quantum computers create for cryptography?

Yeah, so quantum computers, it's quite an old concept. I think even earlier in the 90s, Richard Feynman, the famous physicist, and some other folks proposed that you can use quantum computers to more efficiently simulate nature. So the whole thing about quantum computers is that things are in superposition. So if you want to compute things about them, you have to carry around actually an exponential number of probabilities, which they call amplitudes, which is inefficient. But then they realized if you use quantum mechanics itself, the full power of it to actually do computations instead of just using zeros and ones, you can actually compute it more efficiently. So that's all well and good. The physicist's toy with hopefully...

amazing applications in material science and stuff. But so it was all positive until in 1994, Peter Shore, a mathematician, he figured out that if you have a quantum computer, then you can also efficiently solve factoring and discrete logarithms. And that's a little bit inconvenient because basically all of our public key cryptography, not all cryptography, but basically all cryptography that's important, relies on that today. So if a quantum computer is actually built, it doesn't exist yet. But if it's actually built, that's big and powerful enough.

then most of the cryptography falls away. Yeah, that's really interesting. So I think some of our listeners will be crypto experts, but let's maybe really quickly talk about asymmetric cryptography and like how this works and why this ability to factor large numbers suddenly makes this fall away. So you have these two big groups of cryptography, symmetric cryptography, which is AES, Chateau. That's mostly about jumbling bits, right? Mix things up a bit so that they become unpredictable. That's in a way, it's a bit of a messy thing, but it's well understood that quantum computers don't touch that. That's still completely fine. Now the public key cryptography, that's the cryptography where you have a public and a private key.

And that requires something mathematical, something magical to make it work. And in the case of elliptic curves, that's discrete logarithms. And in case of RSA, it's using the fact that multiplying numbers is easy, but factoring them is hard. Well, we think it's hard. It is hard, we think, for normal computers. But for quantum computers, it's pretty easy. And the problem is, if you can solve that problem, if you can do a factoring number easily, then you can also break the public key, and from the public key, the right property. And maybe you should go, what does this actually mean? What's the actual impact, right? Instead of the mathematical bits. And the thing is, so we use cryptography for basically two things, mostly. I mean, for a lot of things, but...

The two big things are protecting data and protecting access and authenticity. So if you make a connection and you do a dealer's handshake, there's what is called a key agreement first. And after the key agreement, both sides have a shared key, which they then use for bulk encryption using typically AES. So this key agreement today also relies on other ellipticals of RSA. And if that's broken, then people who recorded the encrypted conversation can retroactively decrypt it and see the data. So that's the famous harvest now, decrypt later. People can record encrypted sessions today. And if they're not protecting using post-continent cryptography, cryptography designed to be secure against the attack of quantum computers, then they can be decrypted in the future.

So that's one. Yeah. And just to like even put it in broad terms, like that's every connection we have today, especially now everything's using HTTPS. If you're on the web, you're going and logging in to Google, to your bank, to what have you. All of those at the root are doing a TLS handshake, shared key, and encrypting it using AS, which if it's being recorded, which I mean, I live in the United States. I kind of unfortunately assume everything is being recorded at this point. All of that could be replayed and cracked with a quantum computer. Well, luckily we have made some good, I mean, we've known about this problem for quite a long time and we've made some good progress by default. We use a modern browser, Chrome or Safari or Firefox.

then that already tries to make a connection using post-quantum cryptography that secures it against harvest now decrypt later. So that is good to dig into. So actually, first, what does it mean to be post-quantum cryptography? What is that? Yeah, so post-quantum cryptography is cryptography that is designed or we believe is secure against attack of quantum computers. So the funny thing is, is this cryptography is typically already quite old. So lattices, which is the frontrunner, I mean, there are many different types of post-quantum cryptography. You have hash-based cryptography, lattice-based cryptography, associating-based cryptography, multivariate-based cryptography. The one that I'm really taking are on the frontier that are being deployed now is lattice-based cryptography.

And we believe that they are secure against the attack of quantum computers. I believe that sounds weak. I mean, also with classical cryptography tomorrow, we can wake up and someone discovered a classical algorithm to factor numbers quickly. That is possible. Luckily, it hasn't happened. But for the best of our knowledge, we have quite a good confidence in it that letters-based cryptography is secure against the attack of quantum computers. And if you use that, letters-based cryptography...

then you're secure against this threat. So let's maybe really quickly talk about what that actually is, because I think it's, I enjoy geeking out on this, right? So we've talked about the two examples where you've got elliptic curves and computing things there using logarithms. We talked about large number multiplication being easy, but factoring being hard. And those are kind of the two quantum crackable approaches that we have. So what does it mean, lattice-based cryptography? What's the underlying math happening there? Yeah, so what is a lattice? So a simple example of a lattice, it's a simplified example of a toy example of it. Think of a plane. So a plane when X is Y grid.

And you have two points on the plane. So we start with just two points. Now what we do is we create a grid from those points, where each of those points, they think about a parallelogram, and then it just repeats. It repeats. So if you have such a grid at this point, it's very easy to say what is the smallest point in the grid that's closest to the origin. That's pretty easy if you give the grid as two points that are neatly orthogonal. So that's what they call a good basis. But you can also give the same grid by giving a point that's very far away, two points that are very far away and close together.

those two points can also generate the same grid. But that's what's called a bad basis. It's a basis where it's not clear to see where the actual smallest point in the grid is. A picture is worth here more than a thousand words, but maybe you can add a link to a picture about this. Yeah, I mean, I think conceptually it makes a lot of sense, right? Where if you're imagining this plane, if we're looking at a point that's very close to the origin, you can be very zoomed in. It's able to be very high level fidelity, high detail. You have two points, okay, but you're still looking in very good fidelity. Whereas if it's very far out, conceptually you're having to zoom way out and it's hard to see any level of detail.

Yes, also when they're close together, it's really hard to see how will things cancel out if you start adding and subtracting them. But actually on the plane, you can, I mean, it's a fun thing to run an algorithm for it if you like being a spectrum. It's actually pretty easy to figure this out in the plane, right? Because that's just two dimensions. It turns out that if you do this in a space that has a thousand dimensions, it's not just X and Y, but a thousand different directions, then this becomes computationally very, very hard. And that's the basis of less space cryptography. So I'm going to use the example of the multiplication and factoring, because that one I understand personally more than I understand the elliptic curve one. In that example, the way that...

the public and private works is you say, okay, if we know the private, we can do the multiplication route. We just show the end version. We both got to the same thing, but somebody just seeing that end version, they can't factor it. In the lattice, what is the equivalent here? Like what am I sharing with my counterparty or how do I get to some sort of shared basis for encryption?

So actually, do you know about Diffie-Hellman, the clock things? Only some, but why don't you explain it and then we can go with it. Diffie-Hellman is the classical one. It's based on discrete log where each of us starts with a secret number, A and B. And we do this using modular arithmetic. So it's like time on the clock. I have a secret B, you have a secret K, right? For Cameron and Bas. And we both agree on the basis number, let's say two. So I compute two to the B and the modulo, I don't know, the big prime number we choose. And you compute two to the K. And you send two to the K to me and I send two to the B to you. Going from two to the B, figuring out...

I mean, if it's normal numbers, it's easy to take a logarithm if you see 2 to the B to then see what is B. But if you do this modulo or prime, this is actually hard. This is called the discrete logarithm problem. Well, hard for us now with our puny classical computers, but with a quantum computer, it's easy. Okay, so that's the public key, 2 to the B. My public key, 2 to the K is your public key. Now, you've got my public key, 2 to the B, and what you can do is you can exponentiate in your K. So you can do 2 to the B, 2 to the K. And I can do 2 to the K, and I can exponent in B. So 2 to the K, 2 to the B. And what we end up with is, both of us end up with 2 to the...

B times K. So we both got the same shared number, which we can use as a secret to then do AES. So this is called if you have them. And with lettuces, you kind of do the same, but then with adding a lot of noise. So it's like a noisy version of this. That makes a ton of sense, actually. That's really helpful. So you're each starting with essentially this like small, easy to understand piece, and then you layer it and you end up with this, okay, this is way out in the world. This is hard to decrypt. My colleague, Chris Patton, he wrote together with Peter Schraber, one of the design scheme. He wrote a nice blog post with this analogy, explaining it some more. I really don't do it justice in five minutes, but we can add a link to it. Yeah, we can go and check that out. So if you're looking for it, Google will turn it up, I'm sure.

Okay, cool. So that I think helps us understand a little bit more about like an example of post-quantum cryptography. And so you're saying essentially we're all, if we're using modern browsers for web traffic, we're pretty much all protected from... That's bad news, almost. Okay. We're protected against harvest now, decrypt later. That's where I was going to go. Yeah, we're protected against harvest now, decrypt later. But there was this recent announcement from Google that I think has shifted the threat model a little bit. Yeah, so Q day. Q day is a day that we expect there will be a cryptographically relevant quantum computer. One that's powerful enough to actually crack real keys used in production.

And if you think that Q-Day is far away, then it's really about the harvest now decrypt later, right? It's about, I'm still using, if we're honest, I'm still using passwords I've been using 10 years ago. I don't want to change those passwords. I want them to be secure today. So if Q-Day is far away, it's the harvest now decrypt later. But we don't just need to fix the harvest now decrypt later, a bit of it. We also need to fix the authentication, the certificates, a bit of it. Because just as we explained, we had the shared sequence as 2 to the B to the K, which we can then use for AS.

But we did this exchange, but how do I know that I'm actually talking to you, right? Yeah, yeah. How do you know that you're sending your secret to actual Kevin and not someone else? Yeah, it might be someone in the middle who does this dance with me and with you separately and then re-encrypts everything, right? That classical man-in-the-middle attack. So the way that that is solved is that we use certificates to authenticate. So after we do this thing, you would send me a certificate signed by a certificate authority, which says, I'm Kevin. I have a, I don't know, what's your personal website? I mean, it's the CA says, you can trust this public key for doing connections with this particular domain.

So the key agreement ensures that you have a secure connection, but you don't know with whom. And the certificates make sure that you're talking to the right person. Now, there's no deployment of post-quantum certificates today. It's all classical certificates, which is fine. Until Q-Day. Yeah, until Q-Day, right? Because ComQ-Day is not just about an active attack, right? Because ComQ-Day has these root certificates of big certificate authorities. A quantum computer just has to crack one of them. I mean, each browser trusts a whole bunch of them, not just 10. So it's hundreds of authorities that trust it. A quantum computer just has to crack one of them, and it then can create a certificate trusted by basically any browser or basically everyone uses the same kind of...

trust infrastructure as the browsers. That's a huge problem. And so when you have that in place now, suddenly the consequences of this is essentially whoever owns this quantum computer can set up a man in the middle to anywhere. Well, not just man in the middle because that sure they can do a man in the middle, but they don't need to be in the middle. They can just, if I crack a CA key, I can create my own certificate. I don't necessarily have to be in the middle. It depends on what it is, right? I can, if I'm on your network, I don't even have to talk to the actual server. I can just respond as if I were the real server, right? It's just not in the middle. It's just you talk to no one else but me.

But it's even scarier with things like, for instance, if you have a phone, the way it trusts a software update is using a public tool. If you have a Tesla or some other car that does over-the-wire updates or other things. Yeah, so last year I bought a new second-hand car, which is new enough that it has a remote unlock and all this kind of jazz, but old enough that it probably won't get any post-content updates. I don't want to buy a new car, so probably let's hope at least we can turn off the remote control functionality. One of the best practices in software is to have auto-update mechanisms, right, that you can quickly push in a software update for zero day.

Every software update mechanism becomes a remote code execution for quantum attackers. So what do we do? You mentioned for fighting against decryption for this harvest now decrypt later. We have alternate approaches that we know work that we've been deploying out through at least critical pieces of software like browsers and things like that. Do we know the answer? What does post-quantum authentication look like? Yeah, so maybe also in the previous one to say, actually, on our view, we can see how many of our clients already can do the post-quantum key agreement. And that's now more than 65% already.

That's pretty good. Yeah, of course we want higher. We want 95%. 100% ideally, we never get to 100%. 95% would be nice, but it's pretty good, yeah. But we turned that on in 2022, and it took until now to get to 65%. We know how to do post-content authentication. We have the algorithms. It's trickling down in software as we speak, and people are starting to move faster. Amazing what threats will do, right? Yeah, yeah, yeah. Things move fast. I mean, people start only working when the deadline is near anyway, right? If we're completely honest. So we have the algorithms. We're finishing up the final little standards how to do it in the protocols. It's just about deploying. And I think...

There's good news and bad news here. I think, like a lot of software development, there's a 90-10 rule here, where in the vast majority of cases, it will not be a very difficult upgrade. In a sense, it's just a different type of certificate. It's just you have to keep your software up to date, you just install a different kind of certificate, and you're secure. But it's a 10% of cases that are really difficult. It's the cases where you critically depend on cryptography baked into hardware, where you can't replace the hardware.

it's when you depend on the box that someone bought before you joined the company. Does the vendor still exist? What does it actually do? It's these hard cases for several reasons that you need to service, which makes it hard and also by its urgent to start looking to even know what the deal is. But luckily, probably if you just use modern stuff, DLS, then it will probably be reasonably straightforward. So let's start with the straightforward ones and then we can like dig our way down into the deeper ones. So to deploy this out, it sounds like first you probably need the certificate authorities themselves to be updating.

having another approach. And then it's for users. It's like a software upgrade. It's like, okay, next version of Chrome, next version of SSH and all these other different things. They're going to use post-quantum authentication. Yeah. So Chrome already announced their roadmap on when they will accept post-quantum certificate authorities and they will start accepting them in Q1 of 2027. So probably we will see the first ones then. So one thing that is new is that you will need two certificates because the thing is not everyone can upgrade at once. Maybe if you have an internal network, you can just replace everyone, have a flag day, flip the switch. But if you have some kind of serious system or maybe even just...

a few different teams in a big organization, you can't get it done all at once. So you need to be able to deal with clients and servers that both are not upgraded yet. So on the server side, that means that the server needs to be able to install both a traditional RSA and ECC certificate, but also a post-conference certificate. Oh, that's right. So it's not just the root certificate over at the authority that needs, like this actually needs to get deployed out to anyone with a web server, essentially. Yeah, yeah, of course. It makes sense, but I hadn't made the connection somehow. So yeah, okay. So anyone running your own web server, you've got Nginx doing something or whatever, you're going to need to update. Next time you do a certificate update, you need to have two of them.

Yeah, so hopefully a lot of people do certificate automation, right? So you don't do this certificate installing yourself, you get Acme, some kind of Acme client to do it for you. So hopefully that's easy. That's maybe the 90% case at this point. That feels generous, actually. I don't know if we're up to 90% of people hosting servers are already using Acme. I don't know. I mean, it's something you can do today, right? Even though there are no postpartum certificates today, you can at least do certificate automation today. Another thing you can do is check whether your application server can actually install two certificates. A lot of pieces of software assume there's just one certificate, just one slot. Whereas you really need at least two slots here. Although it turns out it's really hard to get...

application servers to move, we might need to define an ugly certificate format where we squeeze in two certificates into one. But let's hope we won't need that. How bad would that be? Because once again, having been burned before, I suspect there will be a long tail of application servers that are not going to be updating. Oh, for sure. For sure. That's the reality, right? We can't have the slow movers hold back the fast movers, right? And also one of the things is you need to, for instance, if you go to an office and you go to the parking lot and there's that turnstile, does that thing...

If we want to upgrade that, do we need to replace the whole thing? I mean, is it worth it? Do we really care if someone with a quantum computer can have free parking? It's fascinating. It reminds me of the whole Y2K scare, except we have orders and orders and orders of magnitude more deployed software and hardware at this point.

And also the cryptography, we've had 50 years to put cryptography basically everywhere. And usually we hide it. And once cryptography is there, you don't want to touch it, right? It's working. It's fine. Unless it's really broken, people don't really touch software, right? Cryptography. Yeah. So, okay. Interesting. So let's dive a little bit more. So imagine you're in a world where you own some of this software, right? The 80%, 90%. I'm just deploying new software. I'm not building the software. It's somebody else's job to make this except two certificates or whatever. I just need to roll out updates. But now let's step back and say, okay, we're a bunch of software developers. Probably some of us have software where this is actually relevant.

What do we need to do then? Is this like just dropping in some new libraries? Are there bigger changes? Are there performance considerations? Like, what does this look like? So the big things are common best practices, right? So I already mentioned, keep software libraries up to date, be able to install two certificates, do certificate automation if you can do it. So those are generally good advice that you can do today. On internal PQIs, you can already use it. If your software library supports it, then you can already use and deploy post-contam certificates. So you can already do that for internal networks. For public CAs, you have to wait until 2027. Now, on the things that can go wrong, post-contam signatures are larger. Elliptic curve signatures, they're only 64 bytes.

And because they were so small and fast, we used them basically everywhere. So we had a problem, we solved it with an extra signature. So when you make a TLS connection, there's typically six signatures that the server sends to the client. So now they're not small anymore. An MLD is 844, which seems to be the most commonly used post-quantum signatures. If I'm reading the T-Leaps correctly, that is two and a half kilobytes. Sending it six times per connection. Wow. Yeah. Okay. So we're looking at about 15 kilobytes from server to client on the handshake. If you go to YouTube, that doesn't really matter, right? If you go to YouTube.

It does matter in some other cases. So two reasons. Performance. If you look at all the connections that are made with Cloudflare over Quick, so that's mostly browsers, about half of them transfer less than eight kilowatts. So if you just do a drop-in there, then it means that we're adding like... We've tripled the payload, yeah. Yeah, it means that half of the connections transfer. Three quarters of that would just be certificates instead of data. I mean, actual impact is also still... Use impact is also a question, but it doesn't look good, right? Because we want to turn this stuff on by default. And if there's potential for performance degradation...

We don't want to complain. So to be able to put it on by default, we need to have that no one can complain about the performance. We do have tricks here. So what we're doing is we are redesigning the way certificates work. We're doing batch signing, which is called Merkle certificates. But there's all kind of cool stuff that we can dive into. But for it, it doesn't matter. It's still kind of a certificate that you need to install and you need to update. But all in all, that's what a software developer you need to do doesn't really change there. But then there's performance. But then there's also the second thing, which is protocol authentication, which is that even though that TLS has been designed to be flexible, to allow multiple signatures, to allow small keys, large keys, in practice,

when the flexibility in the protocol is not used, the joint ossifies, so to say. So we saw this actually with the migration to post-quantum key agreement, which is already running now. That's also larger. It's one kilobyte instead of 32 bytes. And so the first flight in the TLS connection, you always used to be just one packet, and now it's two packets. And 99% of the cases, that is completely fine. But we found that in 1% of the cases, it just wouldn't work. It would break. And the causes would vary. It's some middle boxes, some firewalls, like firewalls, also some load balancers couldn't do it. So it's very good.

The path here was just slowly roll it out until somebody complains. Now it's me, Jen, hold it, ramp it up some more. And in the end, we got there. So that's another problem, protocol authentication. But the funny thing there is, is that I think it was a while back where Chrome was at 10%. So we, at Cloudflare, we enabled it for all our zones. And Chrome was at 10%. Everything was looking good. And then they ramped up to 100%. So 10% of all Chrome clients were already using PQ Kubernetes all the time. Then they ramped up to 100%. You would think that if you have an organization where 10% of the users with Chrome doesn't work for a reason, that they would report it. But no.

ramping up from 10% to 100%. There were a bunch of new bug reports of organizations where only until literally everybody's Chrome was not working, then only a complaint came in. I'm guessing a lot of this is that, well, it works for me. Crazy, right? Somebody experienced it, filed it to their IT. Their IT is like, hey, it's working for me. It's fine. With this, I don't want people to take away that there could be problems. Because these problems are actually rare. So that's one. But another thing is, you only figure out these problems by trying. It's really hard to predict. Just try it and see. Before we move on from this, one quick question on the performance side. So we talked about the increased size of the keys.

Thinking particularly about places where we embed cryptography in small devices, what's the computational requirement look like? Is it substantially more overhead there? So that's actually a funny thing. So you think big key means slow? That's actually not the case. I mean, if the network is the bottleneck, then big key is a problem. But computationally, it's actually very light. The computations involved in letter-based cryptography are actually typically faster than elliptic curves, which are already known for their speed. Interesting. With embedded devices, though, the thing that gets them is not necessarily the computation, but it's the memory requirement. So for elliptic curves, you only need something like not more than 200 bytes of RAM.

to compete with them. But with ML Cam, which is the most common key element, you do need about five kilobytes of RAM, which is for some devices a problem for some devices. Yeah, for sure. Not usually an issue over in our web world on laptops, but yeah, I've been playing with Embedded recently and suddenly all these limitations are real again. Definitely, yeah. Okay, so let's talk a little bit more about...

timelines and roadmaps. My impression is we'd all been sort of operating under the assumption that Qday was far away and we were mostly worried about the Harvest Now decrypt later. What does the timelines look now? Because we've seen, Google was the big one that caught my eye, but I think there've been a flurry of shifts in terms of projections of when Qday is going to happen. And so like, yeah, what are we looking at and what is the roadmap to being ready? So ever since I started working in this field, it always fell far away. And I was like, yeah, probably somewhere after 2035.

And one thing to understand is that there's not one approach to quantum computing. There are multiple different approaches. You have the silicon-based, the transmon, ion-trap-based, neutral atom-based, photonics, all kinds of different approaches. And each of these approaches, they have their own list of challenges. Ten years ago, the list of challenges was so far. The question was, is even one of them going to make it, right? And then over the years, each of them, none of them fell away. They all kept hanging around, and most of them could.

also on the frontier. But still, everyone, 2035, yeah, yeah, it became kind of a magic number. And also, a lot of regulators started to standardize with deadlines between 2030 and 2035, where typically 2030 was for the more critical things in 2035. But there's a mix between 2030 and 2035 on regulatory deadlines. So far, that falls all still reasonably comfortable. That is until just the last few months. What happened is that, to understand progress in quantum computing, it's actually three layers. It's three fronts where progress compounds.

So you have the hardware. How far along is the actual physical device that runs it? But these physical devices, these are all analog. They are like noisy. So each quantum bit, each qubit, it's not perfect in an actual device. Some approaches have them inherently better than other approaches, but still none of them are perfect. And for any real computation, you need to do what is called quantum error correction. And that's the second layer. The second front on which progress can be made is which error correcting codes do you have and can you use on your quantum computer? And the third front of advances that can be made is on the algorithm itself.

I mean, you know that if you do a first attempt at implementing some algorithm, it might not be the fastest way to get to something. And if you have a 3x4 that does something in assembly, it can be quite a bit faster. Again, so with quantum computers. So what we've seen. So when we originally started, we thought we would need about 200 million physical superconducting qubits to break RSA 2048, 200 million. Then over the years, it was whittled down to 20 million, now 1 million with just superconducting qubits. And then there came out a paper just recently of Google, which said, oh, actually, these elliptic curves, these can also be...

cracked very efficiently. They only require, on superconducting, only 200,000. And then, so that was one. There's a much more efficient way to attack electric curves, which makes it a lot smaller. But then another thing is that, so that was like Google's paper, where the salient thing is, is that they didn't publish the algorithm. The only thing that they did, this is starting to get dangerous. We're not publishing the algorithm. We're only publishing a, what is called a zero-knowledge proof, that we actually know the algorithm. Fascinating, yeah. I'm happy they told us they made improvement on this. It's honestly reminiscent of what's going on in the AI space, too, where it's like, we're not going to make our...

newest models public we're just going to crack all sorts of security issues and bring people in on that similarly here it's like oh yeah we have the ability now you better get ready we're not going to make that available because somebody will use it but here you go so there's an algorithm side there's also the middle there yeah so the top is already shrinking a lot the middle is the error correcting codes and there has been tremendous progress there as well and in particular of a startup called or atomic they show that if you have a particular kind of computer it doesn't work with everyone it works with neutral atoms it works with ion trap what they call reconfigurable, is where you can move qubits around. So with silicon, they're basically locked in place, whereas with the reconfigurable, with the neutral atoms, you can move them around. And if you can move them around, you can do non-local error correcting costs. There they show that you only need 10,000 physical qubits to break P256 elliptic curve. Whoa, whoa, whoa. So if I'm hearing you correctly, they got a 20x improvement of mapping from physical qubits to logical qubits. Yeah. Wow. That's another improvement. Actually, the 10,000 number is a caveat. It needs to run for, to actually run it to break the key, it requires something like a month or so or two.

Probably you would require something like 20,000 to do it in a more reasonable time. I mean, what's the projected classical time to break one of these keys, right? Practically infinite, right? So a month is pretty good, but yeah. And then the hardware side, where if you look at each of these approaches, they're hammering away at their challenges, right? And each of them still has their big engineering challenges to solve. But at the moment, you really have to believe now that every single one of them hits a wall to not believe that it's coming.

And especially the neutral atom one, which was a bit of a black sheep. It wasn't really on anyone's radar until recently. Because in the longest time, they weren't even able to trap a single neutral atom. Now they have grids of like 6,000 neutral atoms. Not a computer yet. It's 6,000. I mean, 6,000, 10,000, 6,000, 10,000. It's a grid of 6,000 neutral atoms that they can trap. But it's not a functioning computer yet. It's not that you can do actually all the operations. But they have shown how to solve each of these engineering challenges have been solved separately. So now it's about integration.

Integration is hard work. There's a lot of work there. But 2035 is looking a little overly optimistic, is what you're saying. We cannot exclude the possibility that we see one in 2030 already or earlier. 2029 even, maybe 1% chance. Google put a date on it, right? They were like, we think that you've got to be ready by 2029. Google says we are going to be ready by 2029. That's our target as well. We are going to be fully post-quantum secure by 2029. Yeah, because it's starting to get incredibly uncomfortable.

So let's talk then about what it takes to get to that full post-quantum security. What is, we talked about the sort of key exchange piece. You've already got that rolled out quite a bit. We talked about the need for the certificate authority and pieces on that, but like, how are you breaking apart these different pieces and the rollout? Walk me through what it takes to get there by 2029. Yeah, so this is a big project, right? It's not like a single push because it's, I mean, they're easy in the hard cases or easy, the straightforward case, but even the straightforward case is first you need to make sure that your internal CAs or actual CAs are there. You need to make sure, then you need to provision the new root certificates on the clients.

Then you need to provision, of course, you need to update the servers, the software and the server and the clients to understand these new certificates. Then you need to provision the new certificates next to the old certificates on all of the servers. And then you're not done yet because installing post-quantum editing support for it is not enough. You also need to turn off support for quantum funnel crypto. Otherwise, you have a dominant attack. And after that's all said and done, you probably also want to rotate all your secrets. So even though this is well understood, the steps here, but it's not one push. It's like maybe three, four pushes. It's a matter of years, not of months. So that's one. At least there, the things are reasonably well understood. Software support is coming.

So OpenSSL already has support for MLDSA. Software support and other libraries are certainly coming. The thing that is important now as well is to bubble up the hard cases, right? So cases where you put a jot into your URL. If that jot is using a postcode signature of one and a half kilobytes, that will break your URL, right? That's not going to work. Headers. A lot of servers, even clients, are not happy if your headers are chunky. Hardware dependencies, bespoke protocols. Something like WireGuard. WireGuard really uses that things fit into single packets.

That's not an easy update either. There are some suggestions there. So one track is preparing just a straightforward case, and another track is trying to bubble up quickly these hard cases, the things that need actual tough decisions on how to proceed. And then there's a third track, which is dependencies, vendors, right? Because even though you can do anything, all right, if your vendor doesn't update in time, what can you do? So because I've had to work with vendors before, that immediately puts me down the road of, well, we're not going to make it. What are the consequences? We get to 2029. Maybe you're like most of the way there, but you've got a few vendors that have not updated or something like that. What are the impacts? What are the cascades? What does this look like in the downside case?

This is actually the exercise you can do tomorrow, right? Just assume we got it all wrong. It's already a quantum computer. What happens? What's the impact? What do we need to focus on now? That you can do, right? Because actually, it's usually because you can also... I love cryptography. I think we did a great job over the last decade to make encrypted secure connections in the baseline. And I really want to keep that. But to reduce the panic of it, it's also important to start from what is the actual business continuity impact if this happens? Are there any mitigating circumstances? Can we detect if this happens? How can we solve this in different ways?

I can't prescribe. It will differ in a persistent system. Some of them you will discover, oh, I thought it wasn't bad, but it's actually really bad. And others you discover, we can do some different things. We can fix things in different ways. It wasn't load-bearing. That can be one example. Maybe we can just put in a post-quantum VPN or the like. Maybe we do design things. Maybe we replace it anyway, or we accept the risk. There's a whole bunch of options. It's really important to understand this top-down. Because if you start bottom-up, where you just make an Excel sheet of where are the keys, that key exists doesn't tell you what the key does. You need to know the context of what is this product, what is it trying to achieve. You need to have a top-down understanding of the risk.

What keeps you up at night looking at this? What doesn't? I like my car. I don't want to replace my car. I've long had a habit of calling smart devices surveillance devices because even in a classical cryptography world, so many of them are so hackable. But cars and software-controlled cars sound terrifying in a world where you can hack through them. Hopefully, they'll just get a software update where they disable the software update or something like this. I mean, they shoot. So the thing is, in a way, let me end with a more positive note, right? Because data leaks are not new. Every once in a while, a huge amount of data is leaked. And also adversaries.

gaining access to systems where they should run and running around and extortion. That's also an everyday occurrence. So we know how security teams around the world know how to deal with this. They're trained to deal with this and how to work around it. The only thing that's really important is that the difference is with quantum, it will come all at once. In a way, Mythos is like a preview where the rate of accelerates is going up. Luckily with Mythos, it can only find errors and bugs that were already in the software. It's not going to find errors that are done on there. But with quantum, it will come all at once. So don't panic, but at least get started early enough. Yeah, for sure. Awesome.

We're getting close to the end of our time. Is there anything we haven't talked about that you think would be good to leave our listeners with? Just get started with updating your library. I mean, probably the biggest part of the work will be just the usual things. Updating a library that's been using a library from 2011. Just the basic things. And in most cases, it will be relatively straightforward. If you're in a big bank that's still on mainframes using COBOL. Actually, banks, the financial sector is one of the branches that has been very much on top of EQ for a long time. At least the banks.

I see at conferences. So yeah, I'm less worried there. Also, there's this funny thing where if your system is old, it's hard to get you in trouble. But if it's old enough, it uses symmetric photography. Right, right. There's a sweet spot. That's hilarious. Awesome. Well, thank you. Appreciate it. This is super educational for me and it'll be an interesting couple of years. Sure will be. Thank you. Great to be here.

Frequently asked questions

How long is this episode of Software Engineering Daily?

This episode is 46 minutes long.

When was this Software Engineering Daily episode published?

This episode was published on June 16, 2026.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this Software Engineering Daily episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.