Welcome our next speaker, Christian Paquin on integrating post-quantum crypto into real life applications. Thank you, thank you. So welcome everybody to the last session in the crypto and privacy village. First of all I'd like to thank the organizers for the invitation. It's a great pleasure to come here at DEF CON to present my work and along with the work of my esteemed colleagues from the post-quantum crypto group at Microsoft research. And today I'll be talking about our experiments and incubation projects of integrating post-quantum cryptography into real life applications. So a little outline, very straight forward and logical. Start to introduce what is quantum computing, the quantum and then talk about what we need to do after that. So let's start with the post-quantum world and then I'll discuss our integration experiments. So first of all, so just a little poll. I'd like to know who's familiar, not just the word, but how quantum computing works in the room. Oh, fairly good. How about on YouTube? See that later in the comments. Okay, so we've all heard about quantum computing, at least the words. And we've been hearing the quantum revolution. So let's talk a little bit more about quantum computing. Quantum revolution is coming. Well, I've been hearing that for a very long time. I was a very young student at the University of Montreal, a bit, 20 years ago, was trying to studying quantum computing and quantum cryptography with under the supervision of Gilles Brassard, who co-created or co-discovered quantum key distribution and quantum teleportation. So it was really hard to be in that lab and do anything other than quantum. It was quantum everything. So let's talk about quantum cryptography. I was very young and I was training to be a cryptographer and then I decided to go and get a job. It was a bit hard to be applied cryptography and doing some quantum things at the time. So I went off becoming a quantum, or a crypto developer, work at a company, Zero Knowledge Systems, where we built a predecessor to Tor, did some PKI work. Then I went to a company called Credentica, where we built an anonymous credential system for PKI with privacy and technology, developed a U-Proof technology. I had a job there for a couple of years. I was a computer engineer, but I was working for YouTube and I was working for YouTube and YouTube is a very, very popular game. I was working for YouTube and YouTube is a very popular game. I was working for YouTube ended up at Microsoft. And then many years later I'm back at this quantum thing. But this time on the other side of the fence, not trying to build a quantum computer but trying to defend against it. And I'll talk about it a bit more. So it's hard to just keep track of what's going on. Every week there seems to be a new result, new quantum computer being built, bigger, many more qubits. I can't put slides anymore of a news report. Just put the search slide and search link and then you'll be able to find the results of the week. Also down the hall, my colleagues at Microsoft Research are building, are trying to build a quantum computer. And also, they just released this year a visual studio programming language, Qsharp, in which you can program a quantum computer. So we don't have the chip yet but when we do we'll be able to just plug in that software and be able to use it. So they're trying to build a quantum computer and they're trying really hard to do it. Which means for us, crypto specialists, we have to do some things to defend against it. We'll talk about it later. So first of all, what is a quantum computer? Well, very simply, it's just a machine that operates with the laws of quantum mechanics. Computers we have, they all operate with the classical laws of physics. We understood them. But when we start using smaller particles that follows different laws of physics, there's some really weird things that are happening. So first, the basic of a quantum computer is a qubit, a quantum bit. And unlike its classical counterpart, it's not either zero or one. It can be zero and one at the same time. A bit like that famous experiment, thought experiment of the cat that can be dead or alive, Schrodinger's cat. Well, a quantum bit can be zero and one at the same time. Which is great if you want to build algorithms with that. Because imagine you're trying to solve a problem, let's say trying to find a path in a maze. Well, if I can see zero is turn left, one is turn right, then you can put it both zero and one at the same time and then have both paths be taken at the same time. And all of the computation paths be followed at the same time. And at the end, one of your parallel paths of computation will have found the exit to the maze. The problem is that when you look at the solution, when you look at your quantum register, at your memory, this quantum superposition is not visible to you in the classical world. One state gets picked at random depending on the amplitudes alpha and beta of the quantum bit. And only one result at random gets returned to you. So great parallelism, not great output. So quantum algorithm designers, they have to find ways to use quantum interference like if you remember your physics class, this double slit experiment where you can put two holes in a piece of paper, shine some light and then kind of the wave properties of interference makes a little black white, black white pattern because the waves interfere at some points and where there should be lights, there's not because the light particles, they interfere, they cancel each other. So we can do the same with quantum algorithms where we can just, you know, write the random verse. You can see the destroyed and only the computation results that you want get popped up at the end of the computation. So it's very subtle and hard art to design quantum algorithms. But there's a few that are being around. Another strange property is that qubits can be entangled. Entangled means that imagine you have two coins and you take them apart and you flip them and you are going to get zeros and ones and double zeros, double ones, zeros and ones, ones and zeros. But if they are quantum coins and you have them interact in a special way and they become entangled then you can separate them and they can be very far apart and you flip them they are always either zeros or either tails or head or tails. You'll never see tail and head and head or tail. That's really weird. That freaked out Einstein. He called that a spooky action at a distance. Because you can't see tails and heads. You can't see tails and heads. Imagine that one coin would get a result and would need to send a faster than light signal to the other coin so it matches its response. So it's hard to understand what's going on but it's just an observable fact that these particles can be entangled and to always share a state across space. And that can be used in quantum algorithms as well. And quantum computers can be built with all sorts of things. The spin of an electron, the orientation of a photon. My colleagues, are betting on this topological computer being used with anions that could provide better stability with bigger machines. And Richard Feynman, a famous physicist, famously said that nobody understands quantum mechanics. You just get used to it. For us computer scientists, we don't really care. I don't ever care how it's built. It's just a black box and you give me these mathematical properties and we can design algorithms to solve new problems. So it's just a new class of problems. So it's all great. Some of my colleagues are very excited about that. Security folks are a bit more worried because although quantum computing provides great advances in many fields, in chemistry to find new ways to design molecules and optimization problems and machine learning, it has terrible consequences for cryptography because there are two algorithms. Ironically, the first two algorithms that I've known about, the first two algorithms that I've known 20 years ago, were only used to break cryptography almost. The first one here is the quantum menace. This is Peter Shore. Designed in 94, his famous algorithm that by doing what's called period finding in algorithms, it can be used to factor large numbers and find a discrete log of numbers. Which are the two problems, underpinning RSA and DSA and the elliptic curve variants, like ECDH, DSA. So using Shore, we can basically break most of the cryptography, all the public key cryptography that we use today on the internet. The other algorithm that's very important is the Grover algorithm. It allows database search and function inversion. It improves it by a square root function. So it's a factor. Essentially, it's kind of described as finding a needle in a haystack. It's able to find a unique solution to a function that you're looking for. And it can be used to help the brute force of finding a digest in an hash function or breaking block ciphers, like AES. And it has consequences, but they're not terrible. Because of the square root improvement, what we need to do to secure against the algorithm is just double the key. The key size of AES or double the hash size of Shore. 256 to 512. So, okay. Sounds bad. So how long do we have? When is this quantum computer going to be built? Well, there's been a lot of studies about that, trying to see what's the best estimate of when the Shore algorithm will be built. Micale Mosca is a Professor at Waterloo. I believe he's been as a often cited quote that by 2031 there's a half chance, a 50% chance that we'll get a quantum computer. And he revised that in 2017 to last year. This is one in six chance 10 years ago. And another researcher, Simon Benjamin from Oxford, if you're willing to go Manhattan Project, meaning you just put all your effort as a big government behind it, then maybe, yeah, six to 12 years. Some of my colleagues also share this 2030 deadline or estimate. And that's a little diagram that shows you the difference between breaking RSA 2048 with a classical or quantum computer. So you need about a number of bits for the algorithm. And for a classical computer, it would take billions of years. So we're safe. We know that. For a quantum computer, depending on its operational speed, so at one gigahertz, for example, you would just get a few seconds. So it's a game changer. It breaks it totally. So now what we need to do, given the quantum people would be very optimistic. They'd say, yeah, we're going to build it soon. We've been trying. We're going to build it soon. So we're going to build it soon. So we don't, I don't necessarily believe that we're going to have a fully functional computer in 12 years. But as security specialists, we have to be careful and assume the worst case and be ready to have something else. And we do need something else. We need alternatives, so-called quantum safe algorithms or post-quantum cryptographic algorithms, which are quantum algorithms that are secure against a quantum computer. It doesn't mean that they run on a quantum computer. They're secure. That doesn't mean that at all. And it's not quantum cryptography, which is another field, or quantum key distribution, which is using quantum mechanics to exchange a key. So these are all separate subjects. This is normal classical cryptography for which we don't know any classical or quantum algorithms to break them. And that is the big field of post-quantum cryptography, which is getting more and more attention. But, first of all, we want to make it first question we can get now is why would we care about this now? We'll think about it in 10 years. We have time. We're busy. We have all sorts of things to do. We have block chains to implement and all sorts of things. Well, the main, one of the main reason, the big reason is that the secrets you have today are at risk. Not to be decrypted now, but they can be captured now, recorded now and decrypted later. All major countries have the capabilities now to just save the Internet traffic and decrypt it later at their leisure when they have a quantum computer. So that's very significant. Another more practical, but no less important item is that it takes a long time to update standards and software. So we need to understand today, so if we are to replace these algorithms, what does it mean to plug them in TLS and SSH and to update all our software stack? We know Microsoft has a lot of software that's been replaced. We have a lot of experience, you know, from the flame malware and all the attacking very old hash functions like MD5, you know, these MD5 collisions. We know it's been outdated, it's been replaced, but there's some very old software that's still running it in some weird configuration. It takes a long time to get rid of it. So we need to make sure that by the time the quantum computer is here, all the insecure algorithms are gone. And lastly, one of the things that's very important or to consider is the ability to use hybrid modes. So to be able to use classical cryptography with post quantum cryptography in a safety net to have best of both worlds of the two protections. And that's going to be an interesting scenario for a while. I'll describe that later. So most of the industry now is focused on the NIST competition. NIST is the National Institute of Standards and Technologies in the U.S. It is basically the de facto, they define the de facto standards for the cryptography used around the planet. Whatever NIST does typically is followed around the world. They basically made a call to replace the cryptography that we have today with post quantum versions. So they have this competition. It started in November of this last year. They're and they're basically looking for new signature and encryption mechanisms with five security levels and they got 64 submissions in their competition. Nineteen signature schemes and the rest are encryption or key encapsulation mechanisms. So you can see all the details on that, at that link, all the submissions. And some of the work I'll be presenting later is integrating some of these in higher level applications. And they think that they're going to have like standards by 2022, 2024, so to let, to give us time to integrate so that we're ready by this 2030 deadline. So what do these post-quantum algorithms look like? We know we cannot base them on factoring and we cannot base them on discrete log because they're broken by sure. So there are many more families of mathematical problems that we can use to build new type of crypto systems. The first one, the most popular one, is the lattice based systems. They're based on mathematical lattices, and this one of them has been around for a long time and true, it's been around from the mid 90s, always been competing with RSA but there was no ever reason to move away from RSA, so never got much traction in that way. true, it's been around since the mid 90s always been competing with RSA, but there was no ever reason to, to, to move away from RSA. So never got much tracking, so I'll just but now it's kind of, some people have been looking at it. And also being more newer versions, updated problems with provable security. For example, they're learning with error problem and it's ring version, the ring, RLWE. And I'll be presenting one scheme that's been designed by Peckert and some of my colleagues have been designing this scheme BCNS to plug it into TLS. It's been improved, optimized by another team and became New Hope. And then there's some other subsequent scheme like Frodo that comes back without the ring. I'll talk about it in a few seconds. Another family is the code-based systems. They're based on error-correcting codes. They've been around forever. And they've also been proposed as a public system at the same time as RSA. So they've been around for a long time. But they have some disadvantages. They're huge keys. So they were never considered as an alternative to RSA until now. And there's been a lot of code-based systems proposed, 19 of them out of the 64. Another one is multivariate systems. So they're based on essentially multivariable polynomials and you have to solve the problem. And then there's a lot of code-based systems that are based on all the equations. Also developed in the 90s and now nine submissions based on this family. The other one is hash-based systems. So these ones are also very old. A lot of these, the ideas are date back from a long time because cryptography researchers have been busy in proposing things. But in practice, we're very conservative. We pick the standard and we're not allowed to be creative and take new ideas in very often. Until we're forced to. So this one, signatures based on import signatures and Merkle, the co-inventor of public key cryptography, designed this Merkle signature scheme which is a tree of hash digest. And there's been newer proposal, LMS and XMSS. Extended Merkle signature scheme, I think that means. And these are the things that are probably considered for earlier adoption than what the NIST competition. Because they're very well understood. We know the impact of quantum computer on hash functions. And we know that Grover is optimal. So we know it's like the worst case scenario. We can go with that and we'll be safe. And there's some pros and cons with the hash tree versions. But at least we know that they'll be secure. And finally, there's the other category. There's seven of them. This one that we've been working on based on isogenies. There's been a talk last year in the village about it on SIDH. And another one from my colleague is based on symmetric ciphers and zero knowledge proofs called Picnic, a signature scheme. So there's a wide thing. So NIST and the Crypto Academia will be very busy to analyze all that. You know, you need a specialized PhD in each field to be able to understand one scheme, you know. So it takes a lot of, it's hard to find the right line, somebody with the knowledge to look at all of that. So it's, the whole industry is looking at that in detail. I don't want to go into details about these slides because they're very small. But these are slides from NIST after the competition deadline. It just showed some results of performance that they ran. You see a key size. So you see the different families. So lattices typically perform very well. And some others like the, you know, like the code base, for example, like very large keys, public keys. And so it might be more difficult to integrate. Same thing with signatures. I'll let you inspect the slides at your leisure to see the details. I'm just going to fast forward through that a little bit. So my colleagues, I've been dealing more with crypto integrations and programming these things. Some of my colleagues are actual mathematicians building these schemes. And these are the four collaborations we had in the competition. As you can see, it's always multi-organization teams. A lot of collaboration across the industry and academia to make these. So Frodo is essentially like New Hope, but without the ring assumption and the learning with error. So Frodo is usually the one to remove the ring, get it. And so it's, team felt it was more secure. The ring learning with error might not be as secure as we know because it's very new. And the, just learning with error counterpart is safer. It's slower, but it's safer. Psyche is updated SIDH. It allows you to reuse the keys. So felt it was a better design for the submission. Picnic as I described it a little bit. And QTesla is a little bit more of a ring learning with error signature scheme. So all the code is all open source of these things. Like all the submissions and you can take a look. And experiment with them. So one thing we did is trying to plug these into real life applications. Like in TLS and OpenSSL, see how it works. So after doing that a few time independently, it gets bothersome. So along with a colleague, Douglas Stibbele at McMaster, now he's at Waterloo. He started this project called Open Quantum Safe. And we joined and integrated our solutions and helped designing the signature API in that project. Essentially the goal is to have a framework where you can plug in all these post quantum algorithms. And then in turn you take the framework, this common API and integrate it into your applications. So that if you take that and plug it into OpenSSL and OpenSSH for free. And then you have a new scheme. Then you can just integrate it in OQS and then you get the integration into OpenSSL and OpenSSH for free. So it's very useful. It's been useful to us. It allows us to do prototyping really fast. And it's also open, right. So we're open to invitations. I don't know. A lot of people in this room, I'm sure some of them might know or have been involved with one of the 64 submissions. You might want to take submissions. If the core team didn't have time to take a new algorithm and plug it in, we're trying to do that. But you can accelerate that by submitting a pull request with your own algorithms and integrate it into OQS. If you want to see how it performs in TLS for example. There are two branches. One is the master branch. Which allow us to have a tighter integration and reusing a random number generator and all the constructs of OQS common code. And it's meant for integration into applications and with the goal to ship it. And there's a NIST branch which has a more lightweight approach. It's just to take the NIST submissions and easily integrate them without touching their code base too much and just to be able to compare them. So, okay. You get the link there. So feel free to come use that project or contribute to it. We're welcoming feedback and new contributions. Okay. So now I'll be talking a bit about the integrations that we've been doing. So the first one we did was in TLS 1.2. We've integrated into OpenSSL 1.0.1.0.2. OpenSSL has two layers. There's the bottom crypto layer and there's the top SSL layer. So for the to do key exchange we only had to touch the SSL layer. Because when there's the post quantum crypto we just branch off to OQS rather than using the low level crypto API. But you can see here the why we integrated the signature API in the PKI, we added to touch the PKI ASN1 infrastructure which is in the crypto layer. So that was a bit more work, actually a lot more work, but the result is that you're able to issue post quantum certificates and use them in TLS to do authentication. So for key exchange we have two modes. We define new cipher suites and we also defined hybrid cipher suites in which you essentially do a classical key exchange and a post quantum key exchange and then you take the results of both and concatenate them and that's what you feed into the as the master, premaster secret that gets fed into the key derivation function of TLS. And that gives you double the protection. So we might be worried that you're doubling the time or the efficient, the work so it might have a bad effect on the consequences on performance, but we'll see that's not that bad on the next slide. And we also, as I said, did the post quantum certificates and there were some problems there. Some of these schemes, for example, Picnic has a very large signatures. So the signature size in TLS is two to the sixteenth. So everything passed the level one of Picnic. There's level one, three and five. So everything, three and five didn't fit in TLS. So that's why it's useful to do these experiments right now. We can see and give feedback to the designers that, okay, it's a, this thing's too big, it won't fit. So the crypto designers might want to tweak their things, remove a few bits here and there so it fits into a known algorithms that are targeting. So that's why we're able to, in fact, this work was done before the submission, didn't fit, changed a few things and what was submitted to NIST made sure that it would fit into TLS. And also tested in Apache, 2.4. So that's why we're able to, in fact, this work was done before the submission, 4.25 at that time and worked well. So we could deploy that and so can you. You can test it. Just download our fork and you'll be able to test that. If you don't have time to take notes in there, it's all in the open QuantumSafe project. Everything is listed there with all the projects and forks. So don't worry about that. So this is an interesting diagram that shows our experiments running these algorithms in TLS. So these are pre-NIST submissions. So, you can see that all the algorithms have either been optimized or changed to be more secure. So take the performance as a grain of salt here. With a grain of salt, but the, what's interesting is to see the trend. So ECDHE, the orange line here is the baseline. That's basically what's being used, favored today by web servers. We see that some of the post-quantum ones, like New Hope, is lattice ring learning with error, quite efficient, even more efficient than ECDHE. And we can see, I think, more common too, is the creative load on the top left. And the Frodo one is the same one, without the ring. So just a learning with error option. So slower. But, not as bad. These are connections per second. So here it's 900 up to 1600 and ECDHE like 1200 or so. So it's not bad. Like things are going to have to give at some point. we can't have the same efficiency as we have today in the world where the quantum computer exists. But things are not catastrophic. We've seen some, you look at the specs of some of these crypto algorithms, the terrible key sizes and running time, but when you plug them in real life, like with the good settings, you see that it's not that bad. And the other interesting thing is that here we retrieve multiple payloads, like web pages of different sizes, one byte, 1K, 10K and 100K. So normal websites today, they're quite big. So the cost of the crypto gets amortized, like the more the bigger the website, the page, then the cost to do the TLS negotiation gets amortized with the download time of the page. So the more we get to normal sized pages, they all kind of merge together and the cost of the post quantum there is not very apparent. Bottom line, this stuff is quite practical and can be considered to be used today in hybrid mode. And the other thing I haven't mentioned is the hybrid modes. You have here ECDHE and you have here New Hope plus ECDHE, you run both in parallel. So very close to ECDHE, so the cost of New Hope. And the same thing with Frodo and Frodo plus ECDHE here. So you, so running the hybrid, which is the recommended way to go for a while, because you want the security of the classical system today with the protection against future quantum computer you want it now. And it doesn't cost you too much to have it. So it's a similar diagram with signatures. Also don't care about the numbers too much, but the clustering. We see that comparing here Picnic and RSA for the signature, just because that was the only algorithm available in OQS when we did that. That's pre-submission. And, um, I'm not sure if you can see it, but I'm not sure if you can see it. Yeah, so Picnic's more expensive, has a very big certificate, but at the end of the day, when you plug it in the real world, TLS, it's really not that bad. Okay, now most interesting, more recent work, the TLS 1.3 integration. So TLS 1.3 was officially released yesterday. And we already got it working in OQS, did that overnight. It's, you know, we've been doing a lot of work on the draft specs and the draft code, and this is the integration we did in OpenSSL 1.1 and beta 4. Um, so it's really nice to work with TLS 1.3. I'm just going to put all the information right there. Because it's a way nicer protocol, state machine is cleaner, so it's easier to, to deal with integration points. In particular, the key shares, that's where you put all the crypto information that you exchange. And it already supports hybrid with, with the, with the, with the pre-shared key, PS key and, and ECDHE. So there's already these mechanisms to negotiate multiple keys, which is nice that we can use. Um, the base spec, consider everything curves, because they only use elliptic curves. So we have to cheat and call ourselves curves, that's what we do to define new algorithms. But I figure that's going to be fixed at some point and somebody will write extensions, probably want to retrograde, retrofit RSA in there. I'm sure some people will do that. So, somebody will define, will agree at some point on the, on the, on the, on the post-quantum, uh, official ways to integrate. So right now, just to test and prototype, we just call ourselves curves. And, uh, we tested that in the NGX, uh, web server, just because Apache didn't support TLS 1.3 on the master branch when I tried that. But this web server did. Also, you can use curl to, to do your tests. And everything works. And the details are also on this, uh, open quantum safe wiki page. Alright. I wanted to, uh, how am I doing on time? Let's see. Oh, good. Um, I guess I'll finish the presentation first and now I'll get to the demo afterwards. So, a little bit about hybrid scenarios. Um, I've been talking about the key exchange hybrid and there are multiple ways to go about it. So the first one, the one that we have implemented is called the naive implementation. You essentially just do the classical key exchange and the post quantum one independently and then you just mix the results, you concatenate the results, feed that into the key derivation scheme. You just need to give a new name to this algorithm as a combo scheme, so you define a new, like a new identifier for that and then you can call it in your library. There are more advanced proposals out there, one by White and one by Stabila. They have different pros and cons, one that supports multiple key shares, you could mix classical and a lattice scheme and a code base scheme and like a multivariate scheme all in there to edge your bet. That's the roulette here, to edge your bet you don't have to pick a number, you can pick a color or a series of numbers, so to be safer. The other one is more advanced, it's called the more of a dual, just two schemes. And I did not implement that in this integration just because OpenSL was not ready, it didn't even support multiple key shares at the time, which is needed by the base spec, so when they do and we can take that code and upgrade it and do more advanced hybrid schemes. For PKI it's, we haven't done that yet, but it's a bit future work. It's also not as urgent. Because for key exchange, as I said, you can record the traffic now and decrypt it later, so the attack is valid today. For breaking the authentication, it's an active attack, so you need somebody to be able to break your signature or forge your certificate during the lifetime of the certificate. So let's say the certificate is valid for a year, so if we have quantum computer in ten years, in nine years we'll care about that. But we're starting to think about it, so in a year or two we'll probably have a solution to it. And the question is how do you convey two signatures in the TLS exchange, so do you have two certificates, do you have a certificate with two public keys, one in an extension, do you use the TLS extension mechanisms to provide a second public key, multiple ways to go around it, about it, and this paper is a good overview of all the problems that needs to be solved in that case. But as I said it's not as urgent for hybrid deployments today. But there are performance measures with TLS 1.3 that was run just on this machine, on local host between the client and server, just to get ballpark figures, so nothing's optimized, but just to get the ballpark. And that's with the schemes that were in OQS, some of the schemes. So we see again that the lattice, the ring version of the lattice performed very well, very comparable to ECDHE, which is the orange baseline. And when you remove the ring assumptions you get something like Frodo and it's not as efficient, but more trusty, more trustiness in it. And something like Entru, something like Psyc, which is really nice because it's very comparable to elliptic curves, the closest thing we have to elliptic curves, it can be a drop in replacements and a lot of protocols that assume elliptical curves. So we're still not sure about that. So we're going to have to wait and see. So we're unfortunately they don't perform as well. And for signatures we get the expected Q-Tkl1 lattice scheme, performs very well, as well as ECDSA with P256 and Picnic, it's simpler assumptions in a way, hash functions and performs just a bit slower than RSA. You can see that this is just a lot of work in TLS because it's an important protocol. We also did other integrations. One is SSH. SSH has another protocol. I mean it's similar to TLS in spirit. So you can go in and replace the crypto parts with the post quantum ones and it's another exercise that we did. And the latest software that we have is a fork of open SSH 7.7 uses the key exchange algorithms in OQS. So the more we have and refresh that fork then the more algorithms we'll have in there. And it supports post quantum and hybrid modes for the key exchange only. No signatures yet. So I don't want to spend too much time on that because it's a little bit similar ideas. But you can check it out in our fork if you want to try it. So another interesting integration point that we have is open VPN. So this is a fork. So unlike other VPN solutions, open VPN uses TLS for its security. So which is nice. And it uses open SSL so we can use open SSL fork to protect the VPN exchange. And so we have a fork of open VPN that allows you to test the key exchange algorithms and use either RSA or Picnic certificate. So what's nice about that is that for a long time, we've been using open VPN for a long time. So it's available in the future. There's going to be applications that will never be updated, or it's going to take a long time to be updated. So there's gonna be a long tail set of applications that will not be quantum safe for a long time. So what you can do is just have your classical software running and just wrap it in a VPN post quantum VPN tunnel. channel. So then you don't have to touch the applications and you can just secure the channel and you get great protection against quantum computers in a centralized manner. So we tested that, for example, we built a client, a Raspberry Pi and Windows clients communicating with Azure VM, Linux VM and to do that also have your, did a little experiment. You have your mobile phones connect to an access point and then that thing calls your web services or post quantum VPN. So don't have to change the phone, don't have to change your applications. It's very cheap and easy way to achieve that. And that project is available also on our get up page. And you're welcome to try it. Another integration that we did was in hardware to see if we could actually write these post quantum libraries. So I'm going to show you how to do that. So we have a lot of different applications in secure hardware. So we partnered with UltimaCo, tried it on one of their HSM and essentially we just using their reference implementation of Picnic and compiled it for the HSM. A little bit of engineering there and then got it to work. Able to issue Picnic root certificates on the device and be able to issue end users RSA certificates and everything worked. So we have a lot of different applications. So we've got a lot of training works as expected and the details of that there can be found in the Picnic NIST submission. So if you're interested. So all this goes through to say that we've, post quantum cryptography is just cryptWorld algorithms. It's nothing fancy about it, it's just things that we've not studied for 20 years so they're new. But other than that it's just regular algorithms that can be integrated across all software stack and hardware. So at this point it's a matter of us in community of RSA. So using Joula and coming up with an interesting solution. So hopefully that's a big one. and if any of you have software that relies on cryptography, you can take these things and starting with the open quantum safe project and try to integrate it and see what breaks. So we want to see what breaks and know you as owner of crypto software, you want to see if you put these new algorithms what's going to break so you can be agile and be able to change it when it's ready. Not today, but in ten years when you'll have to change then you'll want to be ready and it's a good thing to try now and you can give feedback to these crypto designers. This competition is quite new, it's recent so these algorithms will be able to update themselves before the final. So if we find out that just by changing these properties, reduce the bit size by one or two, it's going to fit this application, it's good feedback for the designers of these algorithms. And hybrid solutions, important to know. So if you're thinking about using quantum computers, you have one thing to consider. And because it's cheap way as we've seen with TLS, it's not a big impact. But it could have a great protection for future proofing your data against quantum computers. And also centralized solutions like having a post quantum VPN allows you to get a blanket protection without modifying your legacy applications or touching all your applications today. So that's that. I'm going to switch to the TLS demo. I'm going to run it on local host because, you know, DEF CON. So I will not communicate with a real web server. But everything is real code running here. I apologize, it's very small. So let's see. I'm going to try to type and hold the mic at the same time. So what the first thing I'm going to do, this is in our open SSL demo. So I'm going to do a little bit of a fork. The first thing I'm going to do is generate a certificate. You can't really read, but it's the standard open SSL tune, the request tool to generate a certificate. The only thing that's different is I'm requesting a Q-Tesla key. All the rest is standard open SSL. So there it goes. It's very fast, as expected. Let me just print out the certificate. Okay. It looks like an RSA size key. Some postcode algorithms will just scroll a few screens until it ends. But Q-Tesla is a very compact scheme and very efficient being a lattice one. The key also works pretty well. So now I'm going to just start a server. So it's the S server tool specifying the certificate. Q-Tesla one. That's SRT and Q-Tesla key. And asking for TLS 1.3. Okay. So I'm going to do a little bit of a search. All right. There we go. And now on the other console, I'm just going to have the client. It's going to ask for Frodo. So it's going to be a Frodo key exchange with the authentication that's going to be provided with Q-Tesla. So it's a fully post quantum key exchange and authentication transaction. And it's going to talk to the port here. So there you go. It goes to the exchange. Got the certificate. All right. So now I'm going to go to the server. You're going to have to believe me what's written here because it's not very clear. But signature Q-Tesla one and the server. Oh, I actually asked for the hybrid. P256 here. So that's the hybrid scheme. So I did ECDHE with P256 curve and using Frodo. And we get TLS 1.3 connection. So now let's try to deploy that to the server. So I'm going to go to the server. So I'm going to copy these certificates. I said copy Q-Tesla dot star into my NGINX configuration directory. It's asking for my password. First try. Very nice. So let me just see if I can do this. Okay. Okay. Okay. Okay. Okay. Okay. Okay. Okay. Okay. Okay. Okay. So I'm going to just look at the NGINX configuration. And we can see here I'm specifying the Q-Tesla certificate as the SSL certificate. And then the last line SSL protocol CLS 1.3. So I'm just going to start it. all right. The web server now is running and I'm just going to repeat my client call. Same thing so establish the communication and then we can make sure that the HTTPS connection works. I'm just going to get the default web page, get slash and I get the HTML welcome page back. All this calling from a TLS 1.3, post quantum client to TLS 1.3, post quantum server. Everything works well and you can deploy that and have fun today in hybrid mode. And get protection against the quantum computers that might be built in ten years or might actually been built in some very dark room. And very powerful organizations. So that completes the talk. I'll be happy to answer questions if you have any.