Latest / Bitcoin Audible / Chat_177 - Security Is Just a Hard Problem with Lloyd Fournier
Transcript
- 0:00I think that self-custody is not going to be dead.
- 0:05I think that there is going to have to be a group,
- 0:11a vanguard of people that do this and take it seriously.
- 0:14The revolution won't work without that.
- 0:16Everything under the spectrum is acceptable.
- 0:20But if you know what you're here for,
- 0:23you've got to put pressure against those systems,
- 0:26and that is by taking the self-custody.
- 0:30yourself. That's what we make tools for those people. What is up guys? Welcome back to Bitcoin
- 0:50Audible. I am Guy Swan, the guy who has read more about Bitcoin than anybody else you know.
- 0:56and we have a fantastic show.
- 1:00We have Lloyd on the show today from FrostSnap.
- 1:04So everything around cold card and all of this stuff
- 1:07has been a hugely eye-opening experience.
- 1:11And I've been trying to get a lot of perspectives
- 1:13and talk to a lot of people about this,
- 1:15both privately and then also on the show
- 1:18because security is just a hard problem.
- 1:21It's just a hard problem to solve.
- 1:23and there are so many different areas in which trust is still required even when it comes to
- 1:32something being totally open source like I am a diehard fan of Bitbox who is a sponsor of this show
- 1:39and I still am recommending I still love Bitbox but I am I've said this a couple times already but
- 1:46I'm also doing red teaming on the bid box because I realized where even the things that I have
- 1:53known and, you know, trusted other people's assessment of it, everybody can't code, right?
- 1:59Nobody can be an assessor of every single piece in every single stack. Like there are always
- 2:04vulnerabilities or limitations or bad UX issues. And I just found a great article actually that
- 2:11we'll probably cover on the show. And I mentioned it in this conversation from a guy, from someone
- 2:17who works at Bitbox about a vulnerability in the way, or at least not like, oh, your coins are at
- 2:25risk, but just an attack vector in the way we currently think about and implement multi-signature.
- 2:32And so it's just, it's just a really hard problem. And I also just don't, there's no magic bullet,
- 2:39right? This requires education. It requires knowledge. And unfortunately, there are terrible
- 2:45things and events that force the hand on everybody understanding or realizing an area or something
- 2:55was important that we might not have otherwise known. And I thought this was just a really good
- 2:59time to go ahead and get Lloyd on from FrostSnap because what they have is really unique. And
- 3:06And they're really thinking in a very interesting way about the physical UX, not just the software, the software too, and the kind of abstraction of what a wallet is versus the keys, which is something that I felt needed shifting for a while.
- 3:23but really I think one of the interesting things is
- 3:27thinking about the UX of the hardware
- 3:29and how the hardware or the interaction
- 3:35with what we're doing tells us something
- 3:38about what the thing actually is
- 3:40and we'll get into it a little bit more concretely on the show
- 3:43I do want to shout out that Box
- 3:46just because they've tried and true
- 3:50they've survived the test so far
- 3:52and survived my own red teaming,
- 3:55but obviously much more competent people
- 3:57with a lot more tokens, red teaming.
- 3:59And they have a fully open source stack
- 4:02and software and everything.
- 4:04And they've been a Bitbox,
- 4:05Bitbox has been a hardware wallet
- 4:07that I have known and loved
- 4:09for a really, really long time
- 4:10and used for a really, really long time.
- 4:12And we've partnered with them
- 4:14as well as they have discount code
- 4:16and all that good stuff.
- 4:16Write down in the show notes
- 4:18if you're looking to replace your cold card,
- 4:19do it with something with a better profile and a more honest team a team that doesn't shy away from
- 4:30every report given or every notion that they might have a vulnerability they look at it
- 4:36they look at it with integrity right they say okay maybe this is real let's look into it
- 4:42they don't do the dismissive this is fud thing which is the thing that i discounted a lot with
- 4:48cold card. So with that, let's go ahead and get into today's show with Lloyd from Frost
- 4:55Snap. I think you guys are really gonna love this. We took this all over the place. But
- 4:58this was just a really great conversation. And I learned quite a bit in understanding
- 5:02how BLS signatures work and even some little quantum stuff that I think was really worth
- 5:06digging into So this will be chat whatever number with Lloyd from FrostSnap Security is just a hard problem
- 5:19Lloyd, welcome to the show, man.
- 5:22Officially, now that the audience is listening.
- 5:26I'm jazzed about this.
- 5:28Congratulations that you have a newborn.
- 5:30I had no idea how old, how new, and what's your schedule look like right now?
- 5:37As having two kids, I know.
- 5:39He's just a month old,
- 5:40but maybe less than that,
- 5:41out of actual hospital.
- 5:43And it's got,
- 5:44I got some older kids.
- 5:45This is my third one.
- 5:47Okay.
- 5:47This one was harder than,
- 5:49I remember the second one being,
- 5:51which is interesting.
- 5:51I thought it would be always getting easier.
- 5:53Yeah.
- 5:53This one's a little bit harder, actually.
- 5:55I don't know if it's because I'm older
- 5:56or I just have lost the technique.
- 5:58And then, yeah, at the same time,
- 6:00the maddest weeks in Bitcoin
- 6:03have occurred at the same time,
- 6:05which is my other baby, right?
- 6:08That's a heck of a correlation
- 6:09to have a newborn baby.
- 6:12How old is your second one?
- 6:14I got a four-year-old
- 6:16and then a seven-year-old.
- 6:18Four and a seven.
- 6:19Okay, so you got a pretty big gap.
- 6:20Yeah, that's why you forgot.
- 6:23Your amnesia around the kids
- 6:26I think it really sets in
- 6:28after about a year and a half.
- 6:31On purpose, on purpose.
- 6:33I think that's why evolution
- 6:34made sure that we don't get any sleep when the new babies arrive so that we actually have amnesia
- 6:42during that whole time and then we forget uh how hard it is and what a terrible idea it is
- 6:47like for our schedule yeah and we go ahead and keep having more babies yeah i think it's i think
- 6:53it's on purpose um i think that's correct uh why don't you uh for the audience why don't you
- 7:01introduce yourself a little bit, talk about the project, just kind of introduce the main
- 7:06overview idea. Then I want to kind of get into AI stuff before we get into the meat of
- 7:12FrostSnap and all that stuff. Yeah, I've been working on Bitcoin and cryptography
- 7:19since around 2018. Although to be fair, in 2018, I was still a shit coiner,
- 7:25but very interested in the technology. Like I was one of those tech shit coiners,
- 7:29interested in the tech.
- 7:31And then I actually found out that Bitcoin has the better tech.
- 7:34It's actually the more boring it is, the more sophisticated it is.
- 7:39Simplicity is the ultimate sophistication.
- 7:42And I found that this new stuff I was learning about cryptography on my own
- 7:47would still be applied to Bitcoin.
- 7:49And actually some of the best people in cryptography
- 7:51working just on this boring Bitcoin thing.
- 7:54So I started to imitate them to try and learn from them.
- 7:59You know, brilliant people over at Blockstream and other people around publishing papers, me trying to get to the bottom of them.
- 8:05And eventually I got pretty dangerous with it.
- 8:09And yeah, I eventually got on a grant from Spiral around the time of Taproot where I was trying to look at the security of Taproot a bit more critically.
- 8:24And they noticed that and they just said, here's some money.
- 8:27I started working on the Bitcoin dev kit as well around that time with Alicos.
- 8:32It's very early and I still am on the board there.
- 8:36So I still try to help out with that.
- 8:39And then eventually I met Nick, my co-founder at the Bitcoin Bush Bash in Australia, which
- 8:47is like this mini unconference thing we do like in a country town.
- 8:52We just like pick a country town and everyone goes there.
- 8:54and we have a little
- 8:57you know
- 8:58Chattinham House Rules conference
- 9:00no recordings, no tickets, no money
- 9:02and it's really fun
- 9:03barbecues and drinks
- 9:04amongst Aussie Bitcoiners
- 9:07I met Nick there
- 9:08and he was working on like
- 9:09a little alternative to
- 9:11the
- 9:13what Bitcoin
- 9:15I forgot the one
- 9:16the Bitcoin payment thing
- 9:17that just got rugged
- 9:18by people
- 9:19BTC Pay
- 9:19BTC Pay
- 9:21yeah BTC Pay
- 9:22he was working on
- 9:24I'll turn into that in Python.
- 9:25So it was like a side hustle.
- 9:28I started talking to him.
- 9:29And he was really interested in cryptography.
- 9:31So I started teaching him what I knew.
- 9:34And he's working on this cryptography library that I maintain called SecP256KFun,
- 9:40which is like a less serious version of the SecP256K1 library that everyone relies on for everything.
- 9:47And he picked out Frost, I think, on his own mission to say, like, this could be really awesome.
- 9:53Like people are talking, people are talking about frost and this kind of thing at that time.
- 9:57So we thought I should.
- 9:58Yeah, go ahead.
- 9:59Let's read the papers together.
- 10:01Let's get down into the, you know, the Greek numerals and stuff like that and get and actually figure out how this works.
- 10:07And we did that.
- 10:09And it kept going.
- 10:12And then eventually we put it, we did like an experiment to put frost into Fetty Mint sort of over a week.
- 10:18This was before Clankers and I can believe that we did it And so we actually we actually forked Venement and like put it put it all through and got it working it was exhausting working like uh you know through the week but we really had a
- 10:30lot of fun and then we met it was this was in malaysia and we met our other co-founder adam
- 10:35uh over there he was he was building diy jade hardware wallets he was an electrical engineer
- 10:42okay and we thought he was very awesome and so we we wanted to do something with him and eventually
- 10:48over dinner like someone suggested it like why don't we just make a hardware wallet out of it
- 10:52and we started looking at it so i'm thinking this could be fun uh it started as a thinking more like
- 11:00a seed signer kind of project like something for the community to see what how it could work
- 11:04um you know like build it yourself kind of thing it eventually became a private you know for profit
- 11:12thing because we sort of saw there's no it would be very difficult to drive the full user experience
- 11:20and vertical integration you need to totally rethink everything you're just only sort of
- 11:25restricting yourself to diy build it yourself hardware stuff because there's a there's a lot
- 11:31of stuff that has to change about how you think about the whole cryptography part of it it's not
- 11:36like a drop-in replacement it's like a it's an opportunity to rethink everything basically
- 11:41And so we started to do that. And yeah, that's, that was like early 2023, I suppose, like it's beginning of 2023. And now we're 2026. So we're three years into it. And we have released our first product. And people are using it. And we, yeah, we are trying to trying to make it great.
- 12:03And okay, so this is an area that, I mean, if you've ever listened to the show, you know, I talk about this and I kick on with this like super hard.
- 12:13And it's interesting as well because like UX around multisig is one, in my opinion, one of the biggest problems around getting people to understand what they're doing and kind of like how things are associated.
- 12:37like there's there's an interesting and there's so many kind of like unique little perspectives
- 12:43about how and what to do with like backups and stuff like I actually just finally set up my
- 12:49foundation device recently um but and and it's funny how certain devices treat backups and try
- 12:57to lead the user to like a simpler method because uh like the bit box does the little uh SD card
- 13:05And I've always liked that just because it's easy.
- 13:07Like you put in an SD card and here's your backup and I do it.
- 13:10And I just know to keep those things separate.
- 13:12But I obviously always just write down my seat as well,
- 13:14just because that's my habit, my ritual that I've built over years and years.
- 13:21But then Foundation had one that was interesting that they give you like these cards,
- 13:26kind of like a TapSliner-esque card, but it's like a multi-sig quorum restore your key,
- 13:33which I thought that was interesting.
- 13:34You tap your card and then that's part of your key and you tap your other card.
- 13:38And then as long as you have two, your foundation and one of your cards, you can restore your thing.
- 13:44I was like, oh, that's pretty clever because I didn't even realize that in the setup process.
- 13:47Now, FrostSnap, is the actual wallet itself called the FrostSnap?
- 13:51I mean, the device itself called FrostSnap?
- 13:53Or is this just the software?
- 13:55I forget exactly if the naming convention is.
- 13:58Yeah, we call them FrostSnaps.
- 13:59We do call them that.
- 14:00Okay, okay.
- 14:01So they're both, it's both things.
- 14:03So it's like Bitcoin and Bitcoin, the currency and the network.
- 14:06Yeah, yeah, yeah.
- 14:07We need some branding, some person to go through everything and rip it all apart.
- 14:11Yeah.
- 14:12Or we call them Frostnaps.
- 14:13Well, Frostnap actually like makes, because you're snapping it, you snap them together.
- 14:18Like, that's like, I can already see the commercial, right?
- 14:21You know, it's like the KitKat bar.
- 14:22It's like, oh, leave me through the interaction because there are a lot of people in this may have not seen the device.
- 14:30And like how it works.
- 14:33Yeah, so first, like, what even is Frost?
- 14:35Probably some people are probably not there.
- 14:37It's good to start there.
- 14:38So Frost is, well, I mean, you were just mentioning Foundation, right?
- 14:42And you have this device and you have these backup cards.
- 14:45I have one too.
- 14:46I haven't looked in technically what happens there,
- 14:48but I'm guessing it's something called Shamir's secret sharing going on there.
- 14:53Yeah, I think that's what it is.
- 14:54Which is also what happens with Trezor's backups called Slip39.
- 15:00They do Shamir's share, but you have words in that case.
- 15:02and so these uh these are mathematically splitting up that your private key like your
- 15:10main private key basically this is what all these schemes do is also what frostnap does so you have
- 15:16and it's split up in a threshold you need two any two out of three or any three out of five or
- 15:21whatever and this is what also what frostnap does the difference between frostnap and these things
- 15:25is that those secret shares are not just backups.
- 15:31They are also on devices and they also sign with the secret shares okay so when you when you use the secret the the cards from foundation you tap them and you get back your seat on your device
- 15:45yeah so you'll get it you'll get it all back but it'll be reconstructed in a single place
- 15:51like with frost snap we generally keep the shares separate and they never get reconstructed
- 15:55and we actually sign with the shares and so when you sign with a frost snap device you're actually
- 16:01not producing a signature that can go on chain it won't work on chain you're producing a shimmya
- 16:07secret share of a signature okay so you have a shimmya secret share of a key on the device and
- 16:13when you sign you produce a shimmya secret share of a signature and then any two out of three of
- 16:18those those signature shares will produce the signature that goes on chain okay okay and actually
- 16:24on on on chain it's single single public key okay yeah it looks single that's funny i didn't
- 16:31even realize that that's how it worked okay yeah that's interesting because you know i just actually
- 16:38read i literally have it open in my tabs right now i haven't i haven't like gone through the
- 16:43entire thing but talking about um it's from one of the guys at bitbox actually i think where's uh
- 16:50let me find it so i can just get the title for people in case they want to read it how nearly
- 16:56benma's blog i think this is yeah i work we're on bitboxo too yeah yeah yeah so this is um
- 17:04it says how nearly all personal hardware wallet multi-sig setups are insecure the notion of it is
- 17:10actually that uh one of the problems with multi-sig software is that the software is a single
- 17:17point of failure and most people don't realize because the reason you do multi-sig is because you
- 17:22you don't trust your software, right? And so you assume that if it gets compromised,
- 17:30we want to make sure that your keys are still safe and thus your ability to interact with
- 17:35your Bitcoin are still safe. But the thing is, is that none of the individual devices
- 17:40actually check the public keys of the other two devices. So the software wallet can actually
- 17:48always trick any individual device with a fake address that's actually not generated from all
- 17:55three, but it's generated from multi-sig with whatever one you have plugged in at the time
- 18:00and two of the attackers. So they can just put in two fake keys and your one device doesn't have
- 18:07any idea because it can't read the public keys of your other devices. It has no idea whether or not
- 18:13that's a valid address. It knows that its key is there, but the attacker is explicitly using the
- 18:19software to trick you in that context. And I thought that was like a really interesting attack
- 18:23vector that I hadn't, you know, considered and making the software a really big vulnerability
- 18:30in multisig. Not that like it's been exploited or anything, but like that's a huge consideration.
- 18:35And Frost, I had not dug into the technicals yet. That's why we're doing this show is I wanted to
- 18:40get these details. And the fact that it's Shamir secret sharing means that all of them,
- 18:46you do know the public key that there's only one public key. There's only one signature. And I
- 18:52thought that's really clever is doing multi-sig just with the, basically externally, doing multi-sig
- 19:02as the cryptography multi-sig, not as multi-sig in the script in Bitcoin.
- 19:06yes so that's a great point like uh this you can do multi-sig with you know devices correctly if you
- 19:16really know what you're doing and you really think through everything from the ground up but i've
- 19:20i've talked to people who have sort of seen like they seem to think that they're experts on it
- 19:24and i asked you know ask them all the steps what you have to do and they miss that particular step
- 19:29for example or they miss some other step and it's like oh man uh yeah so that that's an interesting
- 19:35one and it actually it doesn't happen in frost snap on the key generation step because everything
- 19:41is sort of in one place and this key generation is interactive so you've kind of got to have the
- 19:48devices online together anyway right so it's sort of like a bad thing about frost maybe that we turn
- 19:54into a strength so you got to have with our with our product we actually our devices plug into each
- 20:00other we call frost snap they snap into each other and then they go into the phone and then
- 20:04they will actually interactively generate a key because they're generating a single key that goes
- 20:09on chain no one device gets to choose the key and in fact we don't allow the devices to choose the
- 20:14key amongst themselves by themselves we actually make the phone or the laptop also be part of that
- 20:20key generation even though they don't get a secret key from the output of it they do contribute
- 20:24public randomness into the key generation and that means even if you we send you three malicious
- 20:30just FrostSnap devices, actually, we won't know the key.
- 20:35So even if they all had bad entropy,
- 20:37like a la cold card, right?
- 20:39They all had zero entropy during this key generation.
- 20:43As long as your phone there or your laptop is part of it
- 20:47and your laptop has entropy, hopefully,
- 20:50usually they do you won't have the problem so when we were having this cold card thing happen
- 20:54we were like pretty relaxed about it we we did go and double check our entropy you know just because
- 21:00if these guys can mess it up you know surely we can mess it up um and uh it turns out all good
- 21:06uh the hardware trng was getting a little less entropy than i expected but still way above you
- 21:12know what we needed uh and so but we're but we were not in a state of panic during this time
- 21:17because we know that the phone and the laptop is also involved in it.
- 21:22So we have another thing that has to fail.
- 21:27And so, yeah, so you have these devices all come together.
- 21:30They all, including your phone and laptop,
- 21:32is all generating the same single public key that goes on chain.
- 21:36The devices get each secret keys.
- 21:38And then you have to look at them,
- 21:39and we invested a lot of work into making this check really easy.
- 21:43this is the check that makes sure that all those devices are on the same page
- 21:47when you do traditional multi-sig you what you would do is you would look at the descriptor
- 21:53that they got and like turn two device screens on at the same time and look at them both yeah
- 21:58usually you have to have a descriptor backup anyway so you like because if you lose that
- 22:02you also lose all your money which is another huge which is another problem in we don't have in frost
- 22:07but um we do this one time you know check of this little code which we work really hard to make the
- 22:13cryptography make it a short code just like a few characters and you check them and you confirm on
- 22:18each device and that how you know that all the devices and the phone were on the same page
- 22:22everyone got their secret key and that public key really is the you know the uh everyone has the
- 22:28same addresses so if you do just verification on anyone they're all going to say the same address
- 22:31and so this is um this is how you do frost now but that you know that problem with you know having
- 22:37to check descriptors and stuff it actually does come up in frost snap um but only in recovery
- 22:42okay so when you're recovering you have like you imagine you get a new phone new laptop or
- 22:48something i was about to ask if the phone is adding entropy how do you how do you square that
- 22:53with bringing bringing those three devices to another device yeah what would happen if you
- 22:59lost your phone or whatever you would take you just go to two out of the three devices
- 23:04or or all three doesn't really uh as long as you hit the threshold as soon as you hit the
- 23:08threshold you plug in the first device you won't get learn anything you just see that there's a
- 23:12wallet being recovered you don't know how much you don't know what the xpub is you don't know
- 23:15how much money it has in it but then you get the second one you plug it in and then you'll finish
- 23:19through it you'll finally get the recovery it'll be finally done but at this point you know going
- 23:24back to how this multi-sig problem works like how do you know that what is on the laptop at that
- 23:30point really is the same thing the key that was the meant to be the one right it was meant to be
- 23:36the one. How do you know that both those devices now have the same one on it? And I was looking at
- 23:43it like, how do you do this in traditional multi-seg? This is a hard problem. And I realized
- 23:47no one's doing it properly. That's the way that the builder is not doing it. And so I was like,
- 23:52man, I can't accept this. We can't just have a perfect security everywhere except the recovery
- 23:57has this weird thing. And it is a weird attack because what it means is like you give out
- 24:02addresses that are not part of your wallet. They're not yours. Yeah. And you just don't know it.
- 24:06Yeah. But in this case, you're recovering. And so you're probably trying to spend the money and not receive new money. But in the case, you are trying to receive new money. And before you sign any transaction, what we did is we put a little trick actually in the backup format. It's very obscure. Like we're deep in the weeds now.
- 24:25But we put a little like a Mac in the backup format.
- 24:29So it's like a one byte check so that when the laptop tells you,
- 24:34okay, like this was the public key,
- 24:36like this is the public key you're a part of
- 24:38so that you can verify addresses,
- 24:40we actually have a little check, a little hash check that we check
- 24:44that we've already hashed our secret key into the backup
- 24:46with the public key and we have a one byte check there.
- 24:50So the guy only has a less than half a percent chance of tricking you.
- 24:55and we felt like this was enough to stop the attack since it's like a very obscure attack and
- 25:00it's not being done to anyone like a half a percent chance of the device just screaming
- 25:05loudly and saying nope this is a full-on panic you've sent you've done something you're trying
- 25:10to cheat me uh a 99.5 i was about to say 99 half percent that it could and 99.5 yeah yeah i got you
- 25:18exactly and that's each device i suppose so it's like um we thought that that was good enough to
- 25:24It's just protect some peace of mind against this extremely obscure attack.
- 25:29But there are so many edges, right?
- 25:30And if you really consider seriously the laptop to be malicious and to be a very clever attacker, there is things you can do.
- 25:38And it's very tricky.
- 25:39I mean, one of the things you can say is that you can never actually get good security again for a novice user in these kind of situations.
- 25:47Like a novice user can just be told like random bullshit to send all their money to this address and get twice double it back right You can never guarantee that much The only thing you can guarantee is for an expert user or someone who knows what they doing and they following the instructions because anytime that
- 26:08that malicious desktop wallet or even a malicious hardware wallet can tell you stuff that's to do
- 26:15the wrong thing right and if you trust it uh you you may lose it and may lose it all no matter what
- 26:21yeah yeah so what you're saying is security is easy is that what i'm hearing
- 26:27it's important to get the guarantees such that if you have an expert user you guarantee they do
- 26:34not lose money right and they follow the steps that's important another thing we did in frost
- 26:39snap like i alluded to it with this this laptop generating or the phone generating entropy is we
- 26:45were like the only hardware wallet i think that actually has that property that if you
- 26:49if we ship you malicious devices we can't take the money as long as you have the right app right
- 26:55i mean it is modular this condition that you have the right app uh but this is like a security
- 27:01guarantee we think is important um it's reduces it's a reduced risk for us because even if we
- 27:06just do a mess up yeah and so we think this guarantee is important and um it's really hard
- 27:15to achieve actually and so like a lot of people think they are achieving it as and and this cold
- 27:20card thing is sort of uh made those voices louder they think that you actually get more security if
- 27:27you the roll the dice and you choose the passphrase if you like burn incense before the gods of pleb
- 27:33security you will get you know you will do you will uh actually have a be protected against
- 27:39malicious device um you are protected i mean you're protected if they goof up entropy or something
- 27:44and they don't goof up the dice rolling code
- 27:46that integrates the dice rolls.
- 27:48But you are not protected against malicious devices.
- 27:51Like I can design a device to give to you
- 27:54that no matter what you do with it,
- 27:57you'd roll dice, you choose your own words,
- 27:59I will get your seed words,
- 28:01even if it's fully air-gapped, right?
- 28:02And that's this thing called Dark Skippy we did
- 28:04to demonstrate this.
- 28:06And so we made this malicious seed sign of firmware
- 28:09that even though it's fully air-gapped
- 28:11and you chose your own seed words,
- 28:13the seed words appear on the attackers computer because we shove the seed words into the signatures
- 28:18when we sign and this is very hard to detect yeah uh yeah and i i'm actually where before this whole
- 28:27cold card thing happened i was working on doing it on the cold card mark three so i figured i i
- 28:33there's this guy called the charlatan who's a like a bitcoin core developer and he um
- 28:39he he found an exploit on the mark 3 that allows you to like put your own firmware on it
- 28:45uh and and make it into a new factory make it look like it's fresh from the factory afterwards
- 28:50which you're not meant to do so i was like oh we can use this we can put dark skippy on the
- 28:54cold card people can be really impressed you know like we broke this like super secure hardware
- 28:58wallet with like two secure elements and now obviously it's like it's considered the least
- 29:04secure, dumbest, most retarded hardware wallet of all time.
- 29:07And so now he no longer feels as spectacular, obviously.
- 29:13Dude, it's wild how many, like, edge case, like,
- 29:21the police are going to get me and the attacker and the thief
- 29:24and the everything sort of features that this wallet had
- 29:28and how little scrutiny was put on literally the foundation of all of it.
- 29:36You know, and it's my conspiracy brain has a really, really hard time
- 29:42with all the stuff with the switched or whatever account and the CTO.
- 29:49Man, this does not, it feels really, really hard to just dismiss this
- 29:53as not on purpose.
- 29:54um yes oh i i have i have the counter argument for that not that i have any i don't have any
- 30:01insider knowledge yeah yeah yeah sure i did i did i did meet this guy once uh he seemed like a normal
- 30:10and he seemed like what you would expect from the cold card main developer sure like he has
- 30:15cold cardi opinions less more quite more softly spoken than nvk but like you know he's a bit
- 30:21skeptical of frost there's a bit too many you know rounds of communication or whatever you couldn't
- 30:26you couldn't do it easily over like sd cards so basically uh we're not doing it sort of thing
- 30:32and so um which okay fair enough um but uh he like if you look at that guy making nims you know
- 30:41that's kind of a thing that people do sure here there is cyberpunk they make nims and it wasn't
- 30:47particularly well hidden near me either so you're gonna do something like crazy malicious it was
- 30:52a bit of a strange move it's a bit of a it was a bit of a lop um i think that you know he made
- 30:58this other library um with different intellectual property right so they made it with a different
- 31:04license and that probably why they sort of said oh we gonna make a new what was the license so he they made this like bitcoin it like the normal mit open source license license but it Bitcoin only So you not allowed to use it for shit coins basically
- 31:20Okay.
- 31:20And so I think it was something like, to me, I imagine the conversation being
- 31:24NVK is like super hard on intellectual property.
- 31:27And, you know, most software engineers are not.
- 31:29Just to get around NVK's like protection.
- 31:32So he's like, all right, NVK, I'll just make this like over here
- 31:36and I'll use a NIMH so it doesn't look like, you know,
- 31:38we're endorsing like, you know, or it doesn't look like I'm, you know,
- 31:42stepping out of the bounds of the cold card intellectual property, you know,
- 31:46policy and I'll just, we'll make it Bitcoin only sort of thing.
- 31:49And we'll make a, yeah, Lib NGU and it'll be cool.
- 31:52And hopefully like the community gets adopted a bit, right?
- 31:56And, but we don't want them to adopt the cold card stuff
- 31:59because the cold card stuff is super, super special.
- 32:01But like this basic stuff over in Lib NGU, like get random numbers.
- 32:05it would be helpful if more people in the community were using that um and you know vetting it and
- 32:11unfortunately that plan did not work for him no i think nobody was using libngu apart from
- 32:16cold card and um yeah it was actually a very difficult to spot problem once you had created
- 32:23the mess around it okay so the real problem is the mess around that code and the mess of the
- 32:29architecture of all the different layers um but once you have all these different layers in there
- 32:34It was very hard to spot.
- 32:36I went through all the clankers that were available, you know,
- 32:41before Kimi K3, basically, and none of them found it,
- 32:45actually, except for Kimi 2.7.
- 32:47So the Kimis were good at it.
- 32:48But no one was using Kimi 2.7.
- 32:50So the main ones, like Claude and all these things,
- 32:53they didn't find it.
- 32:55The ones that existed, you know, before that era,
- 32:59before the new frontier bump, I guess.
- 33:01And so my colleague Nick was looking for this bug.
- 33:04He even asked it for like entropy before, like six weeks earlier before the hacks happened.
- 33:10He asked like, is there like an entropy problem in this code base?
- 33:14And he asked Claude 4.8 to find it and it did not find it.
- 33:19And so I looked at a lot of models and they do not find it.
- 33:22People claim strongly that this model does and this model doesn't.
- 33:25But using an actual prompt given by an engineer on this very, you know, looking for these kind of issues, it did not find it.
- 33:33Can you break down a little bit more specifically?
- 33:37Because I've gotten various different explanations.
- 33:42But can you break down in as simple language as possible, but a lot of nerds listen to the show.
- 33:48So can you break down exactly how the bug is and why it was so hard to point out?
- 33:55I basically also take the opportunity to steel man the this was an accident and this wasn't on purpose argument as well.
- 34:07Yeah, I mean, I think that all I know about why it wasn't, I just doesn't, I don't see, it's a very clever scheme.
- 34:17you know it is like because the the thing that the thing i would say about why it wasn't an accident
- 34:22because there was so much it was an accident because there was so much smoke around this code
- 34:27like there is so many problems with it so it's like a it's like a galaxy brain thing to be like
- 34:33oh yeah i'm gonna like hide a problem with randomness amongst all these other problems
- 34:39and then ignore people on the other problems i mean because it's an interesting strategy but if
- 34:43i was trying to do i would try to move everything would look beautiful right around the very elegant
- 34:49and you know subtle problem yeah yeah the way he did it i mean the way that it happened is still
- 34:55probably a very good way like this compilation flags and things like and like c uh compiler
- 35:02compile time filters this is probably a good way to do it because it's very hard to reason about it
- 35:07you have to go through different files and be like oh that thing flag and is it not defined or is it
- 35:11equal to zero and whatever and oh oh yeah the hardware well the hardware rng is no longer
- 35:15enabled that was um that would be clever but i wouldn't put so much you know problems around the
- 35:21rng because it gets people looking at the rng and people complained about the how the randomness was
- 35:27generated uh humans clankers were also complaining about these kind of things the same kind of things
- 35:34And it really was like a ridiculous system for the cold card, like the one by one Bitcoin only hardware wallet.
- 35:43This code should be pristine.
- 35:45It should be like the best code around generating random numbers in the industry.
- 35:49And it was, I'd never looked at it before.
- 35:51And it was totally, totally weird.
- 35:53But people who had looked at it, like James OB had looked at it and he said, he recalled what I would have said as well.
- 36:02it's like there's this yasmerang rng and no one knows why it would be anywhere near this
- 36:07code because yasmerang rng is not a cryptographically secure rng so why would this code
- 36:13even be in there and it's being called and doing weird stuff and it's like this weird
- 36:17circle jerk of moving around randomness that like doesn actually do stuff like actually randomness is super simple so randomness is um you know entropy is very easy to easy to Once you got it it very difficult to get rid of it
- 36:32You don't need to mix it around or anything too much.
- 36:34It's random. So if you take a random
- 36:36number, you add a non-random number to it,
- 36:39it's still random. There's no way to reduce
- 36:40randomness. Randomness just propagates.
- 36:42It's like chaos.
- 36:43It just infests
- 36:45everything. Once it gets in there, it infests everything.
- 36:48And so you just need to get some
- 36:49randomness out of the TRNG, and that's
- 36:51That's all you need to do.
- 36:52Yeah.
- 36:53That's all you need to do.
- 36:54It should be like the cleanest, clearest thing.
- 36:57And it should be clean and clear by like engineering necessity so that you can know, you know, like like both on the verify side and the application side.
- 37:08It's safer if it's clean and clear and you can know that it's safer if it's clean and clear, you know, like there's no you don't need.
- 37:15yeah you don't need the the hand it around 15 times and do jump ropes and and you know crawl
- 37:21under the wall like it just it just you know stop with the gymnastics yeah so the rng you should use
- 37:29like anyone would recommend who does any of this kind of work is called cha-cha 20. okay this is
- 37:34probably the rng you should use and so that you would take randomness out of the trng like try and
- 37:40do it in a clever way that you look at the heart like look what the hardware manufacturer says how
- 37:44how to do it.
- 37:45There's sometimes you can get it too fast or something.
- 37:48There's a certain time period that you have to extract over
- 37:51to get the certain amount of randomness you want
- 37:53because it's like a physical process, right?
- 37:55It takes time to get more entropy into it.
- 37:58And then you look at that,
- 38:00you probably like over budget
- 38:02because you don't know how faulty or whatever it is.
- 38:05And then you take that and you seed it into
- 38:08a pseudorandom, a cryptographically secure
- 38:11pseudorandom number generator.
- 38:12And that's basically it.
- 38:13If you just do that, you'll be fine.
- 38:15Some people complain that you should reseed it or something.
- 38:17But really, if you just do that, you're good.
- 38:21And that RNG, you can pull out an infinite amount of bits from that thing.
- 38:25From the attacker's perspective, it's fully random.
- 38:28No one can be able to predict that.
- 38:30It's going to look fully random.
- 38:32Yeah, but if you put Yasmerang RNG in there,
- 38:34I mean, that's not a cryptographically secure one.
- 38:37So it would probably have been fine if there was actually randomness in it.
- 38:41But people are looking at like, why are you using such a bad PRNG for this case?
- 38:48But the real problem was there was no randomness at all.
- 38:51Even going into this not good PRNG.
- 38:54And so that's kind of how it was missed.
- 38:55So was the entire thing dependent on the Yasmerang?
- 39:00Like, was that the one that was doing the entire job, basically?
- 39:05I mean, okay, so there's so many Yasmerangs in this code.
- 39:09I mean, there should be zero implementations of Yasmerang in this code, but there's like three implementations of it.
- 39:15So why is it so popular?
- 39:18Because it's using this Python library.
- 39:23Embedded Python.
- 39:24What the fuck?
- 39:24Anyway, this Python library that's for embedded devices that has C bindings.
- 39:30And it has a Yasmerang RNG in it because they were not expecting people to be using this for cryptography.
- 39:35and they wanted a fallback RNG
- 39:38in case the operating system didn't have randomness
- 39:40or whatever. The system didn't have any real randomness.
- 39:43Not every chip has a TRNG on it.
- 39:45So they wanted the Yasmerang.
- 39:47Then Doc Hex copied
- 39:49this Yasmerang
- 39:50into the cold card firmware
- 39:52and actually started using it.
- 39:54But then accidentally
- 39:56used this fallback.
- 39:58So the real TRNG was just this Yasmerang
- 40:01on public parameters
- 40:02and then it got mixed into
- 40:04this other Yasmerang stuff, which did include some hardware stuff, like the timer, but not
- 40:12enough. There's ridiculously little entropy. How many times you click the buttons also,
- 40:18every time that ratcheted the thing. And so that was very little entropy, much less than
- 40:24we initially thought. When we initially looked at this, when it first started happening, it
- 40:28looked like, oh, there's actually a little bit of entropy. This guy probably had to have
- 40:31like way gpu um you know and run it for a few days to find all this stuff but in the end actually
- 40:38you just need a laptop uh you know with no gpu really and you can you can find it all find all
- 40:43the mark three stuff most of it pretty quickly and so um yeah so that's that's i mean the yes
- 40:49i mean it just doesn't make sense it's like a circle it doesn't make sense for that to even
- 40:53ever be like i don't even quite understand and i guess if it's you know not used for cryptography
- 40:59then maybe they're like okay well who cares um but like what is even the point of a random number
- 41:06generator that doesn't do good like what do you what are they even using it for there are reasons
- 41:12when when you don't need cryptographically secure you just kind of need uh independent new values
- 41:19that are will not collide too much but couldn't you couldn't you just still just import the
- 41:26cryptography one and just be done with it?
- 41:29They're faster.
- 41:30They're faster.
- 41:30So if you're like really, if you're on an embedded device,
- 41:33like you can do a bad one faster.
- 41:35But ChaCha's super fast anyway.
- 41:37Yeah.
- 41:37So you use it for other things, like you can do, like,
- 41:39But all code uses non-cryptographically secure
- 41:43sit-around and non-generators.
- 41:44They're just handy to have for all kinds of hashing,
- 41:47bucketing things, like giving random assignments to things.
- 41:51It's very handy.
- 41:53But when you're using that secret keys,
- 41:54you have to use a cryptographically secure one.
- 42:01Oh, man.
- 42:02Such a mess.
- 42:04You know, I want to know what your takeaway is.
- 42:06It's like, have you changed how you think about this whole problem since the cold card situation?
- 42:16And I keep hearing a whole bunch of people learning what, in my opinion, is the absolute dumbest wrong lesson here,
- 42:26is the idea that like now we should that you should have been trusting big companies with
- 42:33enough money to to really scrutinize the security and that self-custody is dead and all this stuff
- 42:42and it's frustrating me enough that the the profound amnesia around everything that's
- 42:49happen in Bitcoin, everything up to this point, as if this thing negates 16, 17 years, you know,
- 42:57of the exact opposite lesson being taught. It's going to piss me off enough to make a video.
- 43:05But I'm curious what your thought is and what's the real lesson to learn from this? And
- 43:11how do you think about mind shift? People get their money stolen from their trusted
- 43:19parties all the time it's not even it has to be corrupt it's just like you get phone people like
- 43:24social engineer stuff it's just um permissioned reversible money gets stolen all the time all the
- 43:31time yeah go learn about like you know all those all the stupid things about like send me a wire
- 43:39all this like the reason you have the nigerian prince emails is because they worked people got
- 43:44money from debit cards you know just but anyway sorry keep going yeah yeah so i actually had my
- 43:52google account hacked uh which is hilarious thing given i'm a security professional i just didn't
- 43:57pay much mind to my stupid google account i needed to log into some shit and i had to log in on a
- 44:02dodgy computer to do some tests on a windows computer and i think that windows computer
- 44:06logged my uh shit oh wow i was so comfy with it i was watching these attackers doing stuff like oh
- 44:12okay after a month that's what happened okay start removing them from stuff trying to get
- 44:17into this stuff they're still calling me like trying to get back in they know i'm retarded so
- 44:20i'm i'm still a mark uh but but you don't my my stuff is so deeply offline like it's not even in
- 44:28my house like it's not even in a physical look i use frost nap it's not even a physical location
- 44:32you know i can't even go any single place with me and get it you have to like go on an adventure
- 44:36with me let's do we have to summon it sort of thing uh like the dragon balls or something so
- 44:41So it's like, that's what keeps me comfy.
- 44:46And I think that that is the correct thing to do.
- 44:48I don't think, yeah, so it's not for everyone.
- 44:51But like, there are some, you know, systems and people that's like,
- 44:54oh, we just have an encrypted backup on Google Drive.
- 44:56Like, my Google Drive got owned.
- 44:59Like, that thing is, you can just assume that everything on Google Drive
- 45:02is owned by the attacker, right?
- 45:05Your Google Drive got owned by Google already, so.
- 45:08Exactly.
- 45:09So I don't mind that.
- 45:11You got backups of stuff that's public.
- 45:13Yeah.
- 45:14So like descriptive backups,
- 45:15because that one can lose all your money.
- 45:16Yeah.
- 45:16But like having like,
- 45:17I think they can get you to the money probably shouldn't be there.
- 45:21Like any progress towards getting your money in your emails and stuff is,
- 45:24is not great.
- 45:25That's my opinion.
- 45:27That's,
- 45:27that's what makes me feel comfy.
- 45:28And that's what,
- 45:29that's what you've got to do.
- 45:31You got to think about,
- 45:31and the main thing to think about is what does the attacker want you to do?
- 45:35They want you to put your keys in your email.
- 45:39Yeah.
- 45:40Yeah.
- 45:40Damn.
- 45:40They want you to put on an essentialized exchange.
- 45:42I mean, some people do read their seed words out over the phone and stuff,
- 45:46but I think they're getting less and less.
- 45:49And so, yeah, I mean.
- 45:51I think it was just two days ago I heard of someone
- 45:53who just had been stacking for like eight years,
- 45:59and it was like Bitcoin only,
- 46:01and they sent it to the most reputable.
- 46:03They ended up a little over half a million dollars,
- 46:05and they sent it like days ago,
- 46:08sent it to a the most respected largest australian exchange all of it and then like within moments it
- 46:16was it was sent from it because they had like sitting they like accessed his email or something
- 46:21and they just been sitting and waiting because they saw the the account to the exchange and so
- 46:26they were able to validate and confirm the withdrawal and it was gone um so there's your
- 46:33there's your use the central big centralized exchange right but if it's on an exchange it's
- 46:39also on your computer yeah so your computer is your hardware wallet because that's the thing
- 46:43you logging into shit with yeah so that um yeah that uh you know what i recommend is like yeah log into your stuff on like a different computer like a different clean computer which is not your work computer and not you know doing stuff computer
- 46:58Have a separate laptop for all, like, even if you're interacting with exchanges, it's still better.
- 47:04They still may not rug you, but your laptop could rug you.
- 47:08And so that's, yeah, that's one piece of advice.
- 47:10I think that, you know, self-custody is not going to be dead.
- 47:17I think that there is going to have to be a group,
- 47:23a vanguard of people that do this and take it seriously.
- 47:27The revolution won't work without that.
- 47:31Everything under the spectrum is acceptable.
- 47:34But if you know what you're here for,
- 47:38you've got to put pressure against those systems.
- 47:40And that is by taking the self-custody yourself.
- 47:45That's what we make tools for those people.
- 47:47And people are like, you know, we don't have, you know, when is the multi-sig iPhone experience coming?
- 47:53You know, like the really smooth thing.
- 47:56I don't think that it's coming in the sense that it's going to be actually secure, right?
- 48:01So I think what we've done is like we're trying to get as close as we can to do that.
- 48:06We don't do multi-vendor stuff and try to create complexity.
- 48:10And I'm fully on board with people who are not, you know, I mean, I'm fully understanding of people who are not there yet.
- 48:16We try to use the phone and the laptop mix in randomness so you're not trusting our devices completely.
- 48:22But we think that multi-vendor and like screwing things together is like a step too far.
- 48:27It's not enough bang for your buck doing that.
- 48:29So we try to make clean devices.
- 48:32They all go, you know, they all have a smooth experience, but not so smooth that you can just like delete the security parts of it.
- 48:39There's a thing where you do have to check that a number is the same on all the devices so that no one could have interfered with the key generation.
- 48:46that's a cryptographic artifact i'm not hiding that from you that you're gonna if you're gonna
- 48:50if you're gonna be a revolutionary you're gonna have to like accept that you will be looking at
- 48:53some numbers you will be verifying your address when you withdraw it from the exchange or something
- 48:58uh until we have a better solution right um so that's that's the kind of thing i think you can
- 49:04make it you mean it's important to be simple as possible but no simpler right that's basically it
- 49:08Oh, man. It's wild. I totally agree, though, on the whole idea that there is no revolution without self-custody.
- 49:22And it's all uninteresting without self-custody. It's barely interesting.
- 49:31Like there's some worthwhile things to like look into in the context of custody, but almost all of it is a derivative of where and how you can change the self-custody.
- 49:43You know, like even those things that are like business provisions for like ARK service provider or a lightning service provider, these sort of things.
- 49:52Or a business just having a wallet that has lightning enabled.
- 49:56It's specifically interesting from the context of Bitcoin because the business has self-custody.
- 50:01Whereas in the fiat land, the businesses don't have self-custody.
- 50:05There's no such thing as self-custody in fiat land.
- 50:07It literally doesn't exist.
- 50:09So anything that like Bitcoin can actually provide a sense of proof of reserves
- 50:14always goes back to where and how you implement self-custody.
- 50:18And the layer where in the hierarchy you can actually have the verification of this is the Bitcoin.
- 50:25This is how much there is. This is exactly who owns it.
- 50:28And this is where it is not permissioned.
- 50:30And even if we're talking about like the business is providing it for consumers as opposed to the business has it from the banks, right?
- 50:41Like has it separated from the banks.
- 50:44So kind of like a spectrum, you know, it doesn't really matter.
- 50:47It's always just a spectrum of self-custody of like how good is it?
- 50:52And that is the degree to which the economy, the system, the money, the people can actually resist fiat.
- 51:00Fiat is the perfect non-self-custody.
- 51:04Bitcoin in individual self-custody for everyone is the perfect self-custody situation.
- 51:12And the spectrum of being able to deny the lies of fiat is where we are in that hierarchy.
- 51:19The thing that I think people are having trouble with is this realization that I already had,
- 51:24you know, as someone who looks at the security of these things, is that the hardware wallet manufacturers,
- 51:30are also trusted third parties yeah right so you have an exchange that's a trusted third party
- 51:35you withdraw it to your hardware wallet it's also a trusted third party but people didn't realize it
- 51:40right and so it's like this big shock now it's like oh man i need to multi-vendor multi-sig
- 51:45right or you know somewhat more misguided i need to like roll a million dice and stuff
- 51:50uh you know and it's mostly comfort stuff like because i've you know i'm looking at this artifact
- 51:55And I kind of I kind of kind of fit it into my brain because they were not they were not really told this so much Like I mean there was sort of there but it was like yeah i mean it so you know dismissed as such a low risk counterparty risk you know that it was like i don need to
- 52:14push this every time you know i mean i that that was exactly how i treated it it was just like
- 52:18not something that felt the need to mention all the time but yeah well i tried to mention it i
- 52:25would always say listen all the because i'm trying to sell a product right so i'm trying to tell
- 52:28everyone like listen a hardware wallet is the only one that you do not trust it by itself to
- 52:33generate a random number okay so there's two signs that you trust the hardware wallets when they
- 52:37generate the seed for you and when they sign both of these things have randomness in them and if they
- 52:42generate can generate if they're left to generate the random number at either of those two times
- 52:46they're a trusted party uh and so what i was trying to tell people but i always also told
- 52:51people listen you don't need to be worried about this all these hardware companies are great
- 52:54you know like we're very lucky to have such brilliant people working in bitcoin hardware
- 52:59security we do this because we're a new company and we don't want to have two people to trust us
- 53:02we think that this is the right model going forward you know these are great companies don't
- 53:06worry about it obviously that was the bad i was wrong i thought i was being diplomatic or something
- 53:10but i was being like um just wrong you know this is this was the issue it is a strange behavior
- 53:18to buy a thing, a USB stick, right?
- 53:21That is for storing your life savings.
- 53:25And the manufacturer knew
- 53:26you were going to put your life savings on it.
- 53:28And anyone in the supply chain
- 53:29knew you were going to do that.
- 53:30And then you just like plug it in
- 53:32and it tells you some words
- 53:33and like, yep, I'm going to put my life savings
- 53:35on that thing, right?
- 53:37I mean, that is, that probably has to die.
- 53:40You know, I think that probably has to die.
- 53:43And so I think, I mean, people already knew that.
- 53:45That's why they're seed signer.
- 53:46Like people are into that.
- 53:48stuff like diy they're all like trying to find the the sweet spot right uh i think you know there's
- 53:55great i think it's a great i it would be it would be awesome to me if frost snap would just become
- 53:59like seed signer and like people would be anyone could make them and they just you know you know
- 54:06did that kind of thing uh and if it becomes like that i'll be extremely happy with it right
- 54:12it just didn't seem like we could do it without a company at this stage like do a full-on revolution
- 54:19like that uh it was going to be it was going to be tricky because this new design of everything
- 54:23and so um so yeah i think the seed sign i mean the problem is is the seed sign thing it like it
- 54:29falls down it falls down because like of the thing we demonstrated in dark skippy like if you just
- 54:34take the sd card out and replace like i find someone's seed signer i put a malicious sd card
- 54:39in there, all the money disappears. Because it's not just about generating your own seed. It's the
- 54:44signing time randomness as well. And this is just an artifact of the cryptography we use.
- 54:49We could actually, if we could go back in time, I would say round taproot,
- 54:54let's consider BLS signatures again, which is what a lot of other cryptocurrencies have used.
- 55:02And these BLS signatures don't have randomness in them. And they're very efficient. It was just
- 55:08seen at the time as like a bit too exotic for bitcoin because they use a different kind of
- 55:13elliptic curve and now everyone's using them explain how bls signatures would be different
- 55:19like what's the bls signatures are like very wonderful they're kind of like they just do
- 55:24everything perfectly firstly they don't have randomness in the signature so they're not none
- 55:29of these attacks at signing time work it's a fully deterministic signature is it so fully
- 55:34deterministic like yeah it's fully deterministic signature but you could it's still a secure
- 55:39signature scheme that's kind of amazing so it actually um every signature is also like creates
- 55:45it's a verifiable random function which is kind of cool so like any time if you have my public key
- 55:50and i sign a message like that is sort of a random uh it's sort of a randomness beacon
- 55:56over that message so it's because it's deterministic and no one can predict it it's like uh
- 56:01I can like flip a coin or something or like choose an outcome of a lottery.
- 56:04And I sign like,
- 56:06this is lottery number 57.
- 56:08And then that,
- 56:08that,
- 56:09that signature is like a,
- 56:10the chooses the winner or whatever.
- 56:12And I couldn't,
- 56:12I couldn't,
- 56:13I couldn't choose,
- 56:14I couldn't control it myself.
- 56:16Right.
- 56:17So it's like,
- 56:17it's,
- 56:18it's very,
- 56:18that's,
- 56:19it's cool in that way,
- 56:20but it's also very aggregatable.
- 56:22I was about to say,
- 56:23is it,
- 56:23does it,
- 56:24does,
- 56:24does it allow like Caesar kind of like taproot does or snore,
- 56:29but it's,
- 56:29but it's,
- 56:30It's better than C.
- 56:31It's like ultra Cs are non-interaction.
- 56:34So cross-input signature aggregation,
- 56:36we have to interact to aggregate them, right?
- 56:40So like anyone signing inputs,
- 56:41like if you're doing a coin join or whatever,
- 56:43everyone signing inputs would have to like interact
- 56:45and say, yeah, let's do this thing
- 56:47and then do cross-input signature aggregation.
- 56:50The BLS signature is non-interactive.
- 56:52You don't even need to interact.
- 56:53Like you can just take all the signatures
- 56:54in the block on the block
- 56:56and put it into one signature.
- 56:57Because it's deterministic.
- 56:59Yeah, yeah, yeah.
- 57:00But that would have to be like the same element that allows that, right?
- 57:04Is because like you just know.
- 57:05Yeah.
- 57:06Huh.
- 57:07So you just need one signature and it compacts into one and you can but you still need all the public keys obviously Right Sure You need all the public keys and all the messages But the signature just compresses into one It kind of amazing It incredible
- 57:23It's a fantasy land of signature schemes.
- 57:25But it was too fantastic for us back then.
- 57:29Well, it was also new, right?
- 57:31It was less tested.
- 57:36Was it decades?
- 57:38well when was i don't know 2004 this kind of stuff which is early 2000 i can't remember exactly
- 57:45early 2000 when this kind of stuff but yeah early 2000s we would have been an early adopter of it
- 57:50at that time like ethereum still wasn't using it and stuff like now like everyone's using it
- 57:54i figured just on the the idea of like always be the most conservative possible
- 57:59scheme and stuff kind of makes it make sense but in hindsight it's like well damn it
- 58:04in the end though like yeah is it actually conservative because now like seed signer
- 58:11would be a much better product if it was bls signatures because yeah that you could you could
- 58:16have the dream like oh i don't have any state on this device i don't need randomness at all at
- 58:23signing time so i do choose my own seed right i go through my own choose my own seat and now i am
- 58:26secure doesn't matter what malicious thing you put on there and i can even share my seed signer with
- 58:31you like it's a dumb signing device now that's what the creators of seed signer were thinking
- 58:35like we just like this whole stuff is secure elements on the stuff we just need a dumb sign
- 58:40device all it needs to do is take this stuff and produce a digital signature that's just one job
- 58:44why is it doing this extra jobs like producing randomness for you you should choose your own
- 58:48seed words and then it just becomes a dumb signer simple that's the most secure thing like simplicity
- 58:55the simpler it is usually the better
- 58:58there's just fewer ways to attack it
- 59:01unfortunately there's this randomness thing at signing time
- 59:04which means dark skippy is possible on them
- 59:06and she means it actually goes from being like a fantastic idea
- 59:09like a NVK's kind of right
- 59:11anyone who finds that thing is like tamper with it in five seconds
- 59:15can take all your money the next time you sign with it
- 59:18there's still ways of using seed signer like appropriately
- 59:20you just put one seed signer with each seed word
- 59:23you know and you just use it as multi-sig and you don't you know if they if they get your seed sign
- 59:28on tamper with it they got your seed words anyway right so it's like you keep them together and you
- 59:31hide them so you can still do it right um and it's kind of what frostnap is basically frostnap
- 59:36doesn't have it's like seed sign doesn't have like a pin number on the device or anything so we don't
- 59:41do that we just say keep your backup and your device together and put them in different locations
- 59:45and uh yes if your wife is creeping around you she may be able to steal it but you have bigger
- 59:50problems then you know you have to you know you're protecting against people like doing home invasions
- 59:56who want you to you know coerce you to get the money they can't do that they have to go to a
- 1:00:00different location they have to go to you know a you know a professional's place with a nine to
- 1:00:04five and they have to knock on the door and get your thing over there you know that's what uh
- 1:00:08that's what we make it really difficult for them you you have the difficult job though and it is a
- 1:00:12difficult job and once again it's not the iphone experience no one gives you the information like
- 1:00:17where do I hide my devices in which locations to keep my life saving secure? Like you have to have
- 1:00:24people you love and trust and stuff is not organized for you by the app. It's like,
- 1:00:28this is a real world question for you. Like, do you need a safety deposit box? Do you need a safe
- 1:00:32at home? Like, what do you want to do here? This is just the Lego building blocks of what you're
- 1:00:37going to build, but you do have to build that structure. So it's not too different from Seed
- 1:00:43higher in that way, I think. I'm curious. So you need randomness for the signature,
- 1:00:50and you need this to be, this is getting like deeper into the weeds of like, I don't know
- 1:00:57exactly implementation details of some of this stuff. And break down exactly why you need
- 1:01:05randomness in the signature. And I assume that specifically means you can't reuse the same
- 1:01:12randomness for the second signature and the third signature right like it needs to be fresh
- 1:01:17every single time why exactly is that is this because you can pull you can begin to take
- 1:01:26multiple signatures and reverse like information from those signatures to get back to the private
- 1:01:34key is that basically what's happening yes i mean it's i mean think of it as like a one-time pad
- 1:01:40basically. Something like a one-time pad.
- 1:01:43It's like you generate a random
- 1:01:45single-use encryption key
- 1:01:47sort of thing for your private key.
- 1:01:50And that's sort of
- 1:01:51like what you're thinking there. So every time
- 1:01:53you use this randomness, you sort of add it
- 1:01:55to your private key and here's the signature.
- 1:01:57And the signature is
- 1:01:58the hasher of the message plus the randomness
- 1:02:01plus the public key.
- 1:02:03You hash it into a value, multiply
- 1:02:05that by your secret key, then you add
- 1:02:07this randomness on there. That
- 1:02:09stops you being able to recover
- 1:02:10the secret key structurally from that value,
- 1:02:14which is the signature.
- 1:02:15And so the signature ends up being this sort of addition
- 1:02:17of all these different components,
- 1:02:19and then also that public nonce randomness.
- 1:02:25BLS signatures do something totally different.
- 1:02:27I will say that everyone who's like, you know,
- 1:02:30you know, loves this topic is already saying that, you know,
- 1:02:32you use this deterministic nonsense.
- 1:02:34So actually it appears random to everyone who's looking at the blockchain,
- 1:02:38but actually you as the signer, and this is what seed signer would do,
- 1:02:41it was not using like a TRNG to produce this randomness.
- 1:02:44It is hashing the secret with the message to produce like a pseudo random value.
- 1:02:51So you can produce the same randomness a second time with the same details,
- 1:02:56basically.
- 1:02:57With the same message.
- 1:02:58With the same message.
- 1:02:58allowed to do it with the same message.
- 1:03:00You're allowed to do it with the same message, so you just produce the exact
- 1:03:02same signature every time you sign that
- 1:03:04exact same message. So every time you sign
- 1:03:06a transaction, it's the same transaction. It's always the same
- 1:03:08signature.
- 1:03:10But you cannot verify the device
- 1:03:12is doing that without
- 1:03:14having the secret yourself.
- 1:03:16And so it doesn't actually
- 1:03:17you can try and interrogate it.
- 1:03:20It just moves it.
- 1:03:21It doesn't really solve the problem.
- 1:03:23Without getting too ridiculous,
- 1:03:25how does BLS solve this?
- 1:03:28bls doesn't have the randomness it's very weird a funny structure i was going to say but like why
- 1:03:34do they not why does bls not need the randomness i guess is the question yes bls so bls is very
- 1:03:41cool so think of it like this in with sec p256k1 which is our uh elliptic curve on bitcoin that we
- 1:03:50use for everything we have like two worlds we have like the secret key world and we have like
- 1:03:54the public key world right okay so signatures like we said they actually live in the secret
- 1:04:00the the the s part of the signature lives in the secret key world because it's like an addition of
- 1:04:05the secret key plus multiplied by something added this randomness to it and so that's where the
- 1:04:10signature is like and has these two worlds but bls is actually like four worlds okay so there's
- 1:04:16a secret key world then there's actually two public key worlds if you like two group element
- 1:04:23worlds and they don't actually go to each other that they they're isomorphic to each other and
- 1:04:28then there's a third world called the target group and it's okay it's a little add in like a diamond
- 1:04:33there's four of them anyway so your signature actually is uh ends up being not like one of
- 1:04:39these secret in the secret key world and so that's why you don't need to pad it with anything it
- 1:04:43actually ends up being in this public key world like your signature is a public key uh something
- 1:04:47like that it's it's like a group element it's a group element uh rather than a field scalar
- 1:04:52And so what that means is what you can do is this pairing operation, which takes from these two middle worlds and it pairs them together and sort of multiplies them by magic and you end up in the top world.
- 1:05:07And so when you have a signature, you have it in G1 or G2, which is this middle world.
- 1:05:12And then you will take the public key in G1, the signature in G2, and the message.
- 1:05:17You'll hash the message.
- 1:05:18And you'll do this merge of the two worlds.
- 1:05:23And you'll end up in this final world.
- 1:05:24And you'll be like, oh, yes, that is the multiplication of them.
- 1:05:26So actually, a BLS signature is so damn simple.
- 1:05:29You take the message, and you just take the message, you multiply it, you map it into one of these two middle worlds.
- 1:05:36and you multiply your secret key by the message.
- 1:05:40Simple as damn arithmetic you could imagine.
- 1:05:42And that's the signature then.
- 1:05:44And you can verify that there's no one else
- 1:05:48who can produce your secret key multiplied
- 1:05:51by this group element apart from you.
- 1:05:54And so anyone who can verify that
- 1:05:56with this special pairing operation can say,
- 1:05:58yeah, there's no way this guy didn't sign that.
- 1:06:00He definitely had his secret key to produce that group element.
- 1:06:03and no randomness is needed.
- 1:06:06So it's very, very cool, cool system.
- 1:06:11But you can't, how does that not leak information
- 1:06:16and be reversed if you're, I mean, I know I'm just missing.
- 1:06:20No, it just can't be reversed.
- 1:06:21So like your public key, right?
- 1:06:24It's like your public key cannot be reversed
- 1:06:27to your secret key and same principle here.
- 1:06:28So you're like, you multiply your secret key
- 1:06:31by the message public point.
- 1:06:33before then,
- 1:06:36you multiply your secret key by the message.
- 1:06:41Yeah, and that produces a point, right?
- 1:06:44So that's the same thing as going from private key to public key.
- 1:06:47So when we go from private key to public key,
- 1:06:49we take our secret key, we multiply it by a point.
- 1:06:52We go from secret key and we go to public key.
- 1:06:54And that multiplication produces the public key.
- 1:06:56And here it's like the same,
- 1:06:58that operation is the same to reduce a signature.
- 1:07:01You actually take the message, map it to a point,
- 1:07:05instead of multiplying it by the standard element G,
- 1:07:08which would normally get your public key,
- 1:07:09you just multiply it by the message.
- 1:07:11And then, bam, you've got a signature.
- 1:07:13So you basically just got an additional point.
- 1:07:16It's kind of like what SeedSigner is doing in the sense
- 1:07:19that they're using the hash of the message as their pseudo-randomness.
- 1:07:24But instead of doing it as a layer within the signing itself,
- 1:07:30they're actually doing it lower down in the actual cryptography as like applying that to the curve
- 1:07:36is that yeah they sort of don do it in the they don do it in the secret key space they doing it the message is getting hashed into a group becoming a public key the message hashes into a public into a public key itself and then combining it just like you would normally
- 1:07:51just like you would normally combine public keys after that the message itself just becomes part of
- 1:07:57the public key oh that's interesting i never thought about i never thought about like that
- 1:08:01But yeah, like in Snore signatures
- 1:08:03We're multiplying
- 1:08:05Something that's a hash of the message
- 1:08:08With the secret key
- 1:08:09But if I gave you a hash of the message
- 1:08:12With the secret key, you would get my secret key
- 1:08:13You would get the secret key
- 1:08:14Right, yeah, but with BLS we're hashing the message
- 1:08:18Into a public point
- 1:08:20To a point on the curve
- 1:08:20To make a public
- 1:08:22Damn, that is a clever ass trick
- 1:08:24That's crazy
- 1:08:27Oh man
- 1:08:30But you could also do this with, like, you could try and do this with Secbee256K1.
- 1:08:34The only problem is no one could verify it.
- 1:08:35I was about to say, couldn't you do it offline?
- 1:08:38But then you go right back to the problem of, well, you're just, your device is still doing it.
- 1:08:45You can prove it's the right point, but that's basically a Schnauil signature anyway.
- 1:08:49Yeah.
- 1:08:50So it's like proving it's the correct public message point multiplied by my signature key is the same as doing a Schnauil signature.
- 1:08:56Wow.
- 1:08:57Yeah.
- 1:08:58That's crazy.
- 1:08:59Cool.
- 1:08:59but this is very
- 1:09:00the BLS hasn't been talked about
- 1:09:02in the Bitcoin scene
- 1:09:03for a long time
- 1:09:03so we're bringing it back
- 1:09:04and it'll never happen
- 1:09:05it'll never happen
- 1:09:08because of the quantum stuff
- 1:09:09because like the quantum stuff
- 1:09:11like obviously
- 1:09:12that will break BLS as well
- 1:09:14and so
- 1:09:15the conversation ends there
- 1:09:17right
- 1:09:18it's like
- 1:09:18this quantum computer stuff
- 1:09:19is happening soon
- 1:09:20and then
- 1:09:21so we can't have nice things
- 1:09:22so we have to
- 1:09:23like prepare
- 1:09:24for the terrible
- 1:09:25quantum signatures
- 1:09:25and not the
- 1:09:26do you know
- 1:09:27nice fixed seed sign
- 1:09:28or all these things
- 1:09:29uh maybe but maybe in 10 years the quantum stuff will be uh all uh either totally ruined everything
- 1:09:36or people figure out it's totally impossible so we can have a bls yeah i'm i'm still on the fence
- 1:09:43about it if you look at it from the theoretical perspective of like okay what are the mathematical
- 1:09:48structures that make this the supposed quantum undoing easier the the rapid improvements
- 1:09:58towards making the theoretical need for quantum states to uh to basically you know find the lowest
- 1:10:08the path of least resistance from public key to private key has been like damn you know it's like
- 1:10:13oh we need a million cubits oh no we need a hundred thousand cubits no we need 50,000 cubits
- 1:10:20no i think we can do it with like 22,000 cubits you know like it's like it just keeps ratcheting
- 1:10:25down but then from the practical implementation side of like how many legit qubits have we done
- 1:10:31to actually run and you know reverse the you know a factor uh something the prime numbers out of
- 1:10:42something it's like that doesn't seem to be moving at all in the opposite direction you know like the
- 1:10:48the top is climbing down like what's the requirement but this thing has just been sitting here like
- 1:10:52I still have yet to see somebody do a two-digit number.
- 1:10:58Like, you know, like 27.
- 1:11:01Like, can you factor 27?
- 1:11:03And it has not actually been done successfully.
- 1:11:08Certainly not faster than a conventional computer.
- 1:11:12It doesn't do it.
- 1:11:14Like, it's flat out.
- 1:11:15They flat out, they can't get the qubits to do that yet.
- 1:11:19So those gates, they need to do that kind of computation.
- 1:11:22just don't don't work yeah um yeah yeah totally yeah they may they may be able to create these
- 1:11:27gates in the future it's um it's it's a massive it's a massive question because it's taken
- 1:11:33this many years and no one can produce the single gate you know even like just putting two of these
- 1:11:38gates together everything's like well there it is noises noises off the charts yeah so um they gotta
- 1:11:46really step up their game.
- 1:11:49I found this massive
- 1:11:50improvement in the Shores
- 1:11:52algorithm from Google. And then also
- 1:11:54the funny thing is Google wouldn't tell us how they
- 1:11:56did it.
- 1:11:58But eventually the clankers
- 1:12:00figured it out. Some people got the
- 1:12:02reverse engineer and they started improving it.
- 1:12:04And they doubled the efficiency.
- 1:12:06So Google said they 20x
- 1:12:08the speed.
- 1:12:10They could break things.
- 1:12:12Right?
- 1:12:14And reduce the resources also.
- 1:12:16So it should be like 20x the speed, but also 20x sooner to build a quantum computer, like
- 1:12:2320 times easier to build a quantum computer.
- 1:12:25Man, that's very vague, but you know, it's like much, much simpler quantum computer can
- 1:12:29do it.
- 1:12:29And then these guys like halved that.
- 1:12:31So it's like 40x.
- 1:12:33And then it's still like no one can, no one can make a quantum computer anywhere doing
- 1:12:38this thing.
- 1:12:38So it's kind of funny because, you know, there were these projections, like when is Q day,
- 1:12:42right?
- 1:12:43So like, I don't know, there was like 20.
- 1:12:44I think Google moved their migration away from
- 1:12:47elliptic photography to quantum secure stuff from 2023 or something It like 2029 because of this And people are like oh Q day is like coming in 2029 now
- 1:13:00It's like, but hang on.
- 1:13:01Like if you just 40X something,
- 1:13:04like it was coming in 2023,
- 1:13:05it should be coming like yesterday.
- 1:13:07If you just 40X the thing,
- 1:13:08like you've made it 40 times easier.
- 1:13:09It should already be here now.
- 1:13:11It should have landed at 2022.
- 1:13:12I don't even understand.
- 1:13:13Yeah.
- 1:13:14I mean, clearly we were not even 2% of the way,
- 1:13:17you know, we were like,
- 1:13:18we're not even 2% of the way
- 1:13:19towards quantum computers then we haven't made two percent of the progress to actually build one
- 1:13:23because if you just 40 you know like that's what i'm trying to point out here is that yeah actually
- 1:13:28like the scaling problem is like if it's 2029 is q day if you really think that 2029 is q day
- 1:13:34i mean your scaling must be incredible from from here on out i mean it's absolutely fantastic
- 1:13:40right um because there's right now we don't do anything but we're just about to get like a few
- 1:13:46qubits and then next month it'll have to be like 50x that and it just explode so i think it's not
- 1:13:52going to do that i think probably next year we'll be in the same position as we are this year i don't
- 1:13:58doubt that breakthroughs are possible yeah and they are getting much better at manipulating
- 1:14:03these uh some atomic quantum systems or these quantum systems they're getting much more precise
- 1:14:09about it uh you know they're making all kinds of progress there everything is making progress that's
- 1:14:16that's kind of the the we should have an insurance policy side of me says that like it's hard to deny
- 1:14:26there is progress there is progress especially in the context of like there were multiple ways
- 1:14:33to implement quantum gates and things seem to be all leaning in one direction toward the neutron
- 1:14:40um the i can't remember exactly what it's called but neutron is in the name oh yeah um uh towards
- 1:14:48one particular methodology for creating a computer but then you know the other side of me is like they
- 1:14:54don't even know how to build these things you know they don't even know what they're building yet
- 1:14:57um so uh the neutral atom it's a neutral atom neutral atom thank you that's that's what i was
- 1:15:04looking for um and uh it's it's interesting without i would say that this this like going
- 1:15:13between different architectures i mean it just shows you how early you are right exactly i mean
- 1:15:18like if you had settled on a different particular architecture like 10 years ago and you were
- 1:15:22iterating it's like it's not really working that's where it's getting what's the new hot thing right
- 1:15:27so it's like it's a bad stage like which is which is very which means it's still very early but of
- 1:15:32course like yeah it could like that's the same way ai was moving between all this different machine
- 1:15:37learning bullshit of course it was the transformer this large language model that ended up being the
- 1:15:43thing that's unreasonably effective uh that but also that thing might not exist i mean quantum
- 1:15:48phenomena are limited in their number you know you cannot you cannot make a you can make a better
- 1:15:55gpu you cannot really make a better electron it's like the same you stuck with them whatever they are
- 1:16:01Yeah.
- 1:16:01Yeah.
- 1:16:02And so you're kind of like,
- 1:16:03it's a,
- 1:16:04it's possible that quantum computers never exist.
- 1:16:06I still think that that's a like distinct viable possibility that that never,
- 1:16:09ever happens.
- 1:16:10It's totally on the table.
- 1:16:11Yeah.
- 1:16:12But like you said,
- 1:16:13the risk is too high to do nothing about it.
- 1:16:16So this is the,
- 1:16:17this is the difficult thing.
- 1:16:18So I have like a lot of opinions on that.
- 1:16:20I'm like skeptical of quantum computers,
- 1:16:23but I think we should work right away to have the most amount of coins that can
- 1:16:30be quickly migrated to quantum or already migrated.
- 1:16:34Like we should be able to migrate today.
- 1:16:36But I don't necessarily think that means you have like a quantum secure address.
- 1:16:41I think that just means you can put something in a tap leaf in a taproot address.
- 1:16:45It's a backup.
- 1:16:46So you can disable the key pass spend and then you can fall back to the quantum spend.
- 1:16:52So you can just get everyone on there.
- 1:16:54I guess you could basically hide the size of it in a quantum leaf.
- 1:16:58yeah you have a quantum leaf that's interesting i didn't think no one sees it you can basically
- 1:17:03forever have it in a uh in in a quantum backup plan without ever actually having to pay the cost
- 1:17:11until quantum supposedly lands or starts to show up um you can have like default that you can just
- 1:17:17like push that in every while it's like just let's just throw a backup plan just in case just in case
- 1:17:22you do kind of need um a soft fork to do it sure like because you can just throw backups in there
- 1:17:29but then anyone who discovers like your descriptor whatever can just spend the money because the new
- 1:17:34leaf will always be like anyone can spend it i if the leaf exists if it's that you don't soft fork
- 1:17:39the provenance of of that thing it's like it's like segwit right segwit without miners enforcing
- 1:17:45is useless exactly yeah so you gotta you gotta soft fork in there but i think we should soft
- 1:17:50fork in there like right away like i think that we got we got uh you know soon we have this shrinks
- 1:17:57excellent um proposal from the block stream guys jonas nick i think it awesome and so i think like having a soft fork in for that in the tap leaf leaf is something that no one could possibly object to for any reason Even if you quantum skeptical it a zero cost to do it
- 1:18:14So it's like, I think we should be doing zero cost things right away.
- 1:18:17But I think we should not be doing cost things right away.
- 1:18:22I think we have to be skeptical.
- 1:18:24I think my opinion, I don't know if anyone really shares it,
- 1:18:27is that we should not activate actual quantum
- 1:18:32spending that is like its own quantum address uh until like any new address type until we actually
- 1:18:41have proof that quantum queues exist i think that proof should come in the form of actually breaking
- 1:18:46elliptic curve cryptography like on bitcoin like like have a have a challenge that is like a smaller
- 1:18:53elliptic curve that should give us some time you know like 160 bit elliptic curve rather than 256
- 1:19:00bit and so and it sort of triggers it would just trigger as soon as someone can break the 160 bit
- 1:19:06um key right you could do that technically as like a burn approvable burn address
- 1:19:13couldn't you so that you knew it was with 160 bits could you could you pull could you do that
- 1:19:21in a sense that where you knew nobody ever had the private key yeah yeah you should be able to
- 1:19:25right yeah yeah okay yeah um yeah so you make it you take a challenge publicly and then people
- 1:19:31can donate to it you can send money donate to it and then they can they can take it as a bounty
- 1:19:35um and then this would actually trigger the like i don't know a one month delay or something
- 1:19:40and then everything becomes or like elliptic curve cryptography becomes disabled or something
- 1:19:45you know like just the all public key spending becomes disabled uh after that time period so
- 1:19:51that's what i think it should be something like this right so you choose your you choose your
- 1:19:55win time it gives us an activation window that's like objective or like you know like like you
- 1:20:02could actually trigger it based on that couldn't you would that make sense yeah whatever that would
- 1:20:06be smart yeah yeah that's what you're saying absolutely that's that's what i that's what i
- 1:20:09think that's exactly what i think because otherwise with me discussing yeah otherwise it's like a
- 1:20:14subjective thing it's like well when should we do it how should we do it and it's like well no it's
- 1:20:17like this thing this thing just got spent now you've got now you've got 365 days you know like
- 1:20:23this is this is that's the clock it totally changes the conversation like i just like if i
- 1:20:28have to have this conversation like someone has proving we just like speculate like google says
- 1:20:32they're breaking this and then everyone's gonna be saying oh it's fud and like and then we have
- 1:20:37like imagine we soft fork in like a quantum secure address and many people like prefer like they think
- 1:20:42this is the right way, which is like we have a quantum secure address.
- 1:20:46And then people who do the right thing will move to quantum secure address
- 1:20:50and then they will be safe.
- 1:20:52And everyone else who does not do that will be unsafe.
- 1:20:54And then that's just like let the chips fall where they may.
- 1:20:56And I think that that makes sense for many Bitcoiners
- 1:20:59because it's like, I mean, sort of like the roll dice thing.
- 1:21:02Like I rolled dice against my cold card.
- 1:21:03That's why I didn't lose my money.
- 1:21:04Like I did the right thing.
- 1:21:05But I actually don't like any solutions where people lose money at all.
- 1:21:09So I really, I really value the solutions based on how much money is stolen, basically.
- 1:21:17Like that is the benchmark.
- 1:21:18It doesn't really matter if you did the right things or not do the right things.
- 1:21:21Like you just followed the protocol, then you shouldn't lose your money, basically.
- 1:21:26And so that's what I would like to do is sort of make it so that there isn't two groups of people, like the protected people and the not protected people.
- 1:21:34Like we should try and be all in the same boat together.
- 1:21:39and then elliptic curve gets disabled,
- 1:21:42I would say we're going to hard fork
- 1:21:44to get that money back if we can.
- 1:21:46So there's other things you can do
- 1:21:48with people who have got their money frozen
- 1:21:50from this soft fork
- 1:21:52that's triggered by this quantum event.
- 1:21:56You can migrate them using proofs.
- 1:21:59They can proof that they have the BIP32 seed,
- 1:22:02like a zero-knowledge proof
- 1:22:04that gets very big on the blockchain,
- 1:22:07like several kilobytes.
- 1:22:08it's gonna be more expensive for them but they can eventually we can hard fork and allow those
- 1:22:13coins we spent by zero knowledge proof and so eventually everyone has their money back so that's
- 1:22:18what i think like over the long term we want to go for the solution where everyone gets their money
- 1:22:22back and zero money is stolen by quantum computers and i also don't want us to end up in a situation
- 1:22:27where quantum computers never exist and we have this like mess of different addresses yeah and
- 1:22:33you know they were never justified and people end up paying like 5x the fees or even worse we
- 1:22:39preemptively like force everyone over to quantum addresses for no reason uh and set yeah for for
- 1:22:47no good reasons and we nerf bitcoin by like you know a 5x in terms of the amount of transactions
- 1:22:54like i don't want to make bitcoin worse unless it has to be worse unless it has to be you know
- 1:22:59nerfed. We'll survive with
- 1:23:01quantum addresses. They're like, luckily
- 1:23:03these
- 1:23:04schemes people are coming up with are much better than I
- 1:23:07thought they would be back in the day. I thought
- 1:23:09that quantum would be really
- 1:23:11almost a death sentence, but
- 1:23:13it's not. Bitcoin will
- 1:23:15persevere through it for sure.
- 1:23:17And so that's great. I still
- 1:23:19think we shouldn't make Bitcoin nerfed just because someone might be claiming it has to be
- 1:23:26objective like they gotta they gotta break something of course people are worried like
- 1:23:30what if the quantum attacker doesn't break the on-chain puzzle and they like you know they
- 1:23:34they just start attacking Satoshi's coins or something or they just start attacking random
- 1:23:40people's coins and we don't have any trigger to like disable this stuff and and you know uh
- 1:23:46everyone's coins can be stolen and that's that is a concern i think it's just the least
- 1:23:51important one just because it doesn't i think it's like highly unlikely that someone develops
- 1:23:58a quantum computer just to attack bitcoin and doesn't tell anyone about it sort of thing it's
- 1:24:03like a secret quantum computer because you know you can attack bitcoin um with mining like you
- 1:24:09an attack and people sort of seem to underestimate how damaging that could be or how possible it is
- 1:24:17like it's like impossible in most bitcoin's mind that this could be a 51 attack but if you look at
- 1:24:21the cost like no it's a cost to invest billion dollars like you could you could take it like
- 1:24:26and that that's what it would be relevant to a quantum computer you know like you could do that
- 1:24:30yeah i mean look at how much money elon musk has if you just spent his entire net worth on doing it
- 1:24:35I think you would make some progress, right?
- 1:24:37And there's one guy, right?
- 1:24:40So I would think it's more economical
- 1:24:42to do a normal 51% attack
- 1:24:45to do a secret quantum attack on Bitcoin.
- 1:24:48So I think this risk is less.
- 1:24:50Some people are like,
- 1:24:50no, I need my quantum secure address now
- 1:24:53so that I can be safe no matter what.
- 1:24:55And no one's going to invest in this thing
- 1:24:56unless we have that.
- 1:24:58So that's the pressure.
- 1:24:59And I think that's the tension
- 1:25:00in the argument.
- 1:25:03I want the safety now.
- 1:25:04and I'm willing to pay for it.
- 1:25:06Like, why would you stop me from having this address type?
- 1:25:09I'm willing to pay the fees.
- 1:25:11This doesn't affect you.
- 1:25:12I don't have like the strongest argument,
- 1:25:14but other than I think it's going to be a shit show.
- 1:25:16I think like, you know,
- 1:25:19sailors coins are right now secured on a very,
- 1:25:22you know, good multi-party computation,
- 1:25:24a bit like Frost, like what we use, right?
- 1:25:26It's like keys are split up.
- 1:25:29And, you know, that's, I mean, imagine losing that.
- 1:25:32I mean, we were talking before this started,
- 1:25:33like multi-sig and how sort of weird and the consequences are of it like imagine if coinbase
- 1:25:40wants to move out a key because they believe it's compromised uh and you use traditional multi-sig
- 1:25:45right you have to move like all the coins of all your clients like all those sailors coins be
- 1:25:50moving somewhere else and it's like a big bit of it yeah all the etfs is like it's all going
- 1:25:57moving around all the trackers are going to look crazy utx oracle's going to go bonkers
- 1:26:02all the all those on-chain metrics all the algorithms of trading on the on-chain
- 1:26:09yeah so it's like uh we've got these really good systems that use multi-party computation
- 1:26:14they use elliptic curve photography i don't know tens of millions hundreds of millions have been
- 1:26:19invested in building them and like are they storing like hundreds of billions of dollars
- 1:26:24of bitcoin like uh i don't think i want to get rid of them and because then when you when you
- 1:26:31when you make this quantum secure address thing,
- 1:26:34I have a feeling like everyone gets pressured into it as well.
- 1:26:37So it kind of becomes like everyone has to generate either.
- 1:26:42We have to generate new quantum secure multi-party computation,
- 1:26:46which may be okay, but it's going to be like,
- 1:26:49it's hard to compete then.
- 1:26:50It's going to be like one takes two
- 1:26:51because they're going to be hard to implement, I guess.
- 1:26:55But I guess open source, I mean, I think there ends up being competition,
- 1:26:58but it's less reachable, right?
- 1:27:00these secure systems that currently store all this money uh i don't like that everyone's stored
- 1:27:06on coinbase but it's good that it's you know done well and then i don't want it to be degraded
- 1:27:12and then move to like a more traditional multi-sig uh with quantum secure making like every every
- 1:27:18signature is 5x and then you have like five you know five signatures on chain because you can no
- 1:27:23longer do the npc stuff so it's 5x 5x uh yeah that's that stuff that's kind of why i think yes
- 1:27:29you should not have the option of a quantum secure address
- 1:27:33because it creates a bad incentive structure
- 1:27:37around this custody stuff.
- 1:27:40But anyway, I don't run Bitcoin,
- 1:27:42so if enough people support it,
- 1:27:44then that'll be the thing that happens.
- 1:27:47I'm curious.
- 1:27:48Well, two things.
- 1:27:49I really like the objective,
- 1:27:52like put a significant bounty.
- 1:27:57That would be the question,
- 1:27:58Can we reach that threshold of incentivized enough to take the bounty address early before you can get Satoshi's coins?
- 1:28:08It's going to take you five years from where you are to get Satoshi's coins.
- 1:28:14But today you can take the bounty.
- 1:28:16If the monetary incentive is strong enough, you actually want to take the bounty.
- 1:28:22You're actually more likely to get the value out of the bounty because you're protecting Bitcoin.
- 1:28:27You protecting what your bounty is being paid out in right There that And there also competition like you could keep working towards satoshi coin and then somebody else takes the bounty and now you screwed yeah yeah yeah exactly so it has good game theory it has good
- 1:28:42game theory it has good game theory unless literally the entire goal is to just destroy
- 1:28:47bitcoin and you don't really care about the money but then that uh luckily is against all basic
- 1:28:52human incentives, generally speaking, unless you're a government.
- 1:28:57And your entire purpose is you have a dominant
- 1:29:00fiat money and your dominant fiat money is actually being threatened
- 1:29:04by Bitcoin. So it would basically be
- 1:29:08I think U.S. government on
- 1:29:12the most malicious timeline while Bitcoin is
- 1:29:15$50 trillion.
- 1:29:16and they don't care about China
- 1:29:21because now they're going to reveal their hand
- 1:29:23that they have this quantum computer
- 1:29:24and they don't care about any of the adversaries
- 1:29:26or anything
- 1:29:26national security problems
- 1:29:29that would be revealed there
- 1:29:31or any of the reasons
- 1:29:34to be able to have an upper hand
- 1:29:36against China or another enemy
- 1:29:38it would have to be solely a focus
- 1:29:40on Bitcoin
- 1:29:41and I think
- 1:29:44the incentives are enough aligned there
- 1:29:46that that's the safest game theory to play
- 1:29:50is a canary-style thing
- 1:29:54that actually does the activation
- 1:29:56of whatever the new scheme is.
- 1:30:02But I wanted to ask,
- 1:30:03which I hadn't even thought about, by the way.
- 1:30:05That's a clever idea.
- 1:30:07But I did want to ask,
- 1:30:10does some of the stuff that I have read into,
- 1:30:13and I haven't really dug into the signature elements
- 1:30:15of quantum stuff that much.
- 1:30:18Does anything actually get us the,
- 1:30:21because one of the most popular
- 1:30:25is kind of the hash-based signatures, right?
- 1:30:29Which I immediately hear deterministic
- 1:30:32when it comes to like BLS stuff.
- 1:30:37And with script, you get the benefits
- 1:30:43of just, you know, still being able to do so many of the things that we do, the complex things and
- 1:30:48the lightning and hopefully all of that stuff, it actually gets retained and moving to this new type.
- 1:30:55But does that actually mean that we could have some benefit to moving to like a lattice or a
- 1:31:03hash-based quantum signature in the context of like BLS and interactions and stuff? Or do you
- 1:31:10even know yes it depends on the hash base scheme but if you use the one like shrinks which is like
- 1:31:15the needing one unfortunately that wouldn't fix the the seed sign of problem damn it because it
- 1:31:22actually yeah i know it's that's all we were gonna get it like get a little get a little silver
- 1:31:26lining in here i thought so i was thinking about that also but i realized it has state
- 1:31:30so it actually needs to remember okay so it needs to remember what it has signed uh like it can't
- 1:31:36use the same public key to sign this um different messages unless you remembered which one you
- 1:31:47signed before already i think that's the gist of it i haven't looked so too closely at it but it
- 1:31:52has state so you need to sort of remember these hash base signatures have that they have this like
- 1:31:56merkle tree and then they open up a path and they sign that but then they design a different one they
- 1:32:01would open up a different path because like it's like a lot of keys like jammed into one and each
- 1:32:06is like a one-time use so you need to remember which ones you've used and so that's why seed
- 1:32:11signer would still not be as long as you never did rbf like as long as you only signed once
- 1:32:17then yes seed signer would be okay because it wouldn't need to remember anything but if you
- 1:32:21rbf or something or you know yeah you move you use you reuse reuse or something yeah then you
- 1:32:28then you're in then you end up losing some security if you uh if you reuse it unfortunately
- 1:32:33so yeah yeah um but if that maybe lattices i haven't i i'm not an expert on lattices i think
- 1:32:40we're not going to get lattices on the first um one i think shrinks is the one we're probably
- 1:32:45going to get but i have heard like on a not not super relevant to seed sign a bit more relevant
- 1:32:52to frost snap is that we there may be like dan bonet who's actually i mean the the the b in bls
- 1:33:00is Bonet. So it's Dan Bonet. So he's come up with a threshold, like an appropriate threshold
- 1:33:08signature scheme for shrinks, which I didn't think would exist, but with lattices and it sounds
- 1:33:14really, I haven't read the paper yet. I would not have the mental ability right now with all the
- 1:33:21things going on to actually look at that paper. But I did see some screenshots of some slides
- 1:33:25that he is presenting some kind of interesting threshold scheme
- 1:33:30that maybe we could adopt.
- 1:33:31The devil will be in the details
- 1:33:33so we could actually keep the technology of Frostnap
- 1:33:36the same into the quantum world,
- 1:33:38which would be super exciting if that happens Still I would still not be in favor of just cornering Let do cornering that like let do the for quantum now and we corner the market on this um this tech i would refer to i still know to have the to have the canary and um and only move to it once they really is quantum
- 1:33:57computers because they are really a spectacular new discovery if they really can exist yeah that
- 1:34:04would be its own just like profound like no indication yet really that it's that it's ever
- 1:34:11going to work but holy crap breakthrough it would definitely be the first LLM moment I feel like
- 1:34:18um yeah I'm no I'm no physicist or whatever but it seems like crazy that you can whisper like
- 1:34:23your math problems to like subatomic particles and they can just solve it for you um I mean it
- 1:34:30hasn't worked yet like no one's actually done it but like uh that would be crazy i don't know like
- 1:34:34most physicists seem to think that it's like totally legit and like normal for like sub
- 1:34:38these particles these quantum phenomena do that for you uh i i i'm just a i'm a layman so i don't
- 1:34:45really know but i it would it would change my opinion of the universe for sure yeah because
- 1:34:50there's all this like it gets into all this philosophy like so when you compute that thing
- 1:34:55like is it computing it in another universe or something like is there a multiverse and like
- 1:34:59like the computation is sort of spread across all these different universes or is this um
- 1:35:05you know what is the computational capacity of matter it's like a it's like a weird question i
- 1:35:10don't i don't have any any bearing on it just seems amazing to me the way i understand it
- 1:35:17because i i heard someone a physicist i wish i could remember who it was um kind of like debunk
- 1:35:23the idea of like, oh, it's happening in multiple universes. And I wish I could properly
- 1:35:31do anything with his argument or repeat it here, but I can't.
- 1:35:38I just remember thinking it was an interesting addition to the whole thing,
- 1:35:41because he really kind of like, I think that's just a silly way to think about it
- 1:35:46in his perspective. But the way I am trying to read about all this quantum stuff
- 1:35:52is quite possibly the most jargon-ridden,
- 1:35:59like I would not wish it on any lawyer that I've ever met.
- 1:36:03And there's plenty of lawyers,
- 1:36:05and the idea of lawyering I hate,
- 1:36:07and I hate their jargon world,
- 1:36:09but Quantum is the most jargon-filled bunch of crap.
- 1:36:13It is like reading a different language,
- 1:36:17and it feels so unnecessary.
- 1:36:19It feels like I'm being explained something by someone who wants me to think they understand it, but who doesn't understand it.
- 1:36:27You know, they're replacing jargon with I don't get it.
- 1:36:30Like the place where they should say, I don't understand how this works.
- 1:36:32They put in like five pieces of jargon.
- 1:36:34And it's like, dude, you don't understand this.
- 1:36:37I know that you don't understand this and you're trying to make me feel like that you're a magician.
- 1:36:42So anyway.
- 1:36:43Oh, yeah.
- 1:36:43Quantum swap predates LLM.
- 1:36:46Quantum swap predates AI.
- 1:36:48So for the people that I feel like actually do have some semblance of putting this concept into an understandable sense is that if you line up billions and billions of gates and you can sit them perfectly between a zero and one, you can somehow just put them on that like balancing act of, you know, like a glass on a finger.
- 1:37:18or whatever, where it's going to fall one way or the other.
- 1:37:21And you can shut up the universe.
- 1:37:24You can give it no noise whatsoever.
- 1:37:28There's nothing, there's no wind, there's no water in this glass,
- 1:37:33there's no movement in my finger or heartbeat or anything.
- 1:37:36You can shut out the entire universe from this tiny little thing.
- 1:37:40And then you put a public key at the end of it,
- 1:37:43and you give an empty spot at the beginning of it.
- 1:37:48That all of these things, there will be a path of least resistance where they all could flip just right to recreate the private key.
- 1:37:58That this is kind of the concept behind what is actually attempting to occur.
- 1:38:04The problem is, can you create a little environment in which zero noise exists from the universe?
- 1:38:14Like that's the thing that seems fundamentally intractable.
- 1:38:17like subatombe there's noise everything has noise like the universe is noise you know like you can't
- 1:38:23even you can't predict what an electron is doing we don't even know if electrons have locations
- 1:38:27you know like they we think they teleport around uh like we don't even know if it's like a real
- 1:38:32thing really like we have this theory that maybe it's a thing that like teleports in and out of
- 1:38:38existence it's a field but it's also a thing but it's a field you know like it just like even our
- 1:38:43understanding of what those things are suggests nothing but noise in the concept.
- 1:38:49So like it it seems like the physical reality of it may literally be intractable because we can create a microscopic Schrodinger box right
- 1:39:03But that possibility does exist.
- 1:39:07You know, zero Kelvin and shut everything.
- 1:39:09No temperature, no nothing.
- 1:39:11Maybe.
- 1:39:12Maybe.
- 1:39:13But.
- 1:39:15That's the funny thing.
- 1:39:15Normally, we have to add energy to do computation.
- 1:39:18This one, you have to suck all the energy away.
- 1:39:20Call me energy out.
- 1:39:22Yeah, that's a great way to put it.
- 1:39:24It's like zero energy.
- 1:39:25And then it just computes the most ridiculous computations very quickly.
- 1:39:29Like, I mean, it is a very strange universe if it's possible.
- 1:39:35I still, of course, it's strange anyway, but it's very strange.
- 1:39:38If that's the way it works.
- 1:39:40I don't.
- 1:39:41I'm too smooth brain to even get into it.
- 1:39:44I don't even try to conceptualize it.
- 1:39:46I just sort of, I just try to see like, okay, like the progress of this, like we were, you know, you know, how does, how much progress is it really making?
- 1:39:55Because they can make not progress at all sound like a lot of progress.
- 1:39:59They're very, they're very, they're really great for marketing, really great for funding, you know, like, yeah, that's their job.
- 1:40:05It's like sort of, you just sort of check in on them every once in a while.
- 1:40:09And you sort of, you just look at the top lab, which is always Google at the moment.
- 1:40:14or you just look at the top lab and like how are they going how are the personnel going in there
- 1:40:19are they still the same guys are the linkedins you know they're moving around what what's going
- 1:40:23what's going on over there are they switching yeah from one architecture to another architecture
- 1:40:28uh they the guy the ceo claims like it's the next llms like it's the next transformer like
- 1:40:34five years we're just gonna be talking about quantum computers all the time uh i i don't i
- 1:40:39I'm not confident in that.
- 1:40:41I'm not confident in just getting the vibes of it.
- 1:40:44It looks really hard.
- 1:40:45If it's possible, it's the damn hardest thing we're going to ever done.
- 1:40:50I mean, it's so amazing what they can do, though.
- 1:40:52You have to respect the immense effort and achievement of the human mind
- 1:40:58to create these little environments where they can make electrons spin around
- 1:41:04and interact and become qubits.
- 1:41:08it's just incredible that we ever did that right as a species whether it works or not i don't know
- 1:41:14but it's it's it's it's incredible yeah um i'm curious uh we've already been going for like
- 1:41:20super long and i haven't eaten breakfast i just like jump right into this for the coffee
- 1:41:24um so i'm gonna have to cut it off in a minute and i got some uh i got a prior obligation but
- 1:41:29i did want to get a little bit into the red teaming stuff um since uh uh you know quantum
- 1:41:37is this very distant, far away theoretical,
- 1:41:42maybe it'll hurt us.
- 1:41:43And instead we got smashed by a cold cart bug
- 1:41:47and entropy bug in cold cart firmware.
- 1:41:51Much more real and present threat.
- 1:41:54And you said you've been spending a lot of time red teaming.
- 1:41:57I have actually been doing the same thing,
- 1:41:59mostly just spending PPQ tokens on Kimmy K3
- 1:42:03for the stuff that we're building.
- 1:42:07But I haven't really devoted the sit down and think about my own attack vectors.
- 1:42:15And Kimmy just kind of seems to do the predictable things for trying to get into my pair drive spaces, my private spaces.
- 1:42:26And so it's been really interesting.
- 1:42:32So far, it's been secure.
- 1:42:33They can't really pull anything out of it.
- 1:42:36And mostly it's just because our permission systems is really dumb.
- 1:42:39You know, it's just like, don't send messages if it's not a public key that you've accepted.
- 1:42:43You know, so it's like, it just, you can just manage your connection because everything's with keys.
- 1:42:51But nonetheless, I've been thinking like, how do I better do this?
- 1:42:56You know, I feel like there's got to be attack vectors that I'm missing, you know,
- 1:43:02and that I could prompt or I could nudge Kimmy in a different direction as opposed to just trusting that the model is going to come up with all the best ways to go after this thing.
- 1:43:14And how do you think about it in the context of FrostSnap and Frost itself and hardware wallets and all of our Bitcoin software?
- 1:43:23where I feel like there has been this massive renewed vigilance of,
- 1:43:29I mean, for better or worse,
- 1:43:32it's always the painful things that get us to actually get off our asses.
- 1:43:36But this renewed vigilance of like,
- 1:43:40we should have been verifying this shit,
- 1:43:42especially with these new tools,
- 1:43:44how are we not taking advantage of what we have?
- 1:43:48Yeah.
- 1:43:49So maybe expand on that.
- 1:43:53Kimi K3 pretty much does surface this thing
- 1:43:56the cold card thing
- 1:43:57so it was pretty much a race
- 1:43:58to whoever can prompt Kimi K3
- 1:44:00on the cold card firmware
- 1:44:01ask it anything about
- 1:44:03vaguely about security and entropy
- 1:44:06it would have
- 1:44:06I think it finds it
- 1:44:08wow
- 1:44:08unfortunately it was a bad guy
- 1:44:09I thought it was a bad guy that did it.
- 1:44:12It would have been really great if someone like us, we did it just.
- 1:44:15The thing is, actually, I think we would have found it because Nick, my co-founder there, was prompting it.
- 1:44:23But he was not.
- 1:44:24It was just when Fable was nerfed.
- 1:44:26Like Fable was not allowed to be used at that time.
- 1:44:28It was literally that day after it got nerfed, he started doing it.
- 1:44:33So if Fable was not nerfed and didn't downgrade you automatically,
- 1:44:38I think Nick would have been the one to get it.
- 1:44:41Wow.
- 1:44:42It was just that time when those new frontier,
- 1:44:44like Fable was probably the first model that probably would have got it coming
- 1:44:47out.
- 1:44:48And so,
- 1:44:48yeah,
- 1:44:48it would have,
- 1:44:49it would have worked if not for that policy.
- 1:44:50I think we would have got it earlier.
- 1:44:52That is amazing to think that the safeguards are the reason we're not safe.
- 1:44:59It's like,
- 1:45:00I have thought that this was the stupidest policy is the,
- 1:45:04is to nerf it.
- 1:45:05It's like taking guns away from honest citizens
- 1:45:08so that criminals can't have them, you know?
- 1:45:11Yeah, and with Fable,
- 1:45:13I'm on the cybersecurity program, whatever,
- 1:45:16with Anthropic, and they've looked at me briefly
- 1:45:20to see, like some AIs have looked at me
- 1:45:22to see briefly that I'm probably a security researcher
- 1:45:24or something, I don't know.
- 1:45:26But they still downgrade you on the Fable thing,
- 1:45:28so you can't use the Fable thing.
- 1:45:30Luckily, I mean, I think Rob Hamilton
- 1:45:33is making progress there.
- 1:45:35building he's got relationships he seems to got like on the very deep like open ai security program
- 1:45:41and he's got like the the daybreak blue whatever defensive security um models that seem to be
- 1:45:50like the most effective right now so that's a good uh good change so yeah we've been um for our
- 1:45:55own stuff like we've been doing it for a while like uh with these things and we have found uh
- 1:46:01pretty bad things in you know previously they were never actually like they were not finding like
- 1:46:07big problems actually but they did find smoke they did find things that we should look at
- 1:46:12and through that we found some bad things uh and fixed them with uh with kimmy k3 it's found
- 1:46:19been able to find bad things on its own and we're in the middle of fixing them of course nothing like
- 1:46:24crazy like the cold card or whatever you can you can um you know uh we'll have a new firmware
- 1:46:30upgrades soon new new releases uh i think it's gonna be a nick another six months of this kind
- 1:46:38of stuff and it's basically only the strong survive so we're doing the best to survive
- 1:46:43we obviously all use our own products so we're all so worried i mean with frost time is very
- 1:46:48sort of boring model right it's not like remotely steal your money or whatever it's like things in
- 1:46:53different places so it's going to be hard for it to escape it and all that's all the key generation
- 1:46:58is we've looked at it very, very, very hard.
- 1:47:00And so we know that all of our devices, you know,
- 1:47:02have secret shares and they cannot be,
- 1:47:04the secret cannot be gotten at.
- 1:47:06It's kind of like at a fundamental base layer,
- 1:47:08very confident, but like other things, you know,
- 1:47:10there are all sorts of wacky things in Bitcoin
- 1:47:12that you can lose your money on, you know,
- 1:47:17or like have the appearance of it being gone,
- 1:47:20you know, even when it's still there.
- 1:47:22We just had a bug where that has happened
- 1:47:24and we're fixing that for a user, a very weird thing.
- 1:47:28that happened where like they had a change address that was like outside the range
- 1:47:32sort of thing and then they recovered onto sparrow and sparrow didn't find the money
- 1:47:37and so they looked like money was gone and like this kind of stuff yeah and it's like uh you know
- 1:47:43there's there's stuff like this we're hardening up right now it's just like going through deeply
- 1:47:48and getting all the bitcoin stuff right because actually like our project was a lot about
- 1:47:52cryptography and doing that right and the bitcoin was like a nice simple layer on top
- 1:47:56We're finding like Bitcoin is actually, there's quite a lot to do there that require, you know, to get it right.
- 1:48:02And some things like not, no one really has gotten it right thus far, right?
- 1:48:07Some of them are weird.
- 1:48:08Like, yeah, like change addresses.
- 1:48:09If my Sparrow makes a PSPT with a change address that's on my keychain, but it's like change address like 2 million.
- 1:48:18Do you know that?
- 1:48:19Like when your hardware wallet is looking at that saying the change address is here.
- 1:48:24Some of them do, some of them don't.
- 1:48:25Some of them let you inspect it if you want to, but otherwise let you go through.
- 1:48:29And then what you'll find is like the next time you try to, you recover the thing or whatever, you can't find your money.
- 1:48:34And actually it might take some computation to go look for that money.
- 1:48:36And like who's built the tools for that.
- 1:48:38And so this is like, you know, like a design problem that is existing in almost like everything.
- 1:48:44And it just relies on like once again like this your Sparrow wallet not being malicious right It like actually you are like you are trusting that little laptop a little more than you think uh in things if you really put on your like attack hat on like and think oh they could hide your money in your own keychain your hardware wallet
- 1:49:00will say okay and now they ransom you or something right yeah uh to go because they you can't find it
- 1:49:06only they know where it is uh you can probably write software to find it right with enough
- 1:49:10computation you'll be able to find it but it's like stuff like this we're not thinking so deeply
- 1:49:14about these kind of problems.
- 1:49:15And now the agents are good at surfacing those things.
- 1:49:18And now we're like, it's a tool of thought.
- 1:49:20Like we're thinking all the time now.
- 1:49:22It's like all these things where you're like,
- 1:49:23ah, it's really good now.
- 1:49:24We can just relax and just implement new features.
- 1:49:26It's like, we're not there quite.
- 1:49:30We were quite far behind on that actually.
- 1:49:32We're going back to the bottom.
- 1:49:34We're going back to the bottom, absolutely.
- 1:49:37And we're doing security first.
- 1:49:39We've got building tools that are just like
- 1:49:42automatically doing this stuff.
- 1:49:44But not netting it be like a safety net or like a comfort blanket either.
- 1:49:48Like you don't want it to become something like that.
- 1:49:50You want it to be kind of like looking, yes, looking for mistakes on every change.
- 1:49:58But also maybe like looking for areas that you haven't tested, even if it can't find a problem.
- 1:50:04Stuff like that.
- 1:50:05Like looking for areas and building tools.
- 1:50:07Like that's the amazing thing about it.
- 1:50:09It's like you can build tools.
- 1:50:10I built a tool for Frostnab that lets us run the whole app, right?
- 1:50:15So it's like virtually and run all the devices virtually
- 1:50:18and like run through and like take screenshots of all the screens
- 1:50:22and like give you videos of all the whole thing happening.
- 1:50:26So it can find a bug.
- 1:50:27It can actually just do the whole video for you and show you the bug,
- 1:50:31which is not anywhere near possible until recently, right?
- 1:50:35To do this kind of stuff.
- 1:50:36That's so crazy.
- 1:50:37yeah it's like it's like what these things are is like extreme darwinian pressure yeah and you can
- 1:50:43see one company has already been deleted one of what people thought was the strongest company
- 1:50:47has been deleted and we are now we are not going to be deleted we are going to make sure we're still
- 1:50:52there at the end of this and like code bases that are still around in six months or that have not
- 1:50:58been like uh fully owned like probably they stay around for a lot longer that's what we're thinking
- 1:51:03right yeah you know it's funny like this is kind of you know humans adapt and we adapt markets
- 1:51:14adapt um and i'm always encouraged by the amount of the speed and depth of the reaction when things
- 1:51:25happen but it's funny you know people talk about like oh you know self-custody won't happen or
- 1:51:33you know this people will never learn this and i always i'm always surprised by you know it's
- 1:51:40it's almost like a fun trope of just like everybody's stupid you know um and i think
- 1:51:47this gets propagated and too heavily believed when in reality it's just not true it's just that
- 1:51:58so few people have so little time to actually focus on any one particular thing.
- 1:52:05You know, if you have 1 million things in front of you that you could focus on or that
- 1:52:09you could learn and you only have time to learn seven of them, then of course you're
- 1:52:14going to look like an idiot because 999,993 things you don't learn.
- 1:52:19Um, but when it comes to survival, like if the problems of self custody, if the problems
- 1:52:29of fiat are all true, if we're right about those things, then we will all learn by necessity.
- 1:52:38Like it won't be a question of, can we learn it?
- 1:52:42It won't be a question of, you know, you don't own your money because, you know, you're
- 1:52:47trusting someone else. Well, no, then that means that trusting someone else is perfectly fine and
- 1:52:53there's no problem with fiat. Otherwise, we're going to end up in a world where people just do
- 1:53:00understand, like they understand, you know, basic mechanics and social relationships and
- 1:53:09mechanical relationships between things for the most part. They're going to understand entropy,
- 1:53:15what the idea of entropy is, and they're going to understand what the idea of a key is.
- 1:53:21It's going to become normal, or those things are not going to be problems in our lives.
- 1:53:27But if they are problems if they are the determinant factor whether or not your business ends up owning your money or whether or not your business has to trust a government and the government takes it from them Um or we live in a world suddenly where governments just don take money from people Um then I just don see how there not just a path like the three
- 1:53:45old is going to be able to understand this. Yeah. You know, like, and I don't mean it like they're
- 1:53:48going to be able to understand entropy. I mean it in the sense that like, it's going to have to be
- 1:53:53so common if we're right about the problems of the world and the problems of the future,
- 1:53:59because if we don't get security right, we just won't be,
- 1:54:04we're not, we won't, the world won't work.
- 1:54:07The world won't work where we're headed.
- 1:54:10Like either it's going to become so normalized that we do get it
- 1:54:16or we're headed into a future where the idea of kind of humanity
- 1:54:22controlling its future just isn't there anymore.
- 1:54:24And I think basic evolution dictates that now we're going to have to just think
- 1:54:29it out i think that's a great point at some point like uh like people thought banks were very awkward
- 1:54:37you know like why wouldn't i just leave my money in my house figure out a check and deposit and
- 1:54:42like what is all this crazy is this is a solution looking for a problem you know what i just have my
- 1:54:47money here under my mattress like what are you doing with and then people keep losing it in rug
- 1:54:52pools like what from the banks collapsing like what are you guys doing and the banks acknowledged
- 1:54:56it but actually it was not viable it was not viable to keep your shit at home and it was all
- 1:55:02but so people learned the esoteric bullshit about checking accounts and checks and all that stuff
- 1:55:08and like it became super normal and then you save for your kid's bank account and stuff um yeah that
- 1:55:15so i think yeah you just become normal not for everyone like it's still like it's not it's it's
- 1:55:21going to be it's like a vanguard that that does this themselves probably uh but it's not a small
- 1:55:27club you know it's um you know everyone will know someone who does it yeah yeah um but dude
- 1:55:35this was great conversation um uh i'm i'm happy when we went down the quantum uh route even though
- 1:55:42steve will just hate me for this um because he hates it when i bring up quantum but uh i i think
- 1:55:49we actually had some fun things to some fun threads to pull on there and this is a great
- 1:55:53conversation and uh i feel sad that i don't have a frost snap to actually play around with um i'm
- 1:55:59gonna i'm gonna break down i've been on a kick of ever since ever since this cold card thing i've
- 1:56:05really like i told you i just used my foundation for the first time um or started really tinkering
- 1:56:09with it i guess um and uh and i got another bit box and set up i was just i've just been i've been
- 1:56:16on a rampage of hardware wallets
- 1:56:18and I'm probably going to get
- 1:56:19another seed signer.
- 1:56:22I'm probably going to check out FrostSnap.
- 1:56:24I think I'm going to finally do the Spectre DIY
- 1:56:26and play around with that.
- 1:56:29So this was cool.
- 1:56:32And this actually,
- 1:56:32I learned something that I didn't even know about FrostSnap.
- 1:56:35So thank you for coming on.
- 1:56:37Is there anything else you wanted to share?
- 1:56:39Final thoughts, links,
- 1:56:41all those good details.
- 1:56:43Shout it out to the audience so they can explore.
- 1:56:46uh yeah you can come follow me on twitter or or nostr i guess you'll find the the the links the
- 1:56:54ll foreign on uh twitter no what am i yeah zero knowledge goof you can look for zero knowledge
- 1:56:59okay and then um yeah i thanks guy it was a really great conversation i listened to quite a few of
- 1:57:06your podcasts so i sort of knew that it was going to be a good conversation but i really enjoyed it
- 1:57:11awesome awesome all right well uh shoot me any links or anything and i'll hit you back when we
- 1:57:17get this put together and when we're going to release it and i'll dm you or whatever um but
- 1:57:22thanks again for coming on man it's good hanging out awesome cheers guy later boss
- 1:57:27do not forget to check out frost snap do not forget to follow lloyd and stay up on what they
- 1:57:36are doing. And check out obviously Bitbox, our sponsor, and learn what you can learn.
- 1:57:44You know, one of the things I noted at the end of this and that I just think is critical is that
- 1:57:50it's not really a question of, oh, people are too stupid to understand this stuff. It's like,
- 1:57:57it has to be normalized. If we're right about any of the problems, if we're right about the
- 1:58:02problems of fiat, if we're right about the problems of trusting custody with someone
- 1:58:06else and the necessary trade-offs that come with that and the existential problems that
- 1:58:13build and cascade over time to higher and higher trust and higher higher abuse of that trust and self whether or not it hard or not doesn matter Doesn matter It will be
- 1:58:27about survival. If you don't self-custody, you simply won't make it. If you trust and don't
- 1:58:33verify, you won't make it. And it will be exactly to the degree that we trust and don't verify.
- 1:58:40And that cold card is not contrary to that idea. I believe cold card is further proof of that. It just hit at a lower level than we have experienced before. It was a harder hit in an area that we have not had to contend with in a really long time.
- 1:59:04In fact, the only entropy bugs that I really can think of off the top of my head in Bitcoin have all been software entropy bugs where wallets have been compromised.
- 1:59:16It's never been one in a hardware wallet unless I'm missing one that I'm forgetting about.
- 1:59:20But I do not believe I believe this is the first and worst of its kind.
- 1:59:24So I believe that rather than being contradictory to those lessons and the loss of what all this means and why we are doing things the way that we are doing them, I think it's confirmation.
- 1:59:41it's a wake-up call that this is just a really hard problem and nothing nothing will actually
- 1:59:49surpass the power of knowledge that education will be important and everywhere that we are ignorant
- 1:59:57we will be victims and that doesn't mean that oh that means we have to all get a textbook of
- 2:00:03you know cryptography or whatever no understanding the attack vectors and how to mitigate them
- 2:00:09understanding conceptually what is important to focus on and what is less important to focus on
- 2:00:14is 99% of the battle and understanding where and why those things, each piece of it matters.
- 2:00:24And that doesn't mean you have to understand how to create, you know, the perfect TRNG and
- 2:00:30implement it in firmware. To the contrary, it just means that you have to understand what you're
- 2:00:35trusting and you have to understand, you know, how to add some dice rolls.
- 2:00:41And no, I don't think that's too complicated.
- 2:00:44And if it means, you know, life or death, if it means savings or nothing, then it will
- 2:00:51just be a part of it until we find some better solution.
- 2:00:54So with that, a shout out to Lloyd for a great conversation and FrostSnap for the things
- 2:01:01they are contributing to the space and the tools that they're building as always hats off to anybody
- 2:01:07who has completed anything like i just the amount of respect there are people that give or do not
- 2:01:15give i guess is the better way to put it for a team that can simply deliver something i believe is
- 2:01:23too low too low um and so even somebody who completes a book and publishes it even if it's
- 2:01:32a i think it's a bad book i just have to hats off because that's just a hard thing to do who
- 2:01:37completes a hardware project and delivers and has open source tools and software and makes it
- 2:01:43available to people and tries to make a company around it hats off like like it's moving the
- 2:01:49needle forward. Failures move the needle forward. You know, near misses move the needle forward.
- 2:01:55It all moves the needle forward just like a failed proof of work is you maybe you didn't find a
- 2:02:00block, but that doesn't matter. You're moving things forward and you're adding to the difficulty
- 2:02:05just by participating. So hats off to everybody. Hats off to Lloyd and the team over there
- 2:02:12and what they're doing and check them out. Get yourself a bit box.
- 2:02:16hopefully you enjoyed this episode
- 2:02:20follow him links and details
- 2:02:22all in the show notes discount code
- 2:02:23and I will catch you in the next episode
- 2:02:26of Bitcoin Audible and until then everybody
- 2:02:28I am Guy Swan and that's
- 2:02:30our two sets
- 2:02:46Outro Music