S4 E7: Peter Todd on Hardware Wallets, Security & ProofMarshall
Search this conversation
0:29Vlad CosteaYou are listening to Season 4 of the Bitcoin Takeover podcast, a 10-part series in which hardware wallet makers and breakers get interviewed. Before I introduce this episode's guests, let's hear a few words from the show's sponsors.
1:13Ad voiceoverLXMI is a European cryptocurrency exchange whose name is inspired by Lakshmi, the Hindu goddess of wealth, good fortune, and prosperity. It's one of the regulated and legal cryptocurrency exchanges. On LXMI, you can buy Bitcoins with most fiat currencies and you can also do trading with top altcoins. They follow the "not your keys, not your Bitcoins" philosophy with their integrated non-custodial wallet, which helps you manage your own private keys. So if you're into trading, then you don't have to worry about having your crypto frozen by whatever political decisions, since you're empowered to hold and move your coins whenever you wish.
1:59It's great to have new players like LXMI that respect your financial sovereignty. LXMI is launching in 2020, and for more information, please check out lxmi.io. If you're not into trading, it's recommended to move your coins to a hardware wallet or some other form of cold storage. And in this episode, you're about to find out why. Please keep in mind that this is just an ad for a sponsor of the show. It's not meant to serve as financial advice, and you're responsible to do your own research before buying anything and act according to your own decisions. Embrace your financial sovereignty with agency and precaution.
2:46Phemex, Phemex, Phemex, Phemex, P-H-E-M-E-X, Phemex, P-H-E-M-E-X, Phemex. Phemex is a Bitcoin exchange with derivative trading options, which focuses on speed, robustness, and maximum uptime. Built by former Morgan Stanley executives, it manages to bring simple and accessible Bitcoin trading. In 2020, Phemex will also add S&P 500 stocks, stock indexes, Forex, commodities, and more. Sign up today at phemex.com/bonus and receive a bonus of up to $72. Please keep in mind that this is just an ad for a sponsor of the show. It's not meant to serve as financial advice, and you're responsible to do your own research before buying anything and act according to your own decisions. Embrace your financial sovereignty with agency and precaution.
4:02Vlad CosteaHi there, and welcome to Season 4, Episode 7 of the Bitcoin Takeover podcast. I am Vlad, and today my guest, and it's very hard for me to compute that I'm having this kind of high-profile guest, but it's Peter Todd, who is a cryptography consultant nowadays. He used to be a Bitcoin Core developer. And if you look at the list of commits on GitHub, he is still one of the highest ranked in terms of activity. And nowadays he works on different projects and possibly he doesn't want me to mention that he has also worked on that privacy cryptocurrency, which... Whatever.
4:44Okay. He goes to conferences, he talks about dishonest developers and explains how ethically developers should conduct their activity. And also he writes interesting stuff on Twitter, and part of the reason why he is here is because he commented on the Trezor, which got hacked very fast by the security team of Kraken. And that was quite a big debate on social media and people have started asking questions. And essentially, I guess the main idea is that we should not trust hardware wallets for their physical security, right?
5:26Peter ToddYeah, I mean, well, I mean, I think like there's a range of threat models you might want to have, but you know, the most important thing about a hardware wallet is that it's not soft. You know, it's not a pile of software on a compromised computer. You know, not that, like, it's protecting you against ninjas who are, you know, breaking into your apartment.
5:46Vlad CosteaI guess the fault is, or maybe that we should blame the marketing departments for making some claims about what hardware wallets do. And I think one of the examples that comes to mind was one where one executive of a certain company said that you can basically buy one of their devices on eBay and it's still safe.
6:10Peter ToddWell, which one? Because I think more than one company comes to mind there.
6:17Vlad CosteaReally? The one with the secure chip.
6:21Peter ToddWhich one? See, I think you're thinking of Ledger, but I'm pretty sure they're not the only one who's made silly claims like that.
6:30Vlad CosteaReally? I mean, I spoke to Jonas and Douglas of Shift Crypto. They do the BitBox and they said it's a bad idea. And their perspective on hardware wallets is that they should be like toothbrushes.
6:47Peter ToddSo you put them into your mouth and you move them back and forth and your teeth get clean? That's different. That can be useful. They can be tasty sometimes. See, I think the toothbrush analogy isn't necessarily so good because sharing your hardware wallet isn't necessarily so bad, but you really want to know where the hell you're buying it. Whereas I'll go buy a toothbrush just about anywhere.
7:15Vlad CosteaYeah, that's a good point. And one of the biggest criticisms of hardware wallets is that they can be subjected to supply chain attacks.
7:26Peter ToddAbsolutely. Yep. And not just can be, I mean, we have concrete examples of this, although the way that the attacks have gotten publicity happen is hilariously simple, which is you go and take out the little, you know, seed card that you're supposed to go write down your seed on, and then just go pre-fill it. And that's enough social engineering to go fool people into using that seed.
7:53Vlad CosteaSo that worked, actually?
7:55Peter ToddYeah, no, apparently people have fallen for this.
7:59Vlad CosteaI would have expected people to, you know, implant chips and tracking. What do you call it? RFID stuff?
8:09Peter ToddWell, you know, why bother doing something complex when a simple attack will work?
8:14Vlad CosteaThat's a fair point. So, do you personally use any hardware wallets?
8:21Peter ToddNo, actually, I don't. I mean, I own some, but I don't actually go use them. And, you know, what I do instead is I just go run regular wallets on, you know, when I, like, when I need to securely store a fair amount of Bitcoin, I just go run a regular wallet on a computer that I don't use for anything else.
8:41Vlad CosteaYeah, that's something that a lot of old-time Bitcoiners say. And hardware wallets were not around until, I think, 2012, 2013.
8:52Peter ToddYeah, relatively recently. At least if you're an old-timer.
8:58Vlad CosteaYeah, you have been around at least since 2001. And it's interesting that nowadays owning a hardware wallet is part of becoming a Bitcoiner. They have turned it into some kind of lifestyle. And to some people it's impossible to conceive that you withdraw your coins from an exchange where you buy them on anything else except for a hardware wallet. So my question to you is, how were you people dealing with Bitcoins in the early days?
9:33Peter ToddWell, you know, in the early days, like, people didn't have that much money in Bitcoin. So, you know, all the standards are kind of very different. But I think the more interesting thing is like, well, what do you do these days? And first and foremost, I'll go point out, if you're withdrawing your Bitcoins from an exchange, how do you even know that the withdrawal happened? Like, where did you enter in the address to do the withdrawal? You know, you get all kinds of questions about this that can break your security long before it ever gets to the hardware wallet.
10:03Similarly, if you do have a hardware wallet, how is it exactly that you verify that there's Bitcoins on it? You know, the hardware wallet itself probably doesn't have a full node.
10:17Vlad CosteaNo, obviously. Some of them allow you to connect to a full node.
10:23Peter ToddAt which point, well, what security are you really getting over just running that full node on a separate computer by itself?
10:31Vlad CosteaThat's also a fair point.
10:33Peter ToddYeah. You know, like I personally on my, you know, on essentially all my day-to-day use computers, I run Qubes. So I have, you know, multiple independent virtual machines I can just go and spin up, and they're all separated from each other and so on. So it's very easy for me, for instance, to run a Bitcoin node for a wallet, and then have, say, a separate, you know, have that virtual machine, say, connect to a separate node that can also run as a firewall. You know, there's many options there.
11:05Vlad CosteaYeah, I mean, if you're able to do it, there's no reason to not do it because you know exactly what's going on there and you understand security. But what about somebody who has no idea what he's doing or she's doing, and maybe just gets a hardware wallet? Do you have any kind of recommendations in regards to what they should be learning?
11:29Peter ToddHonestly, like, the advice I've given, you know, I've, like, actually given people is just go and get, like, an iPhone from, you know, a somewhat reputable source that couldn't go and target you and just install a wallet on it, you know? Or, like, get an Android phone, install a wallet on it, and don't use the phone for anything else. And that's actually not that crazy advice, you know? And if I am gonna, you know, tell them to go get a hardware wallet, I mean, frankly, I'd probably actually trust Trezor more because they do have a design that is based on, you know, more off-the-shelf chips than other people do.
12:11You know, and it's like the problem with something like the Ledger is to get all these fancy security chips, you have to go sign NDAs, and then people can't easily reverse engineer your devices and figure out if they're actually doing what they should be doing. You know, you're actually putting much more trust into the manufacturer than you are on something like a Trezor, or let alone something like a, you know, a phone.
12:36Vlad CosteaYeah, but to people who have been holding their coins on Coinbase or Kraken or whatever, sometimes it seems natural that they have to trust somebody, and they're going to say, "Okay, I'm going to trust this company, that they will provide the security that they provide." And they seem to be also pretty high up in terms of market ranking. I suppose Ledger is the best seller right now. So...
13:05Peter ToddWell, remember... The point is the economics of a hardware wallet is that they're selling a device that costs money, which then gives them the ability to go and pay for marketing and, you know, people to go sit on podcasts and all kinds of things. Like, there's just... You know, that possible set of solutions is always going to have more support, simply because they're the ones with the budget to actually go and, you know, push their solution. I mean, it's kind of an unfortunate thing with regular wallets on software is that it's actually kind of hard to monetize them.
13:46Vlad CosteaYeah, also, I suppose there's a market for the data that gets generated when you're using a hardware wallet which connects to the servers of the company. They're going to know your location, your email address, your IP, and possibly you also connect to their full node and they're going to see all of your generated addresses and transaction history.
14:09Peter ToddYep.
14:10Vlad CosteaAnd there's a market for that data.
14:12Peter ToddYeah, that's absolutely true. Although, at least with a hardware wallet, there is an income stream in the form of the hardware. You know, other than that, see, from that threat model, a pure software wallet is actually more worrying, right? Because they don't have any other income stream, you know, with exceptions like, say, you know, Blockstream's Green, you know, GreenAddress/GreenBits, where, you know, that's just sort of an add-on service to other things that they're making money off of. But, you know, if you're looking at a company whose only thing they're doing is creating a wallet, well, you got to ask, well, where's the money coming from to actually do that?
14:53Vlad CosteaYeah, I think we should ask this with Electrum, which is one of the most popular wallets.
15:01Peter ToddWell, you know, the Electrum developers, I'm pretty confident, is just an open source project. But certainly the Electrum servers that people run, chances are a lot of them are run by chain analysis companies. You know, and Electrum's model of having a bunch of sort of servers that you kind of pick at random, where you don't know who they are, actually really worries me. I think you're much better off in a situation like that actually having very centralized, well-known servers. You know, like this irony of it, like decentralization for privacy doesn't necessarily work because of simple attacks.
15:39Vlad CosteaI never really thought about this, but it makes a lot of sense. Just like how you spoke with nopara73, who developed Wasabi Wallet, and he told me that Coinbase is actually a very good mixer.
15:52Peter ToddWell, depending on your threat model, he's not wrong. Right. You know, most exchanges that have hot wallets, they'll be very good mixers depending on your threat model. You know, if your threat model is, I don't want some, you know, guy off in Syria to go and be able to go figure out what my Bitcoins are, well, that guy off in Syria is subject to sanctions and probably won't be able to get Chainalysis to go pick up the phone.
16:20On the other hand, if my threat model is someone who can get a Chainalysis feed, well, chances are CoinDesk is just dumping their database right off the Chainalysis database. You know, I don't think they ever actually denied that.
16:34Vlad CosteaI think one of the obvious examples, and I'm sorry I cut you off.
16:41Peter ToddI was just going to say, I mean, I've seen evidence personally that Chainalysis probably is getting feeds from, you know, various Bitcoin exchanges. You know, whether or not that's true now, it's really hard to know, but like it seems pretty damn likely to me based on the stuff I've seen, so...
17:03Vlad CosteaAbout hardware wallets, I've seen that ShapeShift is selling the KeepKey right now for about $20 and they even give it to you for $5 if you sign up to their exchange and you KYC. Which is interesting because this only proves that there is a market for your data and they can make enough money to sustain the operation. Whereas the KeepKey used to cost about $100 two years ago.
17:30Peter ToddBut why do you think that shows that there's a market for your data? I mean, why wouldn't that just be a marketing expense for ShapeShift?
17:40Vlad CosteaWell, that's a possibility. But you do sign up with your data.
17:46Peter ToddWell, sure, but I'm saying like ShapeShift probably would be doing this KYC no matter what, right? Point is, seeing the hardware wallet get added onto that, I wouldn't necessarily read too much into it. To me, that sounds like a marketing exercise, as in, you know, here's how you go and get onto cryptocurrencies and have some security. You know, I wouldn't jump to the conclusion of that being, you know, that being malicious or anything. Having said that, I mean, depending on which servers your ShapeShift KeepKey is going to, well, you know, they may be able to get more data out of it. But, you know, I'd want to actually go check details like that first.
18:31Vlad CosteaI think I read some comments on Twitter and somebody wanted to know if you are using a Coldcard. And you said you're not using any hardware wallets, so would you please disappoint?
18:44Peter ToddWell, again, like this is one of those things where I have a Coldcard, I've played with it, but you know, it's not what I'm using to go and store the, you know, store my riches.
18:57To the extent I even have them. But like, it's just... I'm just dubious about all these devices, to be honest with you. You know, it's... And again, that kind of comes out of the threat model. I'm not terribly worried about... Or, well, I shouldn't quite say I'm not worried at all, but rather, I think if someone gets to the point where they've physically broken into my, you know, my apartment or, you know, my safes and stuff like that, and have physical access to my wallets, a hell of a lot of stuff has, you know, probably gone wrong, and they could probably go and, you know, get my Bitcoins another way.
19:37Like once someone, you know, breaks into your apartment, they can also, you know, leave hidden cameras as an example. You know, they can go and try to go get your seed, you know, backup seeds in other ways. Like, it just doesn't seem to me to be the threat I'm that worried about compared to the much more benign threat of, well, you get some malicious software on the same device that, you know, you have your wallet on.
20:05Similarly, remember that the way you interact with all these wallets is not purely through the wallet. Like, where do you get the Bitcoin address to actually send coins to? You know, that comes off a device that can also be compromised.
20:22Vlad CosteaYeah, and sometimes these hardware wallets don't even have large enough screens to fit that whole address so you can check it.
20:30Peter ToddYeah, exactly.
20:31Vlad CosteaAnd some people...
20:33Peter ToddThere's lots of issues like that. The display can be compromised if it's not connected to the secure element or something.
20:38Vlad CosteaYep.
20:40Peter ToddWell, like Ledger, as an example, has this issue. And it's sort of like doubly glaring with Ledger because of course, they have marketed before saying, "Well, it's okay that they go ship their devices without any tamper-resistant packaging." You know, no tamper evidence at all. And that's just crazy because anyone can go take a Ledger, take it out of its box, pop the case off, and do whatever they want with it. You know, it doesn't matter that the keys are in little secure elements. All your way of interacting with the device is insecure.
21:14I mean, ironically, with that regard, Trezor is better because at least it's, you know, like a sealed case that's, I think, ultrasonic welded, if I remember correctly. You know, same thing with Coldcard. They ultrasonic weld their cases. So it'd be quite a lot of work to take a Coldcard and, you know, tamper with it, then go put it back together. You'd have to invest in a bunch of tooling and stuff. On the other hand, by the time, you know, you're intercepting packages, you know, to screw with Coldcards, well, maybe making a new ultrasonic welded case isn't actually that expensive.
21:52Vlad CosteaYeah, also Coldcard does something interesting with marking a number on the packaging. So when you open it up, you see that number. And when you boot up the device for the first time, it asks you to verify if the number on the screen corresponds with the one on the packaging.
22:11Peter ToddBut you realize how silly that is? Like, you're verifying it against the device. It could have been compromised by the attacker. Yeah, that doesn't actually work.
22:26Vlad CosteaYeah, possibly.
22:29Peter ToddThe way you do that, that would actually work, is to verify a number against a signature checked by, say, your computer after, you know, hooking up to the Coldcard. But if you're going to have a system that actually works, that needs to be the default users do. Just having people check a number on the packaging to a number on the chip is totally meaningless.
22:55Vlad CosteaI've also played with the latest Coldcard, the Mark III, and what's different about it is that it uses PSBT.
23:05Peter ToddOh yeah, yeah. The acronym stands for, again... Partially signed Bitcoin transactions, I think. Yeah, so like that's a multisig situation, which does change things.
23:23Vlad CosteaYeah, I mean, it's different in the sense that you can just connect the Coldcard to a power supply and you never connect it to your computer, but you do have to save, to back up your data on an SD card and then put your SD card inside the computer.
23:39Peter ToddWell, let's be clear, you are connecting it to your computer. You're just doing it through a higher latency way. Yeah. You know, like, the thing is, the physical wires connecting it to your computer, they're not the thing I'm worried about. The thing I'm more worried about is the fact it's communicating to your computer at all. Right, because the most likely exploit you would get there would be, say, a bug in their transaction parsing code, where you can go and say do a buffer overflow on the Coldcard.
24:13You know, and saying it's not connected to the computer doesn't, like, doesn't help that situation at all. I'd be perfectly happy to have a Coldcard with a USB interface. Yeah, I think the added security of the SD card isn't that much. Now, one thing you can do with an SD card, which is kind of nice, is you can go and, you know, for really high security stuff, you can go audit it. Right, because the way you do that is you write to, actually, say, two SD cards.
24:43Right? And then you put one aside, use the other one to then do the communication. And now you have a record of what actually went into the device and can go and have some attempt of auditing it. But you'd really need on the Coldcard side, and I don't think their firmware does it, to have the option of writing the transaction to two separate SD cards as well.
25:06Vlad CosteaRight. Interesting. And just for the record, PSBT is BIP 174, because I know somebody will try to correct me and I said 157. Yeah, I had to look it up.
25:21Peter ToddWell, like when I was involved in the Zcash trusted setup, there was that same kind of auditing consideration where we wanted to... The trusted setup scheme was designed to leave an audit trail of all the communication that actually happens with the compute nodes. That audit trail was done in the form of burnt DVDs. Although again, you kind of had the same kind of problem where people think DVDs are write once and they're actually not. Because even if you close out the session, you can still modify the data on them at a low level, so in theory it didn't actually go meet that requirement. But, you know, again, that's the idea: leave that audit trail.
26:09Vlad CosteaYeah, I was about to ask you said you recommend to people to just get a new phone that, actually an old one that they can wipe and install some sort of wallet. But if you were to recommend just one hardware wallet, which one would it be? The Trezor?
26:28Peter ToddProbably, yeah. Because they're the ones whose overall design and marketing seems like the least voodoo silliness. Yeah, there's nothing about Trezor that makes me want to correct them.
26:48You know, like look at Ledger, where the marketing of "you can just go and get this without tamper-resistant packaging" is just wrong. Or, you know, Coldcard, where this, like, setup, you know, initial number setup thing just doesn't make sense. Whereas Ledger, like, there's nothing like that I can go point and say, all right, that doesn't make sense. Ledger is a fairly straightforward design and, you know, it has its limitations, but I think from what I've seen it's reasonably well understood and I would trust it in the scenario where I wasn't expecting it to be physically secure, which I think is fine.
27:25You know, if you really want the physical security part of it, use a passphrase with it.
27:33Vlad CosteaYeah, that's a fair criticism and I'm happy I got you because you are a big critic of the whole concept of hardware wallets, which is awesome. I got so much positive input in regards to how they work. And possibly, I think when I first started doing this whole season, which is going to be 10 episodes just about hardware wallets and cold storage, I thought I would make it easier for people to decide what they want to buy when they get a hardware wallet. But now I think I just made it a lot more difficult. But that's for the better.
28:10Peter ToddWell, you know, and I think like what would make it even more difficult is having more hardware wallets support PSBT and like also more software on the computer side as well. Because multisig does change things with this, and it changes what you're actually using it for. Like when all the keys is in one place, you know, it's effectively like that's the security model you're kind of using. Whereas when things are multisig, you get much more nuanced control over what exactly your security model is. Also, I'd point out, like, there's a difference between security with the intent of avoiding loss and security with the intent of auditing and figuring out how you, say, lost something. You know, like in corporate environments, for instance, a lot of security is actually about auditing. You accept that someone might go break in, but you're much more concerned about understanding how the break-in happens so you can go stop it next time.
29:10Vlad CosteaI've heard some people who say they store private keys on devices like the YubiKey, which is a small flash drive which stores any kind of passwords from email to whatever kind of accounts you might be having, and you just put it in your USB and I think it has some sort of fingerprint scanner. And that's how you authenticate with the device.
29:35Peter ToddYou mean the YubiKey?
29:36Vlad CosteaYubiKey, yeah.
29:38Peter ToddYeah, that's not where they are. Now, the YubiKey is effectively a smart card in a different form factor. And the password thing you're thinking of, I think, is... You're more, like, first of all, the YubiKey can store a very limited number of passwords, which is sort of an older style authentication mechanism. But the thing that they're better, you know, that they're more used for these days is like FIDO and U2F, where on the YubiKey there's an ECC key. Similar to actually how Bitcoin addresses get derived in hierarchical wallets, you do the BIP32-style derivation math to then derive a key for a particular website.
30:22That then gets used to sign an authentication token. So that acts as a second factor to your login. And they're quite useful. I mean, I have one. It's sitting on my keychain right now. I actually have probably five of them for various reasons. But I use one like day to day for login. I think they work great. But in the context of Bitcoin, like they don't understand a Bitcoin transaction, so all they're useful for there is auditing.
30:54Vlad CosteaOkay, so they're not friendly with people who are newbies and have no idea of what they're doing.
31:03Peter ToddNo, I wouldn't say that. I'd say they're very friendly. It's just they offer very little security in the context of Bitcoin, right? Like, so they're great for, say, you know, securing your Kraken account. And I do use YubiKey to store the 2FA for my Kraken account. But they won't actually, like, because they don't have a user interface, they can't really help that much in protecting your actual Bitcoin. You know, putting a private key on a YubiKey for your Bitcoin doesn't really make that much sense.
31:38Vlad CosteaYeah, I think there was somebody who was actually asking in regards to this idea that any kind of Bitcoins you're holding should be associated with a full node, and he asked if it's possible to set up a watch-only wallet with a pruned node for hardware wallets.
32:02Peter ToddWell, I mean, I'm not too familiar with how much software exists for that, but certainly that's possible to do. Like Bitcoin Core, as an example, does have watch-only features. So it's very easy to, at least, you know, at the API level, to have watch-only wallets on Bitcoin Core. As an example, some of the CoinJoin wallets actually go use this, like JoinMarket. That's just how they go and manage their wallets, because JoinMarket then keeps all of its private keys separately.
32:34Vlad CosteaYeah, interesting.
32:37Peter ToddI've also seen exchanges do this too, where, like in their internal wallet implementation, you know, they'll use a watch-only wallet by Bitcoin Core, but then do private key management in some totally other way, you know, like maybe an HSM or something.
32:55Vlad CosteaSo what do you say to people who only use Bitcoin Core, which is essentially a hot wallet on a computer that's connected to the internet?
33:06Peter ToddWell, I mean, I'm not necessarily that worried about it. Like, the thing with Bitcoin Core is there's a ton of people looking at the codebase and auditing it. Which is one of the big worries I have actually about a lot of hardware wallets, especially, you know, non-multisig ones, where you got to ask, like, how many people are actually looking at that codebase? How many people are reviewing changes to, for instance, prevent mistakes? You know, we've had people lose plenty of Bitcoins just because their Bitcoin wallet screwed up and, say, sent Bitcoins to an unspendable address or something like that.
33:45You know, that might actually be the bigger threat overall. So, you know, in that regard, like Bitcoin Core doesn't look so bad anymore. Also, again, you know, it's not that hot of a wallet if you do something like, say, run two Bitcoin Core nodes and then have one sort of firewalled by the other. You know, similarly, if you have a wallet, good advice is run your Bitcoin Core node over Tor, so it's very difficult for anyone to actually go target you.
34:18Vlad CosteaYeah, that's fair. And actually, I think next week or in two weeks, I'll be interviewing Slush. And his argument for using hardware wallets is that he has seen so many people lose their coins in the early days. That is just, to most people, it's just a lot more convenient to have one device where you store it and you have a piece of paper or possibly a metal plate where you engrave your seed words.
34:49Peter ToddWell, I mean, that argument isn't unique to hardware wallets. You know, like, I mean, just to give an example, of course, I use Eclair with Lightning. And Eclair for the non-Lightning part does have a seed that you go write down, and that's exactly what I did when I set it up. That said, I mean, there's something to be said for the psychology of having a piece of hardware that you know to go keep safe. You know, that may be something that helps some people.
35:21Vlad CosteaOkay. You actually remind me about something I've heard from Douglas Bakkum from BitBox when he said that a lot of the stuff going on with security in the hardware wallet space is just like gimmicks. They're doing it just to make you feel safe, but in reality, it doesn't make much of a difference.
35:45Peter ToddWell, you know, like I say, the entire hardware wallet industry, it's kind of a weird one because it's a unique way to go make money by creating a wallet. You know, so right there, you're going to have more focus on hardware wallets than is probably actually strictly necessary, just because it's a way to go make money. I mean, it's like the ICO market, where everyone wanted to go and create protocols that have tokens. Well, why did they do that? Because that's the only way to make money off creating new protocols.
36:16Doesn't necessarily mean it's a good idea. You know, that's not to say it's never a good idea, but there's certainly going to be more focus on it than is really necessary.
36:26Vlad CosteaYeah, that's a fair point. For example, there are some terrible cold storage solutions, like, I'm not sure if you heard about the Ballet. It's created by Bobby Lee and it has the shape of a credit card and it's basically just a card with a pre-printed private key.
36:50Peter ToddOh, yeah.
36:51Vlad CosteaJust because it's printed... Half of it is in China, the other half is printed in the United States.
36:58Peter ToddYeah. A particularly bad example that I saw, I actually saw it at a conference recently, where some existing high-security government printer that would normally be printing, say, you know, paper notes and so on, they decided to get into the Bitcoin business and of course, they did what they know, which was to go and pre-print private keys on high-security paper. Like, you're basically better off just doing this by hand on your printer at home. But, you know, again, like this is driven by what they're able to do, regardless of how much sense it makes security-wise.
37:43Similarly, if you want the really bad version of that, you go to bitaddress.org. You know, which I don't know if they're still around, but it was just a simple website with some JavaScript allegedly running where you'd go to it and you'd print up private keys. Of course, if anyone goes and hacks into the server, they can do whatever they want with it.
38:05Vlad CosteaYeah. Oh yeah, I remember this. You just run your mouse cursor around the screen and it generates some...
38:14Peter ToddWell, but see, you go talk about the mouse cursor bit, and that was probably the most secure part of it, right? Like, you know, moving your mouse cursor around is probably a pretty decent way to go generate keys. That's not actually the issue. The issue is you're downloading source code every time you go to it off some not very secure server.
38:39Vlad CosteaYeah, that's a fair criticism. I just generated a new key. I'm not particularly happy with this legacy address, but other than that, it was fun. It reminded me of what they did with the Coldcard, that you get a dice and you roll a dice and input different values as many times as you want to generate more randomness.
39:03Peter ToddYeah, I don't know. Randomness generation is another one of those things where there's so much gimmicky stuff out there. Like, in certain cases, for instance, generating them with, you know, dice and stuff like that can make sense, but only where people are actually auditing, like, you know, how these systems go work, right? And so like this came up again in the Zcash trusted setup, where what you'd like to do is have a system where you can audit the full chain of entropy input to public key output, right?
39:41So, in that environment, entering in some, you know, dice as an example can make sense, because in theory, someone could go and generate a set of die numbers, enter them in, and then double check that the calculation was done correctly. But that only makes sense if all that's documented and easy for someone to go replicate.
40:10Vlad CosteaI mean, security is such a complex topic. And I think there are various stages in somebody's life when they discover something that's out there. I mean, in terms of threats and how to overcome them. And it's just like, I suppose, owning a house. At first you don't worry much about what's going on and you say you're in a nice neighborhood. And then as time goes by, you see someone scratching your door and you're going to have to find ways to prevent something more severe from happening, right?
40:45Peter ToddAnd eventually start yelling at kids to get off my lawn.
40:49Vlad CosteaYeah, sure. That's the most advanced stage of security, when you don't trust anyone.
40:55Peter ToddYeah, the get off my lawn stage. And the NIMBY, not in my backyard. But, you know, the get off my lawn thing, that's security theater. Those neighborhood kids being on your front lawn doesn't matter. It's much more important to go worry about other threats.
41:18Vlad CosteaThat's fair, but sometimes when you're inviting some non-threats, you're basically giving away some information about yourself and you might seem more open to actual threats of which you may not be aware.
41:38Peter ToddNah, being the crotchety old neighbor who yells at all the kids to get off your lawn just makes you look like a target. Besides, the kids on your lawn, they might go and notice a real threat.
41:54Vlad CosteaThat's a good point. That's why I like you, Peter, because you have this adversarial type of thinking. Maybe you're doing this just for the sake of playing devil's advocate, but it's never void of substance.
42:11Peter ToddOr maybe I actually have a secret consulting contract by someone who wants to figure out how to go and check their lawn for neighborhood kids most effectively.
42:26Vlad CosteaI mean, I wouldn't judge you if you did, but I suppose you could do something more productive.
42:34Peter ToddHey, if someone wants to go and pay me my usual fee for that, I'm all for it.
42:40Vlad CosteaI mean, that's not quite cryptography consultancy, but sounds promising.
42:45Peter ToddWell, you know, like, the funny thing about all this is, like, I don't do cryptography consultancy per se. I do applied cryptography. You know, what I do is figure out how to apply cryptography to your problem. And that's actually not that related to cryptography itself. Cryptography is like the math of creating all these fancy schemes, particularly once you get into academic cryptography, where the schemes don't even have to go work.
43:16Vlad CosteaI feel like I've learned something new just here right now. I mean, I wouldn't have thought about the difference between applied cryptography and cryptography. In my mind, it was just, oh, you take cryptography and you put it into practice, but...
43:32Peter ToddOf course. Yeah, that's surprisingly hard. I've actually, for clients, I've done quite a few interviews. Well, you know, I mean, I've helped them do quite a few interviews with candidates. And it's quite sobering when you realize how many people with cryptography degrees do not understand how to go apply their cryptography to any real problem. And like one of the sort of interview questions I kind of come up with, where you keep seeing people fail at, is basically, well, all right, how would you go and design a simple, you know, PGP? You know, how does like the PGP web of trust work?
44:13Right? Like these should be very simple questions, but they're actually kind of hard for people to grasp because they're not really mathematical. They're much more about, well, what does crypto actually mean in the real world? And that's surprisingly hard for people to figure out.
44:27Vlad CosteaYeah. Also, I forgot to ask the objectively best question that I received on Twitter. So, which steps would you take if you're the top dog of DevOps for Trezor or Ledger and wanted to steal bitcoins from people's hardware wallets?
44:47Peter ToddYou know, I hate to say this, but this would be a very easy thing. All I would be worried about is getting caught. Right, because if my goal is purely to go steal the bitcoins, you just go push a software update that backdoors a random number generator, for instance. You know, or like backdoors the signing algorithm, so it creates broken signatures. Now, the real question is, well, can I do this and not get caught? And that really comes down to how exactly is source code managed at these companies?
45:21And I've never actually looked at that into too much detail. You know, I've looked at it in detail for clients, but not as in how those companies actually do it. And if you wanted to defend against that, you basically have to have individual programmers signing code commits and so on. And chances are your most likely way to get away with that would be to, you know, quite literally go walk up to like one of your co-workers' computers when they're, you know, not looking or something, and then backdoor it, and then get...
45:52Their computer to go and check in a code commit under their digital signature, assuming this is even used at all, so that they're the one with their name on it. And I suspect what I just told you is kind of fanciful in that you wouldn't even need to go that far.
46:10Vlad CosteaSo you think it's easy to do, but it's hard to get away with it?
46:17Peter ToddI think it's easy to do and probably easy to get away with it too.
46:21Vlad CosteaOkay.
46:22Peter ToddBut remember, like, we're talking about criminal charges here. So, if I was in that position to actually try to do that, I would be quite careful about not, you know, not having my name on the code. But, you know, frankly, like, even if my name was on the code that resulted in a big Bitcoin loss, these days, you wouldn't necessarily get much liability. Like, you know, your issue there would be figuring out how to essentially launder the earnings that you got, which probably wouldn't be that hard, you know.
46:53Make sure the bitcoins eventually get back to you over time. And I think what this really says is like source control tends to be really terrible at companies. And I've seen this in my consulting where, you know, to give a somewhat anonymized example, you know, I did some consulting for a company that held a very large amount of bitcoins for other people. And I realized quite quickly that their Git repos weren't signed. And they were hosted on the same infrastructure where the rest of the system was.
47:28Which all happened to go defeat their multisig scheme. Like, this is the sort of thing that happens. And unfortunately, modern software development just isn't up to the task of this. And it's the same issue, like, why are we running code? Like, why are we running the code compiled from our source code in the same security environment as we're editing the code? Because the moment you do that, you know, if you run like Git pull, right, and review a code change and then run that code, if you don't catch a security flaw, someone can go back to your development environment and then commit whatever the hell they want.
48:08Like most software developers just don't protect against these, you know, these attacks. I mean, I'll be honest, I don't protect against them that well myself because none of the tooling is set up for this. Well, at least I have different virtual machines for different projects. But, you know, most people do a really bad job of this.
48:25Vlad CosteaYou know, the last time I felt like this, and I recall it, was when my parents told me there is no Santa Claus.
48:36Peter ToddWell, funny enough, I was the one who figured out that there was no Santa Claus, and I told my parents I thought Santa Claus sounded ridiculous. Apparently, I was like six or seven. Obviously, I was destined to be a security engineer.
48:55Vlad CosteaI mean, I had these moments myself, but they would always find some kind of arguments and say, "Yeah, but, you know, there's something magical about this and you're..." And I would give it the benefit of the doubt. It's presents. Why would you bother to think too much about it? You get them.
49:15Peter ToddI was a very skeptical kid.
49:18Vlad CosteaThat's good.
49:19Peter ToddI didn't believe in magic.
49:22Vlad CosteaI'm happy that you ended up doing this because your insights are actually useful. And one idea that I got while you were explaining how you can basically steal people's bitcoins if you're Trezor or Ledger was that if you have 1 million users, you can roll out an update and just take the equivalent of $1 from each user. And it's very unlikely that they will notice, and it's even more unlikely that they will proceed with some sort of legal charges.
49:55Peter ToddNo, that's a terrible idea, I think. You're much better off taking everything from one user. Right, because if every user loses a little bit of money, that's incredibly suspicious. All right, the common factor is the software. Whereas if one user loses a ton of money, the common factor... well, there isn't one. I mean, maybe the user just screwed up.
50:25Vlad CosteaYeah, that's also fair. But when you said they can steal the funds of the users, I was thinking they can liquidate all the accounts of all their users. Like, if they have a million users and the average user holds about, say, $200 of Bitcoin, they can just take everything and just run away.
50:47Peter ToddBut again, from a point of view of getting away with it, you're much better off if the number of victims is small and they lose everything. You know, they may be very pissed off, but it'll be harder for them, you know, depending on how you go pull off the attack, to actually notice anything's wrong. You know, your ideal situation is to luck out and get one user with a ton of money on their device who isn't very technically savvy.
51:23Vlad CosteaYeah, that's kind of scary now that I think about it. Yep. And there is a lot of trust that we put into these developers.
51:33Peter ToddWell, like, first of all, who's checking that the source code actually matches the binaries that wind up on these devices?
51:40Vlad CosteaIndeed.
51:41Peter ToddAnd some of them, like, how can you even check that? You know, because these devices are on secured hardware, there's no easy way to even dump the firmware on a lot of them. Right? Like, secure chips are not designed to let you just hook up a programmer and dump the firmware. That's not the goal, usually, which unfortunately is exactly the opposite of what you actually want for real security.
52:10Vlad CosteaSo what do you think about using Bluetooth on certain hardware wallets?
52:18Peter ToddI mean, Bluetooth isn't inherently bad. Like, the real issue there is that chances are you'll have a Bluetooth implementation that's very complex and running on the same, you know, same environment, like same CPU, same microcontroller, as an example, as your wallet code. And if your Bluetooth implementation came from the microprocessor vendor, which it probably did, it's not going to be very secure. On the other hand, if you, like, say, have a separate microcontroller that then communicates to the real one over, like, a simple serial interface, that's not so bad.
52:59Vlad CosteaYeah, that's correct.
53:01Peter ToddBut overall, if I really wanted the most secure hardware wallet, I would probably put an RS-232 interface on it, right? Because RS-232 is so simple that anyone can go get a dump, a full log of what's happening over that device. And this is actually easy to do because USB to RS-232 adapters are easy to get.
53:27Vlad CosteaSo I had to look up RS-232. I know what this is, so I've seen it before. I haven't used it much. Isn't it kind of...
53:37Peter ToddYeah. It's fast enough. It's a very, very, very old interface, but it's simple. It works. I mean, I used to use it all the time when I was doing microprocessor development. You know, I used to do electronics and RS-232 is just kind of the standard.
54:00Vlad CosteaSo is it faster than USB, or why would anyone use it?
54:06Peter ToddIt can be faster than USB 1.0, but basically any modern USB is far faster. On the other hand, hardware wallets don't need much speed. Right, like the amount of data that they're passing from the wallet itself to the computer is minuscule, so it doesn't matter. As for why you'd use it, because it's dead simple and very easy to go audit. Like, you can literally buy RS-232 adapters that have three ports on them. You know, input, output, and then tap. And then the tap electrically is totally isolated...
54:41From everything else. You know, it can't communicate, but gets you a full dump of everything that goes on. You know, that's great. Like, that's exactly what you want for auditing.
54:53Vlad CosteaI feel like we should be having a larger discussion about this type of security, as there are some people who recommend you, even when you're running, for example, Bitcoin Core on a computer that never gets connected to the internet, and they keep their private keys there. And they also use Faraday cages.
55:15Peter ToddThey also what?
55:17Vlad CosteaThey also use Faraday cages. I mean, they weigh all of the connection ports, anything that can be compromised.
55:30Peter ToddIf they're running Bitcoin Core and it's not ever connected to the internet, what the heck are they actually doing? Like, you need somehow to get blocks into your Bitcoin Core, you know, to actually do something useful. So, you know, you'd want to look at the details of a setup like that, see if it actually made any sense.
55:52Vlad CosteaI think I put it the wrong way. So the whole idea is to just store your keys in cold storage on a device that's not connected to the internet.
56:03Peter ToddYeah, but remember, keys themselves are not enough to actually verify a Bitcoin transaction. You need to go and use those keys to verify transactions and sign transactions.
56:17Vlad CosteaYep.
56:19Peter ToddLike, it's... You will need to communicate to the internet somehow. You can go do it in better and worse ways, such as, say, you know, very auditable communication, like we did in the Zcash trusted setup, or potentially like RS-232. But, you know, like, the point is, I think setups like that, where you're starting to use extreme measures like Faraday cages, very rarely are those measures the low-hanging fruit.
56:55Now, in some cases, you know, they could be in theory. Like, again, the Zcash trusted setup, if they hadn't botched the software, the Faraday cage I used on the compute node would have actually made sense. Unfortunately, it wasn't, because as usual, it was actually software that was the low-hanging fruit and, you know, they botched that software.
57:17Vlad CosteaIf you were to make a list of advice that you give to Bitcoiners, what would that include? To only use, for example, cables for internet connection and not Wi-Fi, and wired keyboards and stuff like that?
57:34Peter ToddI think that would be part of it, but honestly, maybe the biggest piece of advice I'd give you is, like, actually learn how this stuff works and how to go think about security and what this means. Unfortunately, I don't have any easy answer there. But that, like, understanding that may actually be the most important thing people do. And maybe the most important part of that type of security is really like how to think about threats. You know, what could the attacks be? I mean, can you go draw a diagram, for instance, of what attacks could happen on your wallet?
58:08Like, what are the scenarios? That's probably the most important bit of advice. You know, canned things like, you know, don't use Wi-Fi or, you know, only use cables or whatever, I don't know that's as important as just understanding what your threats actually are and what you're trying to prevent.
58:26Vlad CosteaActually, yeah, because usually we get security advice, but we have no idea what they are for. And we don't associate any practical use case with them. We are being told, "Don't do that," and we will take it for granted. Yeah. And this doesn't just happen with private keys. It's just all over.
58:48Peter ToddYeah. Well, you know, security is a lemon market. Like, most people buying security, in the various forms you can get it, have no way of verifying that they're actually getting what they paid for.
59:03Vlad CosteaThat's a mind-blower. So when you buy pretty much anything that pretends to be secure, you have to trust somebody that they're being honest to you.
59:15Peter ToddWell, you know, it's an anti-tiger rock. This rock protects you against tigers. Look, there's no tigers around.
59:27Vlad CosteaEven when you buy a lock, right, you have to trust the locksmith.
59:32Peter ToddHave you ever looked at YouTube's lock-picking section? Locks are like the most hilariously bad example of security, where there's YouTubers who basically, their whole channel is lock-picking videos. And for the ones who are half decent at it, like, there is the locks that they say are really good, they go and lock-pick in real time on YouTube in like a minute. Lock-picking something in a minute is considered to be a really good lock. Oh, man. You know, like, we can do better with computer security, fortunately, but... Yeah, locks are a particularly bad example of this.
1:00:21Vlad CosteaSo how should one store their keys? Is multisig a good idea?
1:00:27Peter ToddIf you actually use it, but you know, again, like my sort of candid advice to people is, yeah, just set up another computing device of some kind, stick a wallet on, don't use it for anything else. And, you know, think about like where you're getting your payments info from. Alright, because if you log into Kraken on a compromised computer, that computer has full control over everything you're going to do there. And for instance, it can go and rewrite the addresses that you see on screen.
1:01:03So when you send your, you know, $10,000 worth of Bitcoin to... you may go buy a new jacuzzi or something, like, that address may not be the one you think it is.
1:01:16Vlad CosteaSo, IsNotGood asks you, how should he secure his private key apart from writing it down or memorizing it? And is memorizing your private key a good idea at all?
1:01:29Peter ToddPeople are terrible at memorization. If you actually try memorizing it, there's a decent chance you'll find out that you're actually not good enough to do it. You know, people can memorize like 128-bit keys, but only if they actually practice it. And most people aren't going to do that. I'd suggest writing it down and keeping that piece of paper somewhere safe.
1:01:53Vlad CosteaI suppose one side of security is to protect yourself from your own mistakes, right?
1:02:00Peter ToddWell, like, you've got to look at security holistically, right? It's not just about attackers. It's also about mistakes.
1:02:09Vlad CosteaSo you can compromise your whole setup yourself if you're not able to replicate the security model.
1:02:18Peter ToddWell, yeah, I mean, quite simply, if you do such a good job at protecting your private keys that you lose them, what was the point?
1:02:29Vlad CosteaI also like to think that in the situation where God forbid you get tortured and you have the private key memorized, I mean, it's kind of easy to extract, even though I'm not sure you should be risking your life for money.
1:02:46Peter ToddWell, you know, again, like, that gets to threat modeling. If that's the type of threat you have, chances are your bitcoins aren't actually the thing you should be worried about. Of course, the flip side of that is if that's the kind of threat you have in your area, there may be no way to protect yourself, right? Because if you go give up your keys, how do they know that you gave up the full set? I mean, this is why, like, key disclosure laws in general are just so insane. Because the way crypto works is that you can't prove that you gave up, you know, keys to things.
1:03:24Vlad CosteaYeah. I mean, when you give away a key to your car, I guess you can prove that there is no other, one way or the other. But in terms of cryptography...
1:03:35Peter ToddWell, but the point is you can only do that because a car is a physical thing that is limited in number. All right, when you're talking about giving up decryption keys for data, because encrypted data is random stuff, you know, there's no good way to go prove it. And the second part, like the second part that really makes it ugly with like key disclosure laws, is it's so easy for cops to go and just plant, you know, encrypted hard drives in your, you know, say in your apartment.
1:04:04I mean, it's effectively the equivalent of like planting drugs. And, you know, you just get an encrypted hard drive full of random data, stick it off in your apartment and say, "Well, why don't you decrypt that? We found it in your apartment. What's the key for it?" Of course, you don't know, and then you wind up in jail for it. It's just one of these very, very obvious threats. And when you can get micro SD cards like the size of your thumbnail that have capacities of half a terabyte...
1:04:34Like, it's just so trivial for a cop to just, you know, stick a micro SD card in their pocket and then go drop it on a, you know, on a scene. Like it's just something that you cannot have in a free society because it's too easy to abuse it. And we can't trust the police. You know, we know that they go plant drugs on people. They've been caught on their own, you know, police cams. And every time you find a case like that, remember, there's probably another hundred that didn't get caught.
1:05:04It's just a very ugly thing, but I think the Bitcoin relevance to that is, if that is the type of threat you're worried about, there may be nothing you can go do.
1:05:16Vlad CosteaSpeaking of drugs, Caro Zagorus wants to know if you like weed.
1:05:22Peter ToddWell, I like being able to get into the US, so no comment.
1:05:28Vlad CosteaThat's the best way of replying to that.
1:05:32Peter ToddWell, like, remember, even now, even though it's legalized, if you admit to ever using weed, you can get banned from the US for life.
1:05:42Vlad CosteaReally?
1:05:43Peter ToddYeah. Yeah, in Canada, completely legal. I can order, like, I can literally go to an Ontario government website and order weed with my credit card. Yet, if the US finds out, I can get banned for life. And especially crazy about that is, well, remember when I order it with my credit card? That information goes through a US server. The Ontario government really should be accepting Bitcoin for this.
1:06:13Vlad CosteaYeah, I suppose that's one of the use cases that was initially very popular for Bitcoin. There might be a return there.
1:06:23Peter ToddProbably still is, really. You know, maybe not. I mean, the numbers I've heard, which, you know, take with a grain of salt, is probably like 1% of Bitcoin transactions are related to drug sales. You know, like 0.5%. That's the kind of numbers Chainalysis throws around.
1:06:41Vlad CosteaWhich isn't that bad, right? I mean, with cash, I can... Maybe it's not 1%.
1:06:47Peter ToddHang on, when you say "that bad", what would be bad? What's wrong with people getting drugs that they want to? They're not harming anyone other than themselves.
1:06:58Vlad CosteaNo, I'm fully for legalization. They cannot just claim that it's being used for illegal stuff in the majority of cases.
1:07:10Peter ToddJust because it's illegal doesn't mean it's bad.
1:07:12Vlad CosteaNo, obviously, but what's going to frame Bitcoin as something for criminals? You're going to point out to drugs and to prostitution and whatever else is illegal and possibly immoral in the views of some.
1:07:26Peter ToddWell, you know, a whole bunch of people who want to keep the money flowing to law enforcement jobs for victimless crimes. But that's kind of, that's a whole other issue.
1:07:38Vlad CosteaYeah, I feel like we should go back to Bitcoin for a moment. Because American HODL, and I'm not sure if you know his meme, but he recommends people to hold or HODL 6.15 BTC. And he has...
1:07:53Peter ToddThat's a very specific number.
1:07:55Vlad CosteaYeah, and it's tied to the size of his dick, apparently.
1:08:01Peter ToddYou know, I can assure you it isn't, because the units don't match up. You know, Bitcoin's a unitless number, and the size of his dick would involve, you know, either length or volume. Maybe weight. Like, you know, I did enough physics to know, like, this just doesn't make sense.
1:08:20Vlad CosteaI mean, I'm pretty sure he uses the imperial system, possibly. If it's the metric system, then that's bad, man. That's like two inches. But anyway, he says that Blue Matt has upped his Bitcoin success prediction from 5% to 50%. And do you have any prediction in terms of percentage for success?
1:08:43Peter ToddWhat's his definition of success in the first place?
1:08:46Vlad CosteaExactly. Somebody like Adam Whitehead, he'd probably say it depends on how we're defining success.
1:08:54Peter ToddYep, that'd be a good prediction.
1:08:57Vlad CosteaLet's say that, I mean, adoption on a very large scale. Maybe even governmental.
1:09:05Peter ToddWhat does large mean? I mean, gold is adopted on a very large scale, but on the other hand, is also barely used at all.
1:09:14Vlad CosteaThat's a fair point. But even if it got to the point of gold, in my book, given its humble beginnings, it'll be a success.
1:09:24Peter ToddWell, a point I always like to make is Bitcoin can be an incredible success just by forcing, you know, the rest of the world to do better things. Like if Bitcoin forces PayPal to have more reasonable policies, Bitcoin's a success even if it doesn't actually get used that much.
1:09:46Vlad CosteaThat's also a good point.
1:09:48Peter ToddYou know, I mean, that's really more my definition of success. And at the same time, I also like to point out how in the long run, everything goes back to zero. You know, one day, Bitcoin will go to zero. You know, it will eventually fail like everything else. In the really long run, one day the last copy of the Bitcoin blockchain will get deleted.
1:10:14Vlad CosteaThat's a grim thought, and that's a very, very, very unpopular opinion.
1:10:19Peter ToddLike, you know, it's just reality. Like, all these things are temporary. Now, I think where I would say Bitcoin is a success is I couldn't tell you whether it's the US dollar that will fail first or Bitcoin. You know, I don't have a sense for what the probabilities of those two are, and I think either one could happen. Whereas if you'd asked me that maybe at the very beginning, I'd be more dubious. But certainly at this point, it's totally plausible Bitcoin could outlast the US dollar.
1:11:00Vlad CosteaSo I would say you're pretty optimistic. Because the US dollar has such, you know, it's quite a catchphrase nowadays to call it a network effect, and US dollar...
1:11:13Peter ToddHave you seen the history of fiat currencies? They often do just fine until they fail.
1:11:18Vlad CosteaYeah.
1:11:19Peter ToddYou know, all it would take is the US to go and elect some crazy president who does something particularly stupid. So far, Trump isn't sufficiently crazy and stupid enough to get the US into that situation. But, like, that's the kind of thing that could happen. If you'd asked people like, what, 15 years ago, how well Venezuela was doing, they'd probably say, "Just great, look at all this oil money."
1:11:50Vlad CosteaYeah, but Venezuela does not hold the reserve currency of the world.
1:11:57Peter ToddWell, it changes the probabilities, but that can change. Lots of people predicting like China's currency will become the reserve currency. Equally, people who would have said, "Oh yeah, China's going to do well." I mean, that may also be false. Like, it's just, it's not that predictable. But I think what we can say is it's certainly plausible for Bitcoin to outlast these. But even if it does, I mean, eventually it's still going to fail. Just takes enough time.
1:12:31Vlad CosteaI feel like this is still optimistic. I would say 50% if you think it will outlast the US dollar.
1:12:41Peter ToddYeah, that's the sort of number I could imagine. See, where I'd compare me is someone like David Gerard, who has been saying Bitcoin will go fail since forever. And the only thing failing is really his predictions.
1:13:02Vlad CosteaI mean, he has his audience and I suppose he makes a decent living expressing that view.
1:13:11Peter ToddWell, that might tell you something about why he has that view. I don't think that view is really based on any proper factual analysis. I think it's based on he has an audience that likes that view. Yeah, I think the same thing's true with a lot of like anti-Tesla analysis, where while certainly some parts of it are factual, it's because of an audience. And sure enough, the audience for anti-Bitcoin and anti-Tesla actually seems to overlap a lot. And both those audiences seem very annoyed that neither dies.
1:13:47Vlad CosteaYeah, I mean, this also tells us a lot about the media landscape in general, and how you have some sort of opinion which gets propagated all the time just because it has an audience but has no scientific or factual grounds.
1:14:06Peter ToddYeah, no, absolutely. Yeah, and I think it's just as true of hardware wallets as it is of media. You know, like why things become popular has got very little to do with how good they are sometimes.
1:14:23Vlad CosteaI feel like you have blown my mind quite a few times in this interview. And there's a lot to digest there. I mean, you get into this space and I'm not the most technical person. I don't claim to be. But I'm not going to go debating people and having very strong opinions like McCormack while claiming not to be technical. But there's a lot to be learned. And really people like you don't really go out giving advice randomly and selling courses and stuff like that because you have much more interesting stuff to do with your life.
1:15:00I suppose you're actually successful in doing consultancy for applied cryptography. And then... So much successful. Okay, relatively, but you're going to have people who, you know, apply this old saying about those who cannot do, that they teach. They're going to sell you bad classes about security and teach you bad advice, essentially.
1:15:27Peter ToddAlthough keep in mind, like, their business model is not that different from my business model, consulting.
1:15:34Vlad CosteaYeah, obviously you're telling people, you're teaching people what they should be doing.
1:15:39Peter ToddExactly. Yeah, like, that's a hard thing about this, you know, sort of saying about, you know, those who can't do, teach. There's certainly value in teaching, and teaching, like, you know, especially in the form of consulting, can be a nice, stable line of work with less risks that lets you go do more things and have more influence. You know, if I can go and help 10 companies go do something, I may have a much bigger lever to go make changes to the world than if I'd gone and focused on my own project.
1:16:15Vlad CosteaWow. So what are you up to?
1:16:23Peter ToddWell, not sure if I have funding for it, but I have been working on my Proofmarshal stuff on and off lately. And of course, there's my OpenTimestamps thing. And, you know, both of them, like, the projects really boil down to making truthful statements about data. OpenTimestamps makes a very simple statement of proving something exists in the past. And then Proofmarshal extends that by saying, well, rather than just existence, we'll go say it's the only thing that existed in some category. And those two classes of statements turn out to be quite powerful.
1:17:07Vlad CosteaSo what are the practical applications of these?
1:17:12Peter ToddWell, like a really simple one is with digital signatures. Let's suppose you have a digital signature on a document, and the private key gets leaked. How do you verify the signature now that the attacker could have made it? Well, if you have a timestamp and you can go show that the timestamp proves that the document existed prior to the private key leak, you now can still verify the signature even though the key was compromised.
1:17:45Vlad CosteaAnd this is Proofmarshal?
1:17:49Peter ToddThat's OpenTimestamps. That's probably the simplest use case for it. And as an example, Bitcoin Core repo: there's various committers to it who use OpenTimestamps with their Git commits. So you have this constant timestamp of when code was added to Bitcoin Core, and you can go back and go verify these signatures.
1:18:18You also see this in, I mean, evidence in general. Like, very, very often, you can go rule out certain types of attacks by just saying it existed in the past. Maybe as an example, like you have a contract with a company, and when the contract was signed there was no reason to do anything malicious about it. But after the fact, someone finds out, hang on a second, we would have been in a much better position had, say, this clause been changed. You know, maybe it's like a farming contract, right?
1:18:51And you want to go back in time and go add a clause about, you know, damages due to bad weather. Of course, you don't know that bad weather will exist in the past, but if you find out later, well, suddenly you want to go change the contract. And having that timestamp on that contract, amongst with other verification of it, can be quite valuable to say, "Hang on a second, no, no, this is what it actually existed." Now, in that case, depending on the circumstances, you could go do something where you actually have two different versions of contracts, right?
1:19:24And you timestamp them both. That's where Proofmarshal comes in, because it can go rule out the existence of conflicting versions of something.
1:19:35Vlad CosteaHold up a minute, Peter. So you're telling me that a Turing-complete smart contract doesn't fix this?
1:19:43Peter ToddWell, what I'm really telling you is that Proofmarshal lets you create those Turing-complete smart contracts using this much simpler primitive. Yeah, and you don't see, like, most of the complexity of Proofmarshal actually be using it to create smart contracts. But the core primitive that it needs is just uniqueness. Because once you have a unique set of actions, and you can say, "All right, that's what happened," you can always run a program on those actions and then come to a conclusion about what your current state is.
1:20:21You know, for all this nonsense about Turing-completeness, that's what Ethereum is: a big shared set of actions, a set of data that you run a program over, and it comes to the same conclusion as everyone else's. It's just in Ethereum actually running that program is really hard because Ethereum has hardly any full nodes. They've blown up their blockchain. And Proofmarshal, you know, can be much more scalable than that because you only need the data for your particular application. You don't care about anyone else's contracts.
1:20:53Vlad CosteaSo I suppose this will not require to use anything related to blockchains and stuff, right?
1:21:01Peter ToddWell, yes and no. I mean, one way to go put it would be to say it lets you create your own blockchains bootstrapped over other blockchains. You know, like blockchain itself, like a chain of blocks, is a very useful data structure. People have overloaded that term to go mean a whole bunch of other nonsense. But the idea of having a chain of blocks is really valuable. And, you know, my goal with Proofmarshal is in part to make it really easy to make chains of blocks when they make sense.
1:21:32You know, maybe you need an audit log for something. A chain of blocks would be very useful. And if you can make that chain of blocks be unique by tying it back to, say, something like Bitcoin, you know, using something I call a single-use seal, then that's very valuable. But to get there, you need a whole bunch of infrastructure, you know, you need a whole bunch of software to write and so on. So it's a much harder thing to implement than, say, OpenTimestamps, where, you know, a timestamp proof is very simple by comparison.
1:22:06Vlad CosteaI can see that you have been working on this for at least four months. And you...
1:22:13Peter ToddLonger than I can admit without being a little embarrassed. I think I came up with the name Proofmarshal like, what, three years ago? So, yeah, it's taken a while.
1:22:29Vlad CosteaAre you looking for anyone to help you code this or for any kind of review?
1:22:36Peter ToddSure, I mean, hell, it's up on GitHub: github.com/petertodd/proofmarshal.
1:22:43Vlad CosteaI'm not sure if I have the right kind of audience to find people who would be interested in helping you, but it's worth giving it a shot. Letting them know what the URL is, anyway. Anyway, it's really interesting that you're working on this and you're not really stuck into, you know, the mainstream conversation about Bitcoin nowadays. You're thinking outside of that box, and that's useful in itself.
1:23:15Peter ToddWell, you know, I think particularly like this sort of reflexive, you know, "Bitcoin, not blockchain" thing that a lot of people have. Well, I think it's understandable given the craziness of the ICO space, it does sort of throw out the baby with the bathwater.
1:23:36Vlad CosteaYeah. Some people would argue that your talents would better be used in Bitcoin Core. But others demonize you for stuff like RBF and the idea that Bitcoin should have inflation and stuff like that, you know, unpopular opinions that you expressed.
1:23:58Peter ToddWell, I think the inflation one's kind of funny because, yeah, I would say quite concretely that Satoshi made a mistake there. On the other hand, the difference between zero inflation and like a fixed, like, you know, 0.5% or something isn't very big. After all, the current Bitcoin inflation rate, after the halving, it'll be what, 2% or something? You know, obviously having inflation isn't deadly to Bitcoin. But probably the really funny one is just the RBF nonsense. People forget that the type of RBF that actually got implemented in Bitcoin Core is not the type I wanted.
1:24:44Vlad CosteaOkay, can you elaborate?
1:24:47Peter ToddWell, you know, I argued for quite a long time, I mean, many, many years, that replace-by-fee should just be, well, you know, nodes accept whatever is a higher fee transaction, end of story. What actually got implemented is an opt-in thing. So the previous, you know, zero-conf behavior of, well, there's this sort of vaguely, slightly secure thing that doesn't actually work, does exist. And you always were able to create transactions that could be double-spent. You know, like, you just do this by broadcasting transactions with a low fee followed by a high fee.
1:25:24And enough nodes will reject the low-fee one and ignore it, that the high-fee one will probably get mined. You know, I've got a blog post actually on this where I tested this prior to opt-in RBF getting widely implemented. And on top of that, at least when I tested that, wallets were so bad at handling double spends that often, for instance, they'd not even recognize the double spend after it had been mined. You know, this business about, oh, I screwed up zero-conf or something, it just completely ignored the reality of just how bad wallets actually were.
1:26:02Now, I think like where that really came from is just people who are lying to each other about what Bitcoin is good for.
1:26:11Vlad CosteaI think that also happened in, what year was it, 2014, 2015? Yeah, I think that's about the right time period. And people were still stuck. I mean, some people were still thinking of Bitcoin as a cheap way of transacting, and they are the same kind of people who moved on to Bitcoin Cash afterwards.
1:26:38Peter ToddWhich, if anyone actually used it, would be an expensive way of transacting. Yeah, like the irony is, like, nobody uses Bitcoin Cash. You know, anyone with a shred of common sense or, like, technical chops would understand that Bitcoin Cash and, like, you know, BSV models don't make sense. Bitcoin so obviously doesn't scale. Yeah, I think the problem we had in the Bitcoin space and the wider cryptocurrency space is making things that actually work is hard. And it's quite a bit harder to make them profitable by selling tokens.
1:27:16It's much easier to sell a token when you have this unscalable shared consensus model. Selling a token for Lightning is kind of hard. Like, it is hard to imagine Lightning with a made-up token attached, other than, of course, like Bitcoin itself. But you can't bolt on another token to Lightning and have it make sense. So if you want to be a scammer and just make a bunch of money with an ICO, the type of architectures that work don't make sense for you, and you're not going to push them.
1:27:48You know, Proofmarshal is an example. It's completely unimaginable how the hell I would add a token to it. OpenTimestamps, same thing. How would I add a token to OpenTimestamps? Makes no sense. Of course, Tierion did try to go do that. Tierion's, you know, it was marketed as a scam. End of story.
1:28:08Vlad CosteaThat's a very direct opinion.
1:28:10Peter ToddWell, I wrote a blog post on this. Like, Tierion's marketing was a scam. They lied about what Tierion could actually go do. You know, this unfortunately is just a very, very clear-cut thing. And it's funny too, because the way they lied about it even went a little beyond the minimum they needed. You know, like one of the key things being they compared it to OpenTimestamps, saying they had lower latency than OpenTimestamps. They didn't need to do this for the purpose of selling an ICO token, but I think...
1:28:42But I think part of this is once you're in a mode where you're going to lie about the necessity of your tokens, you're also might as well go lie about the performance of your system.
1:28:55Vlad CosteaI didn't know about this, but makes a lot of sense. And Vitalik, this is how you get 25 million. I know you were friends with him or something because he's also from Canada and for a while.
1:29:11Peter ToddI wouldn't say I was ever friends with him. I met him quite early on, but I never really liked the guy. He always seemed dubious to me. You know, like he always gave the impression of being dishonest.
1:29:27Vlad CosteaI mean, it's very hard to get clear signals from him because he's so awkward.
1:29:34Peter ToddWell, I think that's actually a put-on thing to try to distract people from, you know, the times he's marketed Ethereum with lies, as an example. You know, like they keep on having to go pivot to new variants of Ethereum precisely because they're never able to admit, "Well, yeah, Ethereum doesn't scale, and we don't know how to make it scale." You know, like that's just not how it was advertised in the beginning. And that was a lie. They knew damn well that it didn't scale, and they had no... You know, no path forward for that. But like, this is how you go and sell ICO tokens.
1:30:12Vlad CosteaYep.
1:30:16Peter ToddYou know, like, look at it this way. When you're committing securities fraud, and the SEC could throw you in jail for it, lying about like the details of how your system works, that's a really technical thing that not many people understand. You might as well do that too. The additional bit isn't going to get you much more trouble than you're already risking.
1:30:38Vlad CosteaYeah, that's why I don't think we can replicate Bitcoin at this point.
1:30:46Peter ToddWell, yeah, it's not good for society if Bitcoin gets replicated a ton of times. You only need to create one made-up token out of thin air to do what Bitcoin needs to do. There's some minor things that I would want to go see change, but my big one is I think Bitcoin should have a small bit of inflation, and the difference between, like, my argument only becomes relevant in maybe another 20 years anyway, so it doesn't really matter that much right now.
1:31:18Vlad CosteaYeah, it's going to be interesting to see how the security is going to be maintained, right? Sometimes I think that mining will no longer be profitable at some point, and the development of ASICs is going to stagnate, and people will do it because it's a hobby.
1:31:36Peter ToddWell, it's... hang on. It's okay if the development of ASICs stagnates. That's probably a good thing for us. The issue is really like attacks based on there not being enough money going into mining. Alright, and keep in mind, mining can, like, if mining isn't very profitable, that's okay too. All that matters is, is there enough money being spent on proof of work for Bitcoin to be secure? And in a system where your inflation reward eventually goes down to zero, you're now relying on transaction fees, and there aren't good reasons to think they actually will work out.
1:32:18Like, yes, you certainly could pay for security with transaction fees, but there's all kinds of weird game theoretical stuff about, you know, maybe I won't mine a block now, I'll kind of wait later and so on. It's just a much simpler, you know, easier to analyze system if there's always an inflation reward. Relying only on transaction fees is a dangerous thing.
1:32:41Vlad CosteaI guess we're going to have this debate, as you said, 20 years from now. But do you think that at some point mining will be much more decentralized if adoption grows? So, for example, sometimes I think there will be a return to that initial one CPU, one vote model, and people will just run a mining rig on their regular computers.
1:33:06Peter ToddWhy? What is their incentive?
1:33:12Vlad CosteaOkay, that's a good point. But what is people's incentive to run a node? So why don't they also run a mining node on the same computer?
1:33:21Peter ToddTheir incentive to run a node is if they don't run a node, they can go be attacked by the person who they go trust to run a node for them. That's a very simple, clear-cut thing. And if you make running a node to be cheap enough, then it makes sense to go and do that rather than risk that attack. And that's what it comes down to. A lot of people don't run nodes and they risk that attack. Running a node and actually using it. Because keep in mind, just running a node isn't enough.
1:33:50You run a node off in a corner of your apartment but don't actually use it, you might as well not be running a node. But if you run a node and use it for your wallet, then you're protecting yourself against attack. Whereas mining doesn't really protect yourself against attack. It just uses up energy to maybe create a block like once in a while. There's no direct benefit to you other than the profitability of it. Now, maybe if you need the waste heat, then it could make sense, but... The question there is, do you need the waste heat and is the equipment to do mining cheap enough to make that a good economic argument?
1:34:35Vlad CosteaYeah, so my dream of decentralizing mining is not really...
1:34:41Peter ToddWell, but mining will always wind up being fairly decentralized because cheap power is inherently relatively decentralized. Alright, like mining is a race to the bottom, and the cheapest power is available in relatively small amounts spread around the world. That's just the nature of cheap opportunities for power. And part of cheap means also being able to get rid of the waste heat and do something useful for it. That inherently doesn't lend well to centralization. You know, it's much cheaper to get rid of a megawatt of heat than 100 megawatts of heat.
1:35:17Because a megawatt of heat, first of all, you probably go do something useful with it. You know, if it's only maybe warm a greenhouse or something. And secondly, like just basic physics, it is easier to get rid of a small amount of heat than a large amount. Similarly, getting a megawatt of cheap electricity, that's going to be easier than getting 100 megawatts of cheap electricity, all things being equal, because if 100 megawatts of cheap electricity existed, someone will go use it for something else.
1:35:52Vlad CosteaOkay.
1:35:53Peter ToddLike, this is why Bitcoin mining tends to be done in weird locations with somewhat stranded hydro resources, particularly stranded in like regulatory sense. Right, where, you know, there's rules for like what you can use power for, who could, you know, where you can go connect things. And oh, you know, there's a few megawatts there for some hydro plant that really should have never been built in the first place. Well, how do you use it? You go stick a mining rig next to it. You know, China did happen to have a ton of that because China's communist central planning in geography meant there's a whole ton of hydropower in all kinds of weird locations that didn't really make much sense. And, you know, you're seeing some of that happen again in other places. You're also seeing things like doing Bitcoin mining with flared, you know, gas from oil rigs and so on.
1:36:55Vlad CosteaSo where do you see Bitcoin in more than 20 years? Let's say, do you believe it will still be around in 30-40 years?
1:37:05Peter ToddI'd give it a high chance. You know, probably like your 50-50 type of thing. But, you know, all this stuff's hard to predict. Like, human civilization might not be around that long if we fuck it up enough.
1:37:22Vlad CosteaThat's also fair. And there are a lot of people denying our, you know, effect on the environment and ourselves.
1:37:31Peter ToddWell, you know, we're not likely to screw up the environment that quickly, but you certainly could imagine like nuclear war, you know, breaking out. It would not take much nuclear war to really screw up most of humanity. You know, and this is not to say that, like, we would actually be extinct. But you know, if in 40 years, like, civilization doesn't exist as we know it, I could certainly imagine that. It would take like one nuclear war to do that. The problem we have is industrial supply chains are just...
1:38:09So diverse and they span the planet and they're really hard to replace. It wouldn't take that many countries going to war with each other to screw all that up. Who knows, we'll maybe see a bit of this in miniature as this coronavirus stuff progresses.
1:38:28Vlad CosteaYeah, that's going to be interesting to see how it plays out.
1:38:33Peter ToddYep.
1:38:34Vlad CosteaI mean, here in Romania, I already see people wearing masks in public, which is kind of excessive.
1:38:42Peter ToddYeah, I mean, it's probably not a harmful thing. Probably good in terms of face recognition. I think more wearing a mask would probably be good for society. But you know, like, certainly things like, you know, shutting down borders is probably the right move. Part of the issue there is we don't really have a good handle on what's really going on. China lies. The Chinese government is an authoritative dictatorship.
1:39:21Vlad CosteaYeah, I think I have two more questions for you, and we have been going on for almost two hours, and I'm not sure if people have been up to this point. I hope they will. And if you do, just tag us on Twitter and say, "Hey, I have heard that part." And one of the questions that come to mind when you talk to somebody who has been around for such a long time, and obviously you're a talented person in security and coding: why are you not Satoshi? What is your general reply to that?
1:39:56Peter ToddWell, I am Satoshi. We are all Satoshi.
1:39:59Vlad CosteaBut why are you not, in particular? What is your...
1:40:03Peter ToddNo, I am Satoshi. And in the grand tradition of Craig Wright, I will give you absolutely no evidence to suggest that's true.
1:40:12Vlad CosteaI mean, we have...
1:40:13Peter ToddIf it's good enough for Craig Wright, obviously I'm Satoshi. Also, I'm Craig Wright. Just to be clear about this, that other Craig Wright is a total scammer pretending to be me.
1:40:23Vlad CosteaI mean, I could say that too, but I have to check with my lawyer.
1:40:30Peter ToddYeah, I don't think Craig Wright is going to sue me anytime soon.
1:40:35Vlad CosteaI mean, he slandered Greg Maxwell quite a lot.
1:40:39Peter ToddHe slandered me too, but like Craig's in so much legal trouble, I can't imagine he wants to add another jurisdiction to it.
1:40:48Vlad CosteaPossibly. But seriously though, you have quite some points of contention and some ideas that are very anti-Bitcoin, like inflation. But if you're Satoshi, that would be the perfect cover-up, right?
1:41:03Peter ToddWell, why do you think they're anti-Bitcoin? I think Bitcoin needs inflation. Thus, my idea of inflation is pro-Bitcoin.
1:41:13Vlad CosteaI think that's something we have in common, economist fathers. I also tried to explain Bitcoin to my father and was like, "What's the point of having a fixed supply? I mean, no, no."
1:41:29Peter ToddNo, with my dad, it was totally different. It was more, "Oh, obviously, this is going to be valuable." Like, he didn't need much convincing, you know. The digital gold argument is a very simple one. Of course, keep in mind, gold is inflationary.
1:41:49Vlad CosteaOf course, you find new sources all the time.
1:41:52Peter ToddYeah. And gold has the problem that the supply isn't bounded. As an example, if you took all the gold on the Earth and transported it to the surface, it would cover the entire planet in a layer, if I remember correctly, about a meter and a half thick. There is a lot of gold out there. Far more than we have access to right now. And we don't know how much gold technology will, you know, be able to mine in the future. You know, maybe we'll find a gold asteroid somewhere or something. Like... Gold does not have a strictly limited supply.
1:42:33Vlad CosteaI agree with that. It's going to be interesting to see how our civilization ends up perceiving money in the end, because in the last 40 plus years, 50, it's been that long since '71, almost 50, 49...
1:42:50Peter ToddYep.
1:42:51Vlad CosteaWe have had a different model, which is based on consumption and excess, and a lot of development around the world has happened because of this, just because they had the power to print more money and give it to develop.
1:43:06Peter ToddWell, no, Well, though I wouldn't talk about that in terms of consumption and excess. The way I'd go talk about it is very simple. You are taxed on savings and you are forced to invest. That's not the same thing as consumption.
1:43:27Vlad CosteaYeah, that's a fair point. Even though, you know, actually, you don't know, but in my country, more than 50% of the GDP is generated by internal consumption. So if people start saving at some point and they say, "I don't need to buy the latest iPhone, I don't need to buy that, why don't I just save the money?" The whole system is going to collapse under its own weight.
1:44:03Peter ToddNo, I would say no. And the reason why I'd say no is it's quite possible to go put that money into investing. You know, it's not so simple to say that we have to have consumption. Like the standard, you know, economic arguments for this are actually about investment. You want to go tax unproductive savings and then stick them off into investing where they go do something productive and push society forward. I think the bigger issue is just we've pushed interest rates so incredibly low that they might as well be zero.
1:44:39And all this stuff kind of gets out of whack. Yeah, and the other aspect of that is, you know, inflation is incredibly regressive in that it doesn't affect the rich because the rich can go park their money in investments that aren't affected by inflation at all. Inflation is much more about the poor.
1:44:59Vlad CosteaI never really thought about it in these terms, like inflation is about the poor. But that does make sense. I mean, it's kind of a system which preserves the class system and the establishment.
1:45:18Peter ToddWell, again, I wouldn't talk about in terms of preserving the class establishment or any of that. Like a lot of that's just... It's kind of inherent. I mean, the moment you have a complex economy, you're going to wind up with classes because achievements are hereditary to some extent. And the curves on your return on investment of achievement are just so extreme. It's, you know, it's virtually unthinkable to get rid of that.
1:45:51Vlad CosteaOkay.
1:45:52Peter ToddYeah, I think, like, the more interesting thing is just really, I'd say, issues of fairness. You know, the simple reality is, if you have a system where there is no way to invest your money other than investments in the standard way, you're really narrowing your choices for people. Like you can't go and save money in a piggy bank the way you used to be able to.
1:46:21Vlad CosteaI feel like for the last question, I should get back to the initial topic. And I remember in Berlin, you saw the new HTC phone.
1:46:28Peter ToddWhich one? Oh yeah, that one.
1:46:30Vlad CosteaSo this, the Exodus 1s. And I wrote a review about it. I wasn't happy about what I discovered. I feel like the full node is kind of gimmicky and there's nothing you can do with it outside of their native wallet. So what is your opinion on the phone? You tested it, right? You bought one.
1:46:55Peter ToddYeah, I looked at it a bit and honestly, the very fact that the case back is, you know, it's got like a laser printed, you know, Bitcoin logo type thing. I mean, to me, that already screams bit of a gimmick. You know, and I think part of the issue here is it's just like other hardware wallet stuff, only by a less reputable manufacturer, you know, and I say less reputable not because HTC in general is less reputable, but obviously they don't have much expertise doing hardware wallet stuff, so why would I trust them with it?
1:47:36Vlad CosteaI'm not even sure if they partnered with some sort of reputed hardware wallet manufacturer or they just developed their own system.
1:47:45Peter ToddWell, the fact you're not even sure about that, I think answers your question, right? Regardless of the answer to that, that the answer isn't clear is part of the trust problem.
1:47:58Vlad CosteaSo I reckon you don't recommend this phone to anyone.
1:48:02Peter ToddNo, no, I only got one because I thought it would be a neat thing to go have and be able to go take a look at. And I had a nice excuse to do a big Lightning purchase with it, which incidentally, the Lightning transaction worked just fine.
1:48:21Vlad CosteaYeah, I mean, it's a decent phone, even though I suppose it's priced fairly, but it has old specs and runs an old operating system, which I don't think gets any updates.
1:48:34Peter ToddYeah. Now, Android in general is a mess that way. Unfortunately, we have all these Android... The way Android really should have worked is, you know, like Windows on, you know, for that matter, Linux on normal PC hardware, where everyone just has an open standard, and you just install the software, but unfortunately, that's not what happened. You know, there's no easy way to just load a standard phone distribution, if you will, the way you would on a PC.
1:49:04Vlad CosteaIs that why the first example that you gave for recommendation that you give to people to install wallets, you said they should buy an iPhone because it has more secure...
1:49:16Peter ToddExactly. Yeah. It's unfortunate because there's a lot of reasons to not trust Apple. But overall, you'd probably have a little more, you know, good luck with Apple than Android. Like the other possibility there is just go buy, you know, a Google Pixel. But you know, like that recommendation is kind of out of practicality, really. You know, the one I would kind of recommend maybe even before that is get a ThinkPad and go install a Linux distribution on it and go put a wallet on, or, you know, use Tails. But the audience for that is, you know, a bit more narrow than just a very generic recommendation that anyone can do.
1:50:01Vlad CosteaBut is Tails really safe? Because as far as I know, it connects to the internet all the time.
1:50:08Peter ToddWell, I mean, I don't think that that threat is what I'm worried about as much. You know, like, to use Bitcoin in general, you have to use the internet. Like, for a variety of reasons, I just don't think that's the biggest threat I'm worried about, for your sort of basic advice. Now, the more important thing is just don't use the computer for very much. You know, don't go off using it to run games and stuff like that.
1:50:36Vlad CosteaYeah, and this makes a lot of sense to have dedicated devices. We seem to have forgotten in this era where you get one device that can do anything, sometimes.
1:50:46Peter ToddNo, but like the fact you have to give that advice is a massive failure of computer security. You know, we shouldn't have to give that advice. It's a bit ridiculous, really. But because we've done such a terrible job at computer security... You know, if I had a more sophisticated audience, I would say install Qubes. But for that very generic advice, yeah, Apple phone is probably a decent option. You know, it's advice I've given to, like, you know, some friends and family who were very non-technical, but yeah, like, there aren't good options here.
1:51:26And again, remember, the issue with all this is how do you actually go use your Bitcoin? You know, the moment you log into Kraken, you have this compromised device issue anyway.
1:51:40Vlad CosteaThere's not much development going on in Ubuntu for mobile, right?
1:51:45Peter ToddNot that I know of.
1:51:47Vlad CosteaI remember it was supposed to be huge, but it didn't do much.
1:51:55Peter ToddWell, you know, mobile is a very tough thing to develop for because so much effort needs to be put onto good UI design. It is tough to write, you know, to make good, you know, good touchscreen interfaces. And companies like Google and Apple put a ton of research into it and a ton of money. It's much easier to write a command line application.
1:52:21Vlad CosteaIt's also interesting that in this space where the buzzword for such a long time has been "let's decentralize," even though it doesn't make sense most of the times, but we recommend companies that have a good record for security like Apple, and also have a more ethical collection of private data.
1:52:44Peter ToddBut don't think that's saying that centralization is good. That's just saying that overall, the choices we have are so terrible that that still winds up being the best for some class of users. All right, like my more sophisticated advice for more technical people is very decentralized. You know, it's get a PC and install a Linux operating system on it, right? Like that's a very decentralized type of advice made possible by the very decentralized PC market. But unfortunately, you know, because of lack of investment and so on, that market is kind of getting pushed out. Also, like it's partly monopoly thing. You know, Apple and Google would love if PCs stopped existing.
1:53:32Vlad CosteaThey're even trying to replace them. And I think Google has failed miserably with the Chromebooks.
1:53:40Peter ToddWell, like, look how on iOS, there is no easy way to write programs for it without Apple permission. You know, that's an incredibly locked down environment. But there aren't good answers.
1:53:59Vlad CosteaYeah, that's delicate. And I know for a fact that even for Bitcoin wallets, it's very hard to add features. I know that Blockstream has had to work for months to be able to implement Tor.
1:54:13Peter ToddYep.
1:54:14Vlad CosteaI think right now GreenAddress is called Blockstream Green. But they did manage to implement Tor and they are the only ones that were able to do it.
1:54:27Peter ToddWell, on Android, you could run anything through Tor, actually, with the Orbot proxy. But you know, again, like this kind of comes down to like choices in your operating systems. You know, it's so easy for Google to go shut this down. And if I remember correctly, like Apple doesn't let you know, doesn't make it possible to write Orbot at all. Which is ridiculous, but what can you do about it? Like these devices are just so locked down these days. There aren't good alternatives to this. Yeah, it's unfortunately the type of thing where government regulation is probably one of your few options, you know, and ultimately like this is an antitrust issue.
1:55:08Vlad CosteaOkay, one last question and I wouldn't make this so long, or I wouldn't have made this so long if I didn't enjoy it, because I feel like I have learned a lot and this was maybe selfish, but there is a lot of discussion in regards to the difference between VPN and Tor. And sometimes people recommend that you should use both at the same time. What is your take?
1:55:36Peter ToddDepends on your threat model, but certainly using both can be the more secure option. You know, like Tor has a different, Tor is a different type of threat model than VPNs. It also depends a lot on like what VPN you use, right? I personally use Mullvad because I've personally met the people behind Mullvad and I've talked to them about their philosophy and their business model. And it's reasonably convincing to me that their business model probably is just being a VPN and selling privacy, right? Whereas like a lot of other VPNs, probably their real business model, especially, you know, anyone that's free as an example, their real business model is very likely to be selling logs.
1:56:26You know, Tor has this issue, although its architecture is different, because Tor, of course, is run by a non-profit. You know, ultimately in large part funded by the US government. And at least if your threat isn't the US government, for a lot of reasons, Tor is probably pretty trustworthy. And even if your threat is the US government, Tor seems to work pretty well.
1:56:51Vlad CosteaI've actually heard about embassies running Tor, which is interesting.
1:56:58Peter ToddYeah. Well, like, remember, the US government needs Tor to exist for a variety of reasons. Part of it's regime change, part of it's for their own internal people to use it. And for all these reasons, having Tor actually work and actually get used by a ton of people helps them out. So it's really no surprise that you get that funding source. It's not exactly a hidden thing. I mean, they're quite open about it. And it's been true for ages.
1:57:26But I think the bigger one is more just the VPN market where it's pretty clear that a lot of VPN services are really sketchy. Yeah, it's just the nature of the thing. Like you can undercut your competitors on price by making money selling logs.
1:57:44Vlad CosteaDo you think that we should be running Tor exit nodes just like we run Bitcoin nodes?
1:57:52Peter ToddWell, in theory, yes, but have fun doing that. The unfortunate thing is, depending on your jurisdiction, you can get in a lot of trouble for running a Tor exit node. You know, Tor has a good set of guidelines on how to do it, but it's the kind of thing where it's not something you really want to recommend people do just willy-nilly. On the other hand, running Tor routing nodes, that is not the exit nodes, but the inner nodes, that's totally fine in nearly anywhere. And, you know, I recommend people do that.
1:58:24I mean, I've done that for myself quite a few times. So, plus, you don't need exit nodes to use Tor. Like, Tor's Bitcoin support, as an example, doesn't need exit nodes to work. So having more bandwidth on the Tor network for inner routing nodes helps everyone.
1:58:41Vlad CosteaOkay, that's good to know, really. Thank you. So thank you for doing this interview. I know you don't do a lot of podcasts. I know it's pretty difficult to get you, and I'm happy and fortunate to have you for these two hours.
1:59:01Peter ToddWell, it's easy to try. Just send me an email. Whether or not I respond, well, we'll see.
1:59:05Vlad CosteaYeah, and I suppose I will be seeing you in Romania, hopefully, this year.
1:59:11Peter ToddYeah, I hope to go back to the Transylvania conference. It was a lot of fun last year.
1:59:21Vlad CosteaThank you very much, Peter. Do you have any closing words or anything that you want to promote?
1:59:27Peter ToddNo, just thank you.
1:59:29Vlad CosteaOkay, I'll send you this when it's over, when I finish editing.
1:59:34Peter ToddAll right. Thanks.
1:59:36Vlad CosteaLet's hear a few words from the show's sponsors.
1:59:51Ad voiceoverLet's hear a few words from the show's sponsors. LXMI is a European cryptocurrency exchange whose name is inspired by Lakshmi, the Hindu goddess of wealth, good fortune, and prosperity. It's one of the regulated and legal cryptocurrency exchanges.
2:00:09On LXMI, you can buy bitcoins with most fiat currencies and you can also do trading with top altcoins. They follow the "not your keys, not your bitcoins" philosophy with their integrated non-custodial wallet which helps you manage your own private keys. So if you're into trading, then you don't have to worry about having your crypto frozen by whatever political decisions, since you're empowered to hold and move your coins whenever you wish. It's great to have new players like LXMI that respect your financial sovereignty. LXMI is launching in 2020 and for more information, please check out lxmi.io. If you're not into trading, it's recommended to move your coins to a hardware wallet or some other form of cold storage.
2:01:00And in this episode, you're about to find out why. Please keep in mind that this is just an ad for a sponsor of the show. It's not meant to serve as financial advice. You're responsible to do your own research before buying anything and act according to your own decisions. Embrace your financial sovereignty with agency and precaution.
2:01:25Phemex, Phemex, P-H-E-M-E-X, Phemex. Phemex is a Bitcoin exchange with derivative trading options, which focuses on speed, robustness, and maximum uptime. Built by former Morgan Stanley executives, it manages to bring simple and accessible Bitcoin trading. In 2020, Phemex will also add S&P 500 stocks, stock indexes, forex, commodities, and more. Sign up today at phemex.com/bonus and receive a bonus of up to $72. Please keep in mind that this is just an ad for a sponsor of the show. It's not meant to serve as financial advice. You're responsible to do your own research before buying anything and act according to your own decisions. Embrace your financial sovereignty with agency and precaution.
2:01:25================================================================================ Production notes: Remote recorded interview in English between Vlad Costea (Romania) and Peter Todd (Canada), with a short music intro and pre-recorded LXMI and Phemex sponsor reads at the start and end. Correction: anthropic/claude-opus-5.5 via NanoGPT in 8 windows with a whole-episode speaker/glossary plan, the show notes, the Qwen3-ASR full pass (163 chunks) and 21 Scribe v3 re-checks of doubtful spans; [unclear] resolve pass: 6 of 6 flagged paragraphs re-checked. Automatic checks: word count vs raw, timestamps, seam duplication. Fixes: Removed intro music/© BF-WATCH TV hallucination, dash runs, "-end", stray "Thank you"s; labelled LXMI/Phemex reads as Ad voiceover; Femex/PHEF→Phemex; pit box→BitBox; cubes→Qubes; Tracer/Traysor→Trezor; WalletOn→a wallet on; GreenAddress/GreenBits; split Peter's "Which one?", "Well, remember", "Yep" and Vlad's "So that worked, actually?"/"I suppose Ledger is the best seller" turns; restored dropped words from second ASR/Scribe; Removed metadata-loop and "Thank you for watching" hallucinations plus stray "Thank you."; fixed Nopara→nopara73, Chainalysis feed, CoinDesk, KeepKey, ShapeShift, Ledger (Fletcher), Trezor (Tracer), Coldcard, PSBT (PBSG), multisig, Zcash trusted setup, compute nodes, write once, YubiKey; repaired garbled "auditing" sentence and "acronym stands for"; split Vlad/Peter interjections at 00:20:30 and 00:29:35, moved "Right." to Vlad at 00:25:06; Guest A → Peter Todd; fixed YubiKey, FIDO and U2F, BIP32-style derivation, Eclair, Ballet, gimmicks, Douglas Bakkum, Coldcard, JoinMarket, watch-only, "in that environment", "where there's so much gimmicky stuff out there"; moved "Well, I mean" to Peter, "Sounds promising" to Vlad, "Of course. Yeah, that's surprisingly hard" to Peter, "Oh, yeah" as Peter interjection, final "Yeah." to Vlad; removed "Thank you.", "Ole!", "See you.", "- -", doubled-word artifacts; Guest A→Peter Todd; fixed Trezor/Ledger ("presser"), multisig ("multi-six"), cold storage ("Calls for us"), "not connected", Bitcoin transaction ("contract action"), Zcash trusted setup, RS-232, "far faster"; removed "Thank you"/"Thank you for watching"/metadata loop hallucinations and doubled words; split Peter interjections (Indeed, Yep, Yeah that's correct, That's good) to correct speakers; Guest A → Peter Todd; fixed misattributed fragments ("tigers around", "cryptography", "Have you seen the history of fiat", "Really?", "No, I'm fully for legalization", "What does large mean"); removed "Thank you for watching..." and stray "Thank you." hallucinations and doubled words; fixed lemon market, lock-picking, has full control, life for money, banned for life, grain of salt, Chainalysis, illegal, American HODL, grim thought, outlast; listener names marked unclear; Removed "Thank you for watching/Bye", stray "Thank you" and metadata hallucination "BTC, Hardware Wallets..."; deduplicated stutters; fixed Proofmarshal, OpenTimestamps, Tierion, Satoshi, zero-conf, Turing-complete, single-use seal, GitHub URL, "line of work", "having inflation", "implemented"; restored "others demonize you" from second ASR; moved "Well, I think the inflation one's kind of funny" and "Well," to Peter; relabelled Guest A as Peter Todd; Removed "Video by: Nikolay Yurchenko" loop and stray "Thank you." insertions; fixed lies (was "wise"), ASICs stagnates, mine a block, waste heat, screw up, effect on, Craig Wright, perceiving, dad; split speaker interjections (Peter's "Why? What is their incentive?", "Yep", "Well, why do you think they're anti-Bitcoin?