TezTalks Radio - Tezos Ecosystem Podcast
TezTalks Radio - Tezos Ecosystem Podcast
130: Inside the Engineering of Post-Quantum Tezos with Zaynah Dargaye
Use Left/Right to seek, Home/End to jump to start or end. Hold shift to jump forward or backward.
How do you prepare an entire blockchain for a technological breakthrough that hasn't happened yet?
This week on TezTalks Live, we're joined by Zaynah Dargaye, Core Layer 1 Engineering Manager at Nomadic Labs, to explore the work happening behind the scenes to prepare Tezos for a post-quantum future.
Since Quantumnet launched in September, engineers and bakers have been testing new cryptographic systems, exploring unexpected challenges, and working through the practical realities of quantum resistance.
🎙️ Our guest this week takes us inside that engineering process, from mathematically proving the correctness of software to exploring how experimental cryptography could eventually become part of the blockchain we use today.
In this episode, we explore:
- Zaynah's background in formal verification and her journey into Tezos
- What engineers are learning from Quantumnet
- The challenges of quantum-resistant consensus and key rotation
- How bakers and community members are contributing to the research
- Rethinking how baking rights are assigned
- The engineering work behind securing an entire blockchain
- The potential roadmap from Quantumnet to Tezos mainnet
What does it take to turn years of cryptographic research into technology that people can actually depend on?
Join us for a closer look at the work underway.
Quantum Net And The Big Goal
SPEAKER_00Today we're talking about Quantum Net, the experimental network where Tezos engineers are testing quantum resistant technology. We're gonna find out what the team has learned since its launch in September and how that work could eventually make its way onto the Tezos mainnet. Joining me is Zaina Darge, Core Layer One Engineering Manager at Nomadic Labs. Zaina, welcome to Tez Talks.
Zaina’s Road To High Assurance
SPEAKER_01Hi.
SPEAKER_00I was reading about your work on CompCert, a project to prove mathematically that a computer translates code correctly. How did you get interested in that kind of work?
SPEAKER_01Actually, meeting some um teachers at school in university, I fell in love with uh logics, in particular with the idea that uh having software doing what you think they are doing is very important, and that you can do it through a computer with uh evidence that is deterministic and serve as a certificate on all machines instead of simple paper proof. That's the way.
SPEAKER_00Okay, and and what part of uh what part of all that were you working on?
SPEAKER_01Oh uh for concept it was my internship, master internship actually, and I participate in the proof for C instructions and uh expressions um correctness, meaning uh on a certain compilation path proving that they preserve semantics from the high-level language to uh the first the first um backend language.
SPEAKER_00Okay.
SPEAKER_01But easy, I mean, uh I have this opportunity and great change to work with uh extraordinary people. So yeah.
SPEAKER_00Well, speaking of which, how how did you eventually find your way to nomadic labs?
SPEAKER_01So from that, uh, I did a PhD in the same team with uh Xavier Leroy and Sandrine Blasi uh on uh the subset compiling certification, uh certifying a compiler for uh purely for purely functional languages, sorry, which is uh let's let's avoid the detail here.
SPEAKER_00I did my
SPEAKER_01PhD over there, and then at some point um I wanted to continue in this uh adventure of having software with high assurance and proven. Um correct. I worked uh um in the pharmacy team, which is an extraordinary tools to do formal verification on C programming language program, uh obviously in high critical software. This was at uh the CEA, Commissariat Energy Atomic. Uh great adventure over there. At some point, uh many years after that, uh a colleague, uh Saratucci, uh wanted to uh build um a labor laboratory to work on blockchains, which was new, it was around uh 2016. And I fell in love with blockchain, etc. And naturally, with my background, Tezos was the most adapted. I know the people, I know the technology credit ideas. So yeah, that's some of the story.
SPEAKER_00You're managing core layer one engineering teams. What is your work now?
SPEAKER_01It's not anymore core layer one, it's managing a wall team that works about uh the wall taser stack, you know, from layer one to the application level layer, and uh everything that's enabled to users to use Tesla with with all my colleagues. I mean, we are several uh managers.
SPEAKER_00Of course, uh
SPEAKER_01senior manager.
SPEAKER_00From a management perspective, I do you still get opportunities to do the technical work you were doing earlier in your career?
SPEAKER_01On design, for sure. And uh sometime uh on side project, not not really in the critical path.
SPEAKER_00Makes
Why Quantum Net Exists
SPEAKER_00sense. Now, back in September, you launched Quantum Net, an experimental network for testing quantum-resistant cryptography on Tezos. How did the idea for that network come about?
SPEAKER_01I it was really a desire from Archer, to be honest, uh, that wanted us to not just doing it on paper. The idea was really to showcase and to experiment uh in the open. That was the the core idea. So it's not as secure as when we propose a feature in a proposal, in a in a protocol proposal for sure. But it's great to see things, uh, you know, from your papers, uh your design to to um the park, to to have it running and invite people to work with it. It's quite nice. Uh the counterpart that is we uh hide a lot of challenges for now, and it will come later. And uh yeah, maybe works is more long now to have uh iteration on it.
SPEAKER_00Now you mentioned that uh the things you're working on here obviously aren't being uh as vetted as deeply say a proposal. What what are you hoping to learn by testing the different parts of Tezos together on Quantum Net?
SPEAKER_01Is it to have the happy pass? Right now, what we know is that we have the happy pass. Uh, we don't really we have an idea about uh performance and about uh hardware requirement, but just an idea we need to benchmark for true. Uh and that is that important. And our goal is really to continue adding feature here. And actually, you were talking about learning, an important learning we have uh with because we're still monitoring the ecosystem and all topics that might somehow be a threat for for Tezus.
Crypto Agility And AI Risk
SPEAKER_01It's true that nowadays there is a new threat outside. There is um the this advance of AI. You have heard everywhere that yeah, we need to be crypto agile. Why? Because today AI are strong enough to tackle difficult mathematical problem, it's all over uh X, etc. And in the whole um blockchain industry, we will say, uh, there is this idea that we are sensitive about that, and we need to calmly but surely prepare in case of some of our keys, which is key uh on blockchain, uh become too fragile. So, yeah, that's a new priority right now. Uh, what does it mean for the Compton Net? It means we are changing a little bit our priorities. Um, it's not anymore going too slow, is to have in the next proposal a solution um that fit this crypto agility.
SPEAKER_00Now, since the launch, what's been keeping you and the team busy?
SPEAKER_01That's uh what I just told you. Uh starting preparing that
SPEAKER_00specifically though, so yeah, yeah, yeah, okay. Like oh
SPEAKER_01yes, you went
SPEAKER_00around it and I want to know what's going on a little deeper.
SPEAKER_01Yeah, so uh yeah, the why we need crypto agility, okay? It's a terms, the thematic here is about uh some keys are fragile now, uh in particular the ones that are mathematic that have mathematical structure, so curves, etc. And in case at some point AI is enough in advance to break them, we need to give the possibility to all our users to be safe.
Key Rings And Safer Signatures
SPEAKER_01So for that, right now, the difficulty we have is your account is just a key. So what we are preparing is having somehow a key ring instead of a key where you can put both your postcantum key. So this uh this is a mechanism we wanted to transfer the TZ5 stuff, and a way to have a safe key, so could be just providing a hash or a Z key proof or whatever. For now, we don't have the final design, so I will not commit on the form here, but that's a goal, and as you know, uh for us to be ready means that this needs to be um safe enough to be in a proposal, communicate enough with our community so they understand what they have to do, and having uh the stack ready. Uh, also the change will also touch uh Tesla X, so eternal Inc and uh the Mikerson part. So, yeah, it's huge. It it took us time, busy right now.
SPEAKER_00So I I remember Jan had mentioned that uh you guys were thinking kind of outside the box on this one, uh potentially using maybe a limited use type uh consensus key or you know, some sort of pre pre-defining the algorithm, like pre-compute pre-computing, I guess is the word.
SPEAKER_01Yes, we there is a lot. Uh, I don't want to come at Willie. What is true is we need to think, I mean, let's stay calm, everyone, uh, but prepare it well. So we need a plan for before having the features, when having the features, but it is under volt or whatever, and for after once it is here. So that the focus, and there are several technologies that we can put in place at different stages. Um, so we we have our users, we have the Tesla chance cycle.
SPEAKER_00I like your willingness to sort of think outside the box to sort of consider things that maybe we really hadn't ever thought were possible before. Would are there any other things kind of along those lines that you guys are thinking about?
SPEAKER_01Um not really. It's really about uh at some point we we thought about making a choice for a crypt uh cryptographic schemes, and then sometimes we thought that we should postpend the choice and be abstract, provided agility as much as possible. Um, just isn't an interesting question. So, yes, brainstorm and rounding around this idea.
SPEAKER_00Now, just let's let's hop down that hypothetical what if, just for a second. No, no promises. You know, if a baker was say using a limited use type key, what would that look like for them in in actual process? Like, what would that actually look like?
SPEAKER_01So the capacity to register a safe key, so one which will be as as our understanding and the knowledge uh we have today, uh when I say knowledge, I mean uh in the ecosystem in the industry, hash-based uh scheme seems safer. Then uh propose one that does not compromise too much performances. Uh, maybe request for higher hardware requirements, as you may know. We think about Mac M4. Of course, we still need to benchmark to see if it is sufficient, etc. But yeah, that's the kind of thing. So they will have a way to register that we will share with them, and um, depending on when the problem raised, uh, this way of register could be from a smart contract to uh something more in the protocol, more smoother for them and and for us, to be honest, once it is in on on the protocol, that the magic of blockchain, right? Is allowing people to coordinate. There will be several definitions of uh processes to make to put in place.
SPEAKER_00Now, just hypothetically, what happens if a baker ends up using all their signatures? Does is there it would just be a process that restarts at that point?
SPEAKER_01Can you repeat it?
SPEAKER_00So you say they would generate a safe key, and then this this key obviously it they it they would have to regenerate a new one once its uh its uses were up.
SPEAKER_01Uh we we hope to do it in advance.
SPEAKER_00Okay.
SPEAKER_01So you you you you prepare yourself. That's the idea of key rings. So when you have the future easier, but it's I'm not
SPEAKER_00as smart as you. No,
SPEAKER_01no, no, it's just that I'm I'm more in it than you, so maybe to to there are implicit words in my it's cool that you you ask. Um and for for before that the future is uh is here. Um we need another way to do that.
SPEAKER_00Absolutely, but
SPEAKER_01it it requires some um preparation, communication, do it safely and properly.
SPEAKER_00Now let's kind of move okay. I'm I'm really hyper-fixating. We'll we'll move off that. Well, it'll take you off the hotspot there. Um with Quantum Net. Uh it has there have you guys gotten a report from somebody testing that's been like particularly useful or telling?
SPEAKER_01Every every feedback was useful. Um you have the team, so and mostly uh Jeanne and Marina that take time to answer um take this seriously. Um yeah, that I think it's important uh to have feedback and to grow sometimes. We are a little bit frustrating because we know the solution, we wanted to do it, and we have other plan before that. So yeah.
SPEAKER_00Is there anything that maybe stood out to you, or is it just all been like no aha moment or like major breakthroughs, just kind of
SPEAKER_01not not yet, in my opinion. Um, but probably a good thing. Yeah, more about understanding, common understanding, uh, and also what they care about. Did that give um let's like create the communication path here?
SPEAKER_00Yeah, I I get that. I promise I get that. Now let's see here. Where oh gotcha,
What Could Reach A Proposal
SPEAKER_00okay. When when Jan was here last month, he mentioned that the two of you have been working out which pieces of quantum net might be ready for an upcoming protocol. Where are you guys with that right now?
SPEAKER_01So uh has you know on Comptonet there was uh a way to avoid using uh VDF uh nouns, which was based on randomness. So this feature should be in the v proposal. It might require to activate uh all backup attests, so quorum for all backup which uh who are active, um, and stateful address, uh at least the key rings uh we talk about to enable migrating to uh tz5, which is um the address for um for user transaction, yes, user transfer, sorry. And in addition, uh in addition, there will be uh I hope uh the way to to have additional to to have safe keys.
SPEAKER_00That's kind of cool. Quantum nets are already affecting mainnet. That's that's fantastic. That's
SPEAKER_01yeah.
How Testers Can Help Next
SPEAKER_00That's fantastic. Now, if somebody wanted to help test QuantumNet right now, what would be useful for them to try?
SPEAKER_01So I think that's giving uh and giving feedback on UX right now is cool. We hope to have some iteration uh on it to enable, for example, I don't know when to be honest, because as I said, priority change. But we we want there is two kinds of work on content. Uh works concerning the testnet itself. Uh, we want it to, for the moment, if we want to deploy a feature, we need to stop and relaunch. So we want a mechanism like we have on Shen. Uh I mean self changes, uh, without requiring uh two users to come back and redeploy on it, reinstall on it, sorry. And uh and also we want it to be uh more efficient in terms of infrastructure itself. The other things is to me, our features for for vot proposal will be uh on quantum net once they are uh enough of a proof of concept of them so that people can try give feedback again. That is everything is about the feedback, it's about how easy it is to use, um what can be improved. Really simple stuff. Uh, they are also um as um as the team has uh mentioned in their answer, some managing the rotation, some automatizations to help um users on on the quantum net itself. And I know also that uh that there is some changes like having the P2P quantum resistance on quantum net at least for the moment, and having let me think about it, uh having a more up-to-the-date library uh crypto library version. That that will be I I'm not sure it will be one iteration only or in two iterations, but that that's the idea.
SPEAKER_00Well,
Wrap Up And Thanks
SPEAKER_00Zaina, I appreciate you so much for taking the time out today. You you've been amazing. It's it I know this is stuff to talk about, and it it you are deep in it, and it's uh for me to be able to pull you out of it just for a second to give us a little taste, it's amazing. Thank you.
SPEAKER_01I hope it was clear enough.
SPEAKER_00It was wonderful. I
SPEAKER_01thank
SPEAKER_00you so much, and thank you also to everyone watching, and we'll see you next time.