Getting Ethereum Signer running on open-source operating system and chip
Devcon·Fri, Nov 6, 2026, 12:00 AM
Speaker
Transcript
[music] [music]
So, hi everybody. While we are setting up the slides and I am setting up the mic. Yes. I can tell you that this workshop on there is going to be a lot of talking because I am introducing you to a new kind of board, a new kind of chip, fully open source. I mean, from the RTL of the chip, the operating system, the applications that you are going to load on it.
So, there will be a lot of talking before you move to actually doing something on your laptop. So, if you were there to try to do something with your fingers, there will be a lot of listening instead. So, just to just to warn you. The workshop is going to be much more fun with a board so that you can actually try things on. If you don't have one, you can ask Miriam who is going to come just so that you can see her.
And you can ask her for a board. You will need to have a USB-C cable and then you will be able to do a couple things with it during the workshop. So, I will stop a bit when you have something to do, but yeah.
[snorts]
And you need a USB-C cable. You will need to download a couple things. It might be a little bit large. So, if you are um depending how the Wi-Fi works, you might only be able to run a few things, but I think it's still going to be entertaining and if you have a board later you will be able to do a lot of things with it. If you are watching live by any chance, so you don't have a board and I can't give one to you, teleport one to you.
You can go to the Crossbar booth level three after this talk. Get one and that's it. So, I'm just waiting for the slides. Yeah.
Presented from your laptop.
Oh, okay. So, yeah, please uh bear with me for a couple minutes. Yeah, so there are actually slides. Uh so, this is going to get a bit better. Uh how do I move forward?
I can Oh, okay. Now, the short story of my laptop, just while you are waiting, uh is that it's very secure, so it needs to be connected to power to uh recover from sleep for some reason. Uh so, yeah. It's absolutely involuntary, but yes. Uh I don't see a clicker.
Oh, no. Oh, sorry. No, this is the clicker, then. Yes. And Yeah, it doesn't seem to click.
Oh, it does click. Yes. No. Uh No, it seems to move by itself. Oh, can I I am supposed to point it somewhere, maybe?
Like here? Here? Oh, that. That? Okay.
Uh There. There. I don't know. I'm trying stuff. Uh Maybe if you can move back to the first slide, then I mean, I can tell you when to move to the next slide.
Okay. Cool. Thank you. Uh so, sorry for the setup, but yeah, well, now we can we can start, I think. Uh and yeah, since I have no feedback, I will just turn from time to time.
Okay. Cool. Uh Oops. Okay, that's good. So, we can move to the we can move to the second slide.
So, that's the intro. I'm going to show you this. Uh in this uh in this presentation, I'm going I have been referencing a lot of other presentations and given them to Claude. Uh so, here you have a list of all the presentations that I referenced uh that can be useful if you want, for example, to do more hardware stuff uh, with the board because [snorts] we will be focusing on the software part. Um, but if you want to go into connecting a LED or connecting a screen to the board, it's completely something you can do.
So, here is the reference of the stuff of the different material I used and there are there is a list of other references at the end of the slides. Uh, so you can move to the next one. Yes. Um, so regarding the regarding the agenda, uh, we will be talking first about what the board is, uh, then talk about the operating system that is going to run on the board. Um, then yeah, then getting started actually, how to use the board, how to do something with it, uh, what the boot flow looks like.
Uh, so because it's an operating system which is secure, uh, so you have a secure boot flow on it. Uh, how to audit the chip before doing anything. Um, this is very important because as I said, the chip is fully verifiable, but when you start loading software on it, it will trigger a flag and if you do that, um, what you see uh, from the audit is not reliable anymore. So, even if you got the board and you are very impatient and you want to try something, at least wait till the audit part or otherwise the audit will be more or less meaningless. And finally, I will tell you how to load the application which is a sample signer.
Um, I have made an interim signer which is a Rust crate open source that can be used with a lot of different applications and this is one uh, of the example of a burner wallet running on this board. Oh, can move to the next one. And again to the next one. Um, so what is this chip? Um, because yeah, I've been talking about this chip which looks very mysterious, but to give you more information, uh, it is something that has been developed by Bunny uh, that you might know as well quite famous hardware hacker.
Uh, it's a Vex Swiss 5 core, so it's a fork of Vex Swiss 5, so an open source RISC-V CPU which is running at which is running at a nice speed. So, oops.
[snorts]
Yeah, so it's running at 350 MHz. And it is assisted by a couple other cores that you can use to interact with the with hardware a little bit faster. So, today we will focus on the Vexrisc 5 core since we won't be interacting with other hardware components. Um the board has 4 MB of free RAM. We RAM is a flash technology, so you can imagine that it has 4 MB of flash.
Um the OS, the boot, and everything is going to take about 3 MB. So, you have 1 MB for applications. This is something you can change. I mean, if you are if you want to recompile everything, you can have more space for your application. But if you don't change the kernel, if you don't change the default partitions, um you are going to have 1 MB for your applications.
Um then the interesting part, you have 2 MB of SRAM, which is quite big for an embedded system. Usually, you are dealing with the amounts in the 100 of kilobytes. So, with 2 MB, it's big enough to do some cool crypto stuff. Maybe not to generate proofs, at least not until Cloud managed to make them a lot smaller. But you can you can try and anyway, you got a lot of RAM, so it's fun.
Um then what else? You have crypto accelerators because it's a secure chip. You have a true random number generator using noise from the chip, which can be very useful to generate your entropy. Of course, you're still free to mix it with other sources. And you have a couple other peripherals that we won't really be talking about.
We will mostly be interacting with USB today. But let's say at some point you want to connect a screen, you could be playing with SPI. But today, we just deal with a very bare USB board. Next. Uh yeah, so I'm just going I'm going quickly over that because yeah, I think that people will be familiar with embedded programming.
I will just mention two specific terms. So, first the MMU, which is a memory mapping unit. The main concept of an MMU is that you can map physical memory to virtual memory. It's useful usually in much bigger system, but here we will see that the MMU is used to implement Rust memory management exactly as Rust is doing it. So it's a chip that is really made to handle Rust applications, which is pretty unique.
And then you have some you have one-way counters on the chip, which are
by the hardware.
So those are those are counters that can only go up, unlike crypto. So you can use that for a lot of stuff. I mean you can use you can use it as a flag, for example, to mark a difference in your application. When the board switch to developer mode, it will use a one-way counter so that it cannot go back to regular state and you know that the board could have been tampered. And [snorts] you could use that to implement a PIN.
I mean there are a lot of cool use cases with that and it's very hardware specific, so that's why I think it's important to mention those two. For the others, they are mostly for your reference. Now if we want to compare this board with other boards that are usually used I mean for do-it-yourself applications, this one is you will notice that it is basically it has a lot of memory. It is very open. It is something that it has a lot of security features that you won't find in other boards.
And yeah, what else? Um It is Rust native, so which is something that other boards don't have. And it is rather cheap for the list of for the list of features. Um Yes. So next slide.
Um It looks like this. So if you have the board in your hand, it's very easy to see that. If you don't have it, here is the picture you can get later. It's super simple, so it's basically the chip, few components to make the chip, passive components to make the chip work. Uh, you have two buttons, one button for reset, uh, one plug button that will be used uh, to launch applications or to go back to boot one depending to go back to the boot um, depending on the configuration of the board.
Can move to the next one.
[snorts]
Um, you will see uh, one of the unique feature of the chip is that the chip and the package have been designed to be inspected, which means that you can actually but you can take the actual of the chip from GitHub, you can compile it uh, and then you can come to crossbar boots here and verify that the chip that you have uh, is a is matches uh, what you can compile from the the open source definition of the chip. Um, so this is something this is that is uh, absolutely unique. Uh, I don't think there is any any other chip that can be inspected this way. Um, to give you a high-level overview of what it looks like on the next slide. Um, you are going to see big blocks of the chip.
So, it's not those are the different units you can on the chip. So, memory, uh, a CPU, accelerators, uh, other peripherals. And you'll see that it's not a perfect map, so it's still very high-level, um, but it's good enough to know that nobody has been modifying your chip because if you are modifying a component like that, you will end up with a different design because it's very difficult to map the same uh, peripheral at the at the same location. Um, so you would see a difference. And the idea is that with everything that's going on with people getting crazy with implants uh, and everything, I have not seen a chip implant yet, but why not?
And this [snorts] technology makes it much harder to do something like that. Then, um, we will be talking about the operating system called Zeus. So, Zeus has been designed by Bunny as well. Uh, and it's a very simple microkernel, which is using the MMU to be um, to to run multiple applications and to securely isolate uh, those different applications. Uh, it's written in Rust.
Applications are written in Rust. And as I said, it's very very Rust oriented. We will see why a little bit later. An overview of Rust of Zeus, sorry. So, the way it's working, you have the boot you have the secure boot, so boot zero is a boot layer that is never going to change.
It will verify boot one and start boot one. Boot one can be replaced then boot one can either start or load an application if you want to update the operating system or it will start the kernel and then the applications are basically across the kernel and they are running. So, here the operating system is a bit monolithic because Thank you. Just checking. Okay, so I will keep Oops.
[clears throat]
Let's go back to this.
[cough]
Nope. Can we go back? Yeah, thank you. Sorry, I think we'll keep doing it that way if you don't mind.
[snorts]
So, yeah. So, the camera the way you create applications today is still monolithic because there is no application loader yet. So, when you want to change an application, you are going to rebuild the full image and reflash the full image. Then you to flash an image you will just copy it to the flash memory that is exposed by boot one when you start it.
[clears throat]
Sorry. And yeah, so this is the this is the way the applications are mapped on Zeus. So, we can move to the can move to the next slide. So, Zeus is message oriented. So, the way applications are going to communicate with each other is that they are going to send messages to one another.
So, for example, if you have an application that want to send the log, it will ask the kernel to send a message to the log application and the [snorts] log application is going to send the logs over USB. So, it will send a message to the kernel to talk to the USB application and it works like that. So, you will have a lot of messages bouncing between the different applications. Can move on? So, just for people who are not used to Rust, the Rust memory model is quite unique.
It's something called mutable or shared, which means that you can have many readers on one or one writer and never both. And Sorry. What we will see here is that those will enable us to enforce the Rust memory management model directly in hardware. So, that's the combination of the chip plus the operating system that makes it extremely well suited to run Rust code. Move to the next slide.
And again, because so we can again move to the next because that's just an example. Uh yes, so again. The way it's going to work um using the MMU is that when you are sending a message to an application, you are not going to copy things. You are just going to map a different page to the MMU. So, once when you send the message, the ownership of the um of the data is going to be passed to the next application using the MMU.
So, just using the mapping and then map back. So, it's very efficient. You don't have copies and it completely maps what Rust is doing internally. Can move on? And move on again because it's the same thing explained differently.
[laughter]
You have a few types for the messages that you are going to send. I'm going to go very quickly over that because in any case, I don't think many of you will be writing code. You will be defining your ideal. You will be defining your interface, your messages. You will send it to your favorite agent and the agent will come out with something that you can use.
And actually, that's how I develop on Rust. Um because I'm a C developer, but it works very well and the code is acceptable. So, that's that's quite good news. I mean, especially now in in October. Pretty good code.
So, you can move on. Um so, the way the memory is used like any of the um a lot of embedded system memories the peripherals are the directly mapped to the memory. So, if you look at the reference of the chip, you'll see that you can just um you can just access those peripherals by accessing the memory. So, that's nothing nothing weird on that. Can move on.
The way you are going to communicate between global services and the different applications. We have seen the log services, for example. Is that you don't need to know the number of the process. You are going to ask a naming service for the service you want to access and then send the messages to the service. So, this makes it very flexible to write your applications because you just have to know which application you are going to connect and then you can send your messages.
Next one. I think there was a one before. But, yeah. Yes. And there is a version of the standard library which is available.
Since you only have 1 MB of flash, I don't think you are going to be using it, but it's for your information. If you want to build something that is a bit bigger, that doesn't have an implementation for no STD, you can use the standard library and you can and you can compile and then you can run it. Not something I would recommend to do, but just know that it exists. If at some point you want to run something very generic on on this chip. Can move on.
Uh getting started. Now we are getting to the part where you can do something with the board. Getting exciting. Um, yeah. So, just a reminder that what you you want to run an audit before doing anything else.
So, because if you start loading an application on it, it's going to trigger this flag and then the data provided by the audit is not really reliable um because you could have a different boot and the chain of trust is broken. Okay, next one. So, what are you going to need to need? Uh, you're going to need first a board, uh, a data cable. You're going to then to play with uh, have a default installation of Rust, uh, Git.
Uh, a terminal, yeah, yeah, screen as a terminal and couple of other things. So, the way you're going to connect on Linux, um, you're going to look at the device, uh, which uh, which is going to be mounted as both uh, mass storage and um, a TTY. Um, so you can use screen to connect to the TTY and then issue commands. That's it. Um, uh, okay.
Yes, can move to the next one.
[snorts]
Uh, same thing on Mac. Uh, so I don't have a Mac, so this is uh, fully generated by code but I have verified it works. So, you can actually look at um, the name of the device in dev, um, then connect to it and issue your commands. So, it's very it's very very similar. Um, but once you have this, you can start communicating with the device.
Um, when you receive the device, there is no application, so boot zero is just starting boot one and you are communicating with boot one. So, what can what else can you do with boot one uh, other than the audit? Um, I think the most uh, useful thing I can think about is that you can change uh, a parameter called boot wait, uh, which will change the way applications are run. By default, applications are not run when you power the board and you need to hit the plug button to switch to your application. If you change the value of boot wait, if you put it to if you put it to false, then the board will directly start your applications.
And if you want to reflash, you need to go back to boot one to run back boot one and in that case, you need to hold on you need to hold on plug while you are plugging the chip. So, it just just remember that if you see that your application is not starting after flashing, just hit plug and see what happens. It can be in one mode or in another mode and in case you forget, it's a nice thing to remember. So, next. Yeah.
So, now we are I am just getting a little bit more details about the boot flow, but I already gave plenty of them, so it will be quick. Next.
[cough and laughter]
So, boot zero cannot be flashed. It is in the chip then it is the memory is marked as not writable. The only role of boot zero is to verify boot one and then to erase chip some chip secrets if the chip is running in developer mode. After that, you have boot one. The role of boot one is to let you flash stuff and start the operating system if there is something to if there is the operating system also loader if you are going to update the operating system.
Can move to the next one. Oh, yeah. Yes. Yes, so yes, that's it. We can move to the next one.
Because I already go gave those details, so yeah. It's a bit more details. I mean, we can we can look at it in the presentation later, but yeah, you get you have already the general idea of how it works, so let's move on. Um Yes. So, the way things work here um is that the counters are going to be um so the counters with the one-way counters are never going to be reset.
Um so even if you switch to developer mode, the counters are going to stay to the same value. Uh the chip keys are going to be raised if you if you do something uh but anything else, I mean even the values you write in the different slots of uh we run are not going to be reset when you switch to developer mode. Um but the thing is there is only one developer mode, uh something to remember. So if you put your board into developer mode, anybody can then load an application and read the value of what you have written in memory. Um so remember that developer mode means that the chip is going to work in developer mode.
It doesn't mean that you can uh launch something commercially in developer mode. It would be a very bad idea. Um so if you need to launch something commercially on the about chip, uh it's best to contact Bunny uh to get a signing key and to do something uh correctly. Um but it's a perfect developer device. Just don't run it uh commercially.
I mean don't start selling uh the bows in uh developer mode. It's not a good idea. So the audit now, uh we'll see how we can run the audit and how we can verify that boot zero, boot one, and everything on it is actually genuine. So it's quite simple. Uh you are just going after connecting the chip after connecting boot one, uh you are going to type audit.
And audit will give you this output. So you will see an output with uh a bit of uh a bit of data that you are going to keep in a in a file so you can refer to it later and see what you can and see what you can flash. So next slide. Yeah, more descriptions of what you are going to see in boot one. Uh you can move to the next slide directly.
Uh same again. You can move to the next. Okay. So, here's the important thing when you check the audit is to look at what you must not see. So, if you see any of this, it means that your board is already in developer mode, which means that either you put it in developer mode and you forgot about it, or someone gave you a chip that is not genuine.
In that case, you can start to panic, but otherwise, yeah, there are the the audit is the audit is letting you verify basically what is the code of the components burned into the chip and currently running inside the chip, plus the [snorts] state. Again, when you switch to developer mode, it's permanent. You cannot go go out of developer mode. This is why during doing the audit before flashing anything is very important. So, you will get you will get some flash or some hash codes, I mean, of the different part of the code.
And then, once you have those hashes, the point is since the build is deterministic, you can go back to GitHub, I mean, according to the version that you get, and you are going to be able to build it and check that the hashes match what has been committed for this release. So, here you got the instructions to do it. The build system is using Guix, so the deterministic build built on Nix. You can run that yourself. Please do not run it at the conference because otherwise, I think you are going to ruin the Wi-Fi for pretty much everybody, but you can run that on an on a different connection and rebuild everything, recheck the hashes.
So, you can do it I mean, in you can do it in two ways. So, you can just save the content of your audit results here, and then start developing, and then yeah, and then check that later because anyway, you are going to be using the board for development, so it's mostly for reference that we are checking the audit. So, the audit is going to show you a few things. It's going to show you that you can verify the boot, which is written into the chip. Uh Yeah, no.
Okay. So, it's going to it's going basically to to tell you if you're in developer mode or not, which is the most important thing before you know that the chip is really what it should be. So, and [snorts] after doing this, you can, as I said in the beginning, do a physical validation of the chip. So, look at everything that's running in the core and making sure that the chip is a real chip. And after you do that, you basically have validated everything from the chip to the code.
So, you know that you have the most verified chip in the universe. Move on. Yeah, so there are newer versions of boot one. One of the thing you can do after verifying is flashing the latest version, by the way, because there are some bug fixes, but I'm not talking about that here. Yes.
And [snorts] now, I am going to talk about the Ethereum Universal Signer that you can run because this is an Ethereum conference, so you might want to sign some stuff. So, let's move on. Um so, wait. If you look at at a generic component of a hardware wallet, we can have a couple boxes on there. So, you have the seed management.
What holds the hardware wallet is holding your seed, is storing your seeds or not, because you could have a stateless hardware wallet that is not storing seeds. Then, you have the cryptography, which will be running everything related to Bitcoin cryptography, Bitcoin signing, and so on. The genuineness that can let you prove that the device is authentic by running a challenge, asking the asking the device to sign it, comparing to something that you're comparing to something that you expect. An important thing here is that the bow chip is not going to use any kind of genuineness because the process to verify it is a bit different, so you have no secret in the chip. You're just going to verify all the boot chain, as I said.
So, you cannot prove remotely that the device is genuine because you don't have a mechanism to do that, but it could be completely doable. So typically if you want to hack on it, that's an example of something you could do. You could set a key in boot one and then erase it under some conditions. This would be your genuineness, but basically it's up to you to implement it. It's not something that is done at the factory.
At the factory everything is done to avoid having private keys, secret keys in the chip or unique authentications. Um, no. No, sorry. It's about boxes. Sorry.
[snorts]
Um, then the application management layer. On the application management it's how you are going to deal with dynamic applications. Here we don't have dynamic applications so we don't have anything for application management. You're just going to refresh stuff. Um, the UX.
So everything related to whole actually the signer. So how the wallet is going to display things. Here you have no screen. Um, so the choice I've made for this quick demonstration is to have a burner wallet. So the wallet will just generate a seed when it boots and then will sign anything when you send the command.
So of course it's not very secure. It's not something that you want to you don't want to put real funds in it, but it gives you some good basis to start hacking on it and to start either adding a screen on the the bow if you want or adding some mechanism to wait until you push a button to sign or even to have a remote screen on your phone. So you could establish a cryptographic channel with your phone and use it as a remote screen. I mean possibilities are rather endless so I will let you hack on it. It's just an example so remember don't do not store all your money on that.
It's not going to be very safe. Um, and then yeah, the transport which is going to use either QR codes or USB or BLE. In that case for this device we only have USB. But we are going to use the same protocol that we are using for QR so for ERC 45 27 um, which is Cbor. So the Cbor messages that are sent to the device are exactly the Cbor messages that are defined for 4527, uh, which is quite convenient because we have enough memory to handle everything, um, using this standard, so it makes it quite simple to develop the application and to reuse the to reuse this common crate for everything.
Um, then, yeah, so speaking about the common crate, uh, which is the thing that we will be talking about now. So, what is the general generic signer doing? It's handling everything related to Ethereum signing. So, decoding your transaction, decoding the Cbor in 4527, so that you get something that is usable by your application, signing, knowing how to sign a transaction, how to sign a type data, how to sign generic data. It's absolutely not related to any to any, uh, operating system, so if you are writing something on Rust on a hardware wallet, you can take it and you can use it, basically.
So, it's quite opinionated, uh, because first it's running on Rust, uh, of course. Uh, if you want to be on Exos, you have to be on Rust, so it's definitely, uh, biased a little bit towards Exos, uh, for but, yeah, it's going to run with anything Rust-based. Uh, it's minimalistic, uh, which doesn't mean that there are no features, uh, so it has a lot of features. Um, I want to implement a reference, uh, for clear signing on it, uh, clear signing with uh, with descriptors that could be shared between different hardware wallets, uh, but it means that you can take the crate, uh, that you want and if you don't need everything, for example, if you don't need the cryptography stack because you already have one, uh, implemented in hardware, you can just choose not to compile with it, uh, but still use, um, everything related to Ethereum decoding. And yeah, and it has drops in mind, uh, so I always choose to pick, uh, minimalistic applications.
For example, all here, uh, before implementing 7730, so before implementing clear signing, uh, I choose to just uh, refer to something that I have been calling um that I have been calling verifiable signing. So, sending hashes of what you are going to sign, and you can then turn those hashes into 7730, but on the on your computer. Because what you need is a source of truth, and the most simple source of source of truth you can get for what you're signing is a hash, which is clearly verifiable of what you are signing. And then you have no external dependencies, and you can add the external dependencies outside of the hardware wallet, so it makes it super simple. Um if we want to look a bit at the architecture of the signer, so how it's going to work.
Um so, here you see different applications using the signer. Uh I have an application running on a commercial device made by Foundation called Passport. So, this one will have a full UI. Uh it's a it's a colored screen. Uh the UI will be running with a framework called Slint.
I have another one which is using the Def Con 34 badge, which is a dabble with a screen and and some additional memory. So, it's something that you can it's something on which and a camera, so it's something that you can use the signer on. And of course the well, another device which is also the dabble application, and another device use um designed by Cozbar, which is called Colossus. That you can see on their booth as well, which is in a common form factor. I mean, it's more related to a common hardware wallet form factor with a screen buttons, BLE, and any ink.
But all those applications are going to use the same signer. They're just using different part of the signer, and then implementing implementing additional things related to the other components or regarding the UX, regarding the transport that I name that I was talking about before. And yeah, for everything that is Ethereum related, um this um library is um using Alloy, so which is a famous Ethereum Rust library. Um so you can see it as a You can see it as a Well, as a way to use Alloy more easily in your application. So it's basically a kind of a wrapper around Alloy um that you can use on very small devices.
Um so here Yeah, again, the definition of the I mean, just a small list of the different implementations that I have for the generic signer. Uh so Passport Prime, which is going to be a complex device uh running QOS, which is a fork of SCOS. Oh, thank you. Yes. Wow.
Thank you. Third one, uh Digital Charm. Yeah, the things that's it, more or less. Uh [snorts] yes, but yeah, I still have to I still have to look at the screen, but but that's okay. Um so yeah, so uh as tools, uh you have the ink, USB, and BLE.
Uh the Defcon 34 badge, which has a camera. Uh the Dabao, which has nothing. I mean, only USB, but all of them are using the same crate. So that's the message that I want to send. So this crate is very generic.
Please use it. Uh and please comment on it, open issues, uh send new um send new implementations. Um you'll see it's uh it's quite easy to use. Um So this application again is a burner wallet. Uh you can run it either on the board or on an emulator.
So if you don't have the board, you can you can still use it on an emulator and do everything that you would do on the board, but of course, uh it's way more fun on the board. So how is that going to run? Uh you have a Python client, which is going to talk to the device. Uh the way it talks to the device is either through USB HID um because the application is going to uh create a new USB uh interface, which is using USB HID. Uh and if you um communicate with your emulator, you're going to send the same messages over a TCP socket.
Then you are going to use yes the East burner which is passing the messages and delegating the messages either to USB or to the other transports. So the way the messages are encoded it just the C board that you expect in 4 5 2 7 plus a small header just listing the size of the message that you are sending but it's yeah so the protocol is minimalistic by design as well. So you will need to fork two things that are on my GitHub at the moment because it's it's a demo I mean for the it's a demo for Def Con. Then fork the full Zeus operating system because you need some tags for the builds that are not in my repo. So it's a way to it's a way just to make the build work well.
And then you can then you can just build and flash the images. So to flash the images you copy the free UF2 files that have been created to the mass storage you sync. So sync like you make sure that you eject properly the drive. You push prog and that's it. You should be running the Ethereum signer.
So yeah. That's it. That's a build. And when you are running the Ethereum signer the client you can run the client without any information. It will just use default data for signing so that you can verify that everything is going well.
You can get an address. You can sign an Ethereum transaction. You can sign a type message. You can sign a regular message. So you can do everything that you would like to do in on an Ethereum signer.
And then you can tweak it. So we are moving to the interesting part. One thing that you will see that when used it's going to use a different product ID for USB so that you can recognize if you are running boot one or if you are running the application. Um so that's one way to make sure that your application is running on the board. Again, couple examples.
Um so what you can do but they already talked about it. Uh and now uh the interesting thing so what you can do if you want to tweak it, it's very easy to tweak. You'll see it's very small. Um you can you can so disable boot wait to boot immediately to the application. Uh if you want to run another application that is part of Zeus uh for the demo, uh you have something called the console which is a shell uh that will let you uh play with peripherals or that will you let you play with peripherals.
I mean that you could connect to the board. So if you connect nothing, it's not really useful. Um but it's an example of another set of applications that you have. Um the way the build system works today is that everything is related to um the OS. So you are always building the OS and the applications even if you don't want to change the OS but uh then you on the first time you need to flash everything but then if you just modify the applications, um you just have to flash the app file.
You don't have to reflash the OS um to save a little bit of time. And yeah, again uh it's a burner so don't put your all uh life savings on it. Uh it's a very bad idea. Um just rather say it again than having people yelling at me because they lost some uh precious NFTs. Uh and yeah, so list of resources you can use.
Uh so everything that I that I said here uh might have been a bit boring if you didn't have the board but yeah, hopefully uh you will take one. Uh you will hack it uh during East Global. Uh you will have a lot of fun with it. I know that myself uh I will try to implement some uh well done uh implementation for example for to have some nice privacy solution uh with um with a remote screen uh if possible. So, remote screen on a phone, I mean, it's I say if possible because that's if time was limited in a hackathon, but no, we got infinite time because, uh, nobody's coding in hackathons anymore.
So, yeah. That's it. Hope [snorts] you liked it. Uh, sorry for everything. Uh, sorry for being a bit late uh, and for, well, uh, playing [snorts] with my slides, but hope you liked it and since we still have a little bit of time, uh, if you have some questions, I will be happy to answer.
Thank you. Why use a kernel? Yeah, it's a good question. Uh, because it brings you a lot of good things. I think it's nice to have multiple applications.
It's nice to be to have, for example, let's just say you want to have a you you want to talk, uh, over USB. Uh, it's a better model, in my opinion, to have a service to manage USB, uh, to be able to schedule it, uh, to have a kernel scheduling with USB rather than having some kind of big mess, uh, with a USB stack and your application doing everything and then coming back and forth to the USB stack. So, I just think it's a better design. Yeah, that's cool. Yep.
So, they would run they would run audit. It's a very good question. So, first you would get a key from Bunny uh, to to sell it commercially. Uh, then yes, they would run the audit uh, and I think one important part is that you would like to be able to take out the different parts and to be able to run the iris verification of the chip itself. So, if you want to push it to the max and use all the verifiabilities that you get with that chip, it's much better if it can be taken apart and then used that way.
So, if you are familiar, for example, with a product called Keycard Shell, which is adding a screen to an NFC card, basically, it would be a great idea of a product that basically adds a screen to a Dabo, do the do the audit, verifies everything, and then that lets you take the Dabo away and implement implement your own iris inspection and verify that the chip is correct. Then you would have something that doesn't exist, I mean, elsewhere. You would be able to verify everything from really from zero to to one.
Um so, are you thinking about designing new risk-5 chips that have more SRAM? So, this has 2 MB or 2 MB of SRAM. For like raw 16 or any like post-quantum proof generation, like are you thinking about designing chips with more SRAM?
Uh so, this would be a question for the chip designer. I mean, I'm just I'm just a poor user, so I I don't really know. I I know that it's usually when you want to have more RAM, it's more common, I mean, to add the RAM externally and then to let the chip manage it. So, in a different package, but then you run into additional issues, I mean, especially if you want to your RAM to be on an encrypted bus, then you have an attack vector because you have something going out and you can listen to the communication between your chip and the RAM more I mean, yeah, you can listen more to the communication between the chip and the RAM. So, then you have to think about which data is important, which data is not important, and it just gets things more complicated.
So, I think for the moment, the size of the size of RAM needed to do some some proving is a problem. Definitely, I hope we will have we will end up with provers that need less RAM. I mean, for for very simple operations, like if you want to prove, for example, something for privacy protocol, I hope we end up with lightweight proving systems or just different designs. Well, I mean, it's all I don't want to I don't want to shill Railgun again, but I will. If you see, for example, um in different a different implementation between Tornado Cash and Privacy Pool and Railgun, is that in Tornado and Privacy Pool, you are computing the signature and the proof at the same time.
So, you are basically putting all the private data in the proof, and then you would need to run the proof to in the device, I mean, to be secure. In Railgun, you run the signature in one part and the proof in a different part. So, it lets you prove prove things in an environment that is not secure and that has a lot of RAM. And in that case, you just leak privacy if there is a problem, which is not really a problem because in any case, you are going to be able to read data on your PC. So, you don't really care, I mean, about privacy at that level.
So, yeah, I think I think changing the design is probably a better idea than trying to compute [snorts] large proof in hardware, but just my opinion, long opinion.
Yeah, it's just I don't I don't I don't know if you asked if the chip needs post-quantum, but we we will do a new chip probably that will have more post-quantum accelerators. Um that would be a next chip. So, just FYI. If you have some input on it, you can come by the booth.
Okay, I get it now. Still having anything to say? I don't know.
Yeah, if you have more questions, don't hesitate. We still [clears throat] have time.
Oh, okay.
Like 7 minutes.
So, my question is um currently, we use a SA, like Bernoulli or something not much fun stuff we can use on them. Like And my question is um um how much does it take how much adoption is um we expect until we can actually use this as a real use case uh to to like um insert more funds in the wallet? Or what would you see um a clearer path until we can actually use it?
Oh, I think I think as a development board it's great to test applications. Uh then if you want to run a real product using that, uh you can I would say that you can totally do it today um because the chip doesn't have doesn't have a lot of um security certifications, but it's already more secure um than a lot of non-secure chips secure chips uh that are used in your common hardware wallet. Uh if you want to have additional guarantees, uh you could do what everybody else does. Uh so you could say, "Okay, I'm using this chip as my main uh holder for secrets and for everything and add secondary uh well-proven security chips as your fallback." Uh so you could have so if you look at uh the architecture of Trezor, for example, they are using an STM32, which is uh not that secure uh for their main CPU and then they're delegating secrets um to an uh to an Optiga, I think, and to a yeah, to an Optiga and to Tropic and to Tropic Square so to Tropic 01.
Uh instead of using that, you could have a Vault chip as the main uh as the main CPU and then have another part of the secret in a Tropic Square uh and then you would have an architecture which is already uh much more secure than what exists in the market. Uh and I think the ultimately the architecture that you would like is to have only the Vault chip. But so to be very honest, today I will tell you wait a bit because something that's new and when you create a new chip, there can only there can always be I mean some possible attacks. Um but if you do that with an additional chip, in my opinion, it's something that is completely ready to go commercial today.
Question.
Uh yeah, more questions. Thank you.
So, when you run the audit, you get a couple of properties. Uh can you explain what does boot receipts mean? And I think the second one is anti-rollback.
Uh so, not exactly, but I think you can uh look at the you can look at the code. Uh the important parts are the hash of the boot zero and boot one uh that you can verify. I'm not exactly sure I mean what the other properties mean, but it's something that you can verify in in Zeus because it's open source. So, yeah.
I see. I see. Anyone else?
Uh can you also use any other MPC wallets for signing? Like something like Fireblocks?
Uh you could, yes. You could even implement an MPC algorithm on that. Uh so, there is uh I mean um Cosobo has been doing this I mean on on this chips. So, you could even do that if you want. Yeah, it's pretty open.
A- and also can you set up uh policies based on accessory user user level?
On policies based on what, sorry?
So, for example, for on transaction like level, if you want to set policies like you like you do it on a MPC wallet.
Yeah, yeah. I mean, if you want, you can do it on the If you want, you can do it on the hardware wallet directly. I mean, it's open source, so you can really do whatever you want. I mean, that's the idea. Uh No, if you want to do this, uh I would probably rather do some kind of uh server in the middle.
I mean, that is going to manage the policies uh rather than having directly the uh the chip doing it, but you are pretty free to use any architecture you want because you can really do whatever you want. I mean, that's the That's the general idea. Okay, we are done.
[music]
Automatic transcript — names and jargon may be misspelled.