Title: S4 E7: Peter Todd on Hardware Wallets, Security & ProofMarshall Podcast: Bitcoin Takeover Podcast (host: Vlad Costea) Guest(s): Peter Todd, applied cryptography consultant, former Bitcoin Core contributor, creator of OpenTimestamps and Proofmarshal Published: 2020-02-04 Duration: 2:02:39 Episode URL: https://bitcoin-takeover.com/audio/?name=2020-02-04_s4_e7_peter_todd_on_hardware_wallets__security__proofmarshall.mp3 Audio: https://bitcoin-takeover.com/audio/media/2020-02-04_s4_e7_peter_todd_on_hardware_wallets__security__proofmarshall.mp3 Transcript: CORRECTED. Whisper-Large-V3 first pass with speaker diarization, corrected with Claude Opus 5.5 against two independent re-transcriptions of the audio (Qwen3-ASR full pass; ElevenLabs Scribe v3 on doubtful passages) and the show notes; automatic consistency checks. Format: Clean verbatim (v2): fillers (um, uh), stutters and false starts removed; wording, meaning and order unchanged. Each paragraph starts with [hh:mm:ss] (its start time in the episode audio) and the speaker's full name; times of paragraphs split out of long monologues are interpolated (within a few seconds). [unclear: ...] marks words that cannot be made out from the audio. ================================================================================ [00:00:29] Vlad Costea: You 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. [00:01:13] Ad voiceover: 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. 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. [00:01:59] Ad voiceover: 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. 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. [00:02:46] Ad voiceover: Phemex, 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. [00:04:02] Vlad Costea: Hi 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. [00:04:44] Vlad Costea: Okay. 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? [00:05:26] Peter Todd: Yeah, 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. [00:05:46] Vlad Costea: I 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. [00:06:10] Peter Todd: Well, which one? Because I think more than one company comes to mind there. [00:06:17] Vlad Costea: Really? The one with the secure chip. [00:06:21] Peter Todd: Which 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. [00:06:30] Vlad Costea: Really? 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. [00:06:47] Peter Todd: So 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. [00:07:15] Vlad Costea: Yeah, that's a good point. And one of the biggest criticisms of hardware wallets is that they can be subjected to supply chain attacks. [00:07:26] Peter Todd: Absolutely. 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. [00:07:53] Vlad Costea: So that worked, actually? [00:07:55] Peter Todd: Yeah, no, apparently people have fallen for this. [00:07:59] Vlad Costea: I would have expected people to, you know, implant chips and tracking. What do you call it? RFID stuff? [00:08:09] Peter Todd: Well, you know, why bother doing something complex when a simple attack will work? [00:08:14] Vlad Costea: That's a fair point. So, do you personally use any hardware wallets? [00:08:21] Peter Todd: No, 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. [00:08:41] Vlad Costea: Yeah, that's something that a lot of old-time Bitcoiners say. And hardware wallets were not around until, I think, 2012, 2013. [00:08:52] Peter Todd: Yeah, relatively recently. At least if you're an old-timer. [00:08:58] Vlad Costea: Yeah, 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? [00:09:33] Peter Todd: Well, 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. [00:10:03] Peter Todd: Similarly, 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. [00:10:17] Vlad Costea: No, obviously. Some of them allow you to connect to a full node. [00:10:23] Peter Todd: At which point, well, what security are you really getting over just running that full node on a separate computer by itself? [00:10:31] Vlad Costea: That's also a fair point. [00:10:33] Peter Todd: Yeah. 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. [00:11:05] Vlad Costea: Yeah, 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? [00:11:29] Peter Todd: Honestly, 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. [00:12:11] Peter Todd: You 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. [00:12:36] Vlad Costea: Yeah, 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... [00:13:05] Peter Todd: Well, 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. [00:13:46] Vlad Costea: Yeah, 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. [00:14:09] Peter Todd: Yep. [00:14:10] Vlad Costea: And there's a market for that data. [00:14:12] Peter Todd: Yeah, 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? [00:14:53] Vlad Costea: Yeah, I think we should ask this with Electrum, which is one of the most popular wallets. [00:15:01] Peter Todd: Well, 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. [00:15:39] Vlad Costea: I 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. [00:15:52] Peter Todd: Well, 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. [00:16:20] Peter Todd: On 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. [00:16:34] Vlad Costea: I think one of the obvious examples, and I'm sorry I cut you off. [00:16:41] Peter Todd: I 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... [00:17:03] Vlad Costea: About 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. [00:17:30] Peter Todd: But 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? [00:17:40] Vlad Costea: Well, that's a possibility. But you do sign up with your data. [00:17:46] Peter Todd: Well, 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. [00:18:31] Vlad Costea: I 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? [00:18:44] Peter Todd: Well, 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. [00:18:57] Peter Todd: To 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. [00:19:37] Peter Todd: Like 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. [00:20:05] Peter Todd: Similarly, 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. [00:20:22] Vlad Costea: Yeah, and sometimes these hardware wallets don't even have large enough screens to fit that whole address so you can check it. [00:20:30] Peter Todd: Yeah, exactly. [00:20:31] Vlad Costea: And some people... [00:20:33] Peter Todd: There's lots of issues like that. The display can be compromised if it's not connected to the secure element or something. [00:20:38] Vlad Costea: Yep. [00:20:40] Peter Todd: Well, 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. [00:21:14] Peter Todd: I 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. [00:21:52] Vlad Costea: Yeah, 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. [00:22:11] Peter Todd: But 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. [00:22:26] Vlad Costea: Yeah, possibly. [00:22:29] Peter Todd: The 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. [00:22:55] Vlad Costea: I've also played with the latest Coldcard, the Mark III, and what's different about it is that it uses PSBT. [00:23:05] Peter Todd: Oh 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. [00:23:23] Vlad Costea: Yeah, 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. [00:23:39] Peter Todd: Well, 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. [00:24:13] Peter Todd: You 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. [00:24:43] Peter Todd: Right? 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. [00:25:06] Vlad Costea: Right. 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. [00:25:21] Peter Todd: Well, 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. [00:26:09] Vlad Costea: Yeah, 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? [00:26:28] Peter Todd: Probably, 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. [00:26:48] Peter Todd: You 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. [00:27:25] Peter Todd: You know, if you really want the physical security part of it, use a passphrase with it. [00:27:33] Vlad Costea: Yeah, 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. [00:28:10] Peter Todd: Well, 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. [00:29:10] Vlad Costea: I'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. [00:29:35] Peter Todd: You mean the YubiKey? [00:29:36] Vlad Costea: YubiKey, yeah. [00:29:38] Peter Todd: Yeah, 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. [00:30:22] Peter Todd: That 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. [00:30:54] Vlad Costea: Okay, so they're not friendly with people who are newbies and have no idea of what they're doing. [00:31:03] Peter Todd: No, 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. [00:31:38] Vlad Costea: Yeah, 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. [00:32:02] Peter Todd: Well, 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. [00:32:34] Vlad Costea: Yeah, interesting. [00:32:37] Peter Todd: I'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. [00:32:55] Vlad Costea: So 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? [00:33:06] Peter Todd: Well, 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. [00:33:45] Peter Todd: You 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. [00:34:18] Vlad Costea: Yeah, 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. [00:34:49] Peter Todd: Well, 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. [00:35:21] Vlad Costea: Okay. 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. [00:35:45] Peter Todd: Well, 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. [00:36:16] Peter Todd: Doesn'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. [00:36:26] Vlad Costea: Yeah, 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. [00:36:50] Peter Todd: Oh, yeah. [00:36:51] Vlad Costea: Just because it's printed... Half of it is in China, the other half is printed in the United States. [00:36:58] Peter Todd: Yeah. 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. [00:37:43] Peter Todd: Similarly, 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. [00:38:05] Vlad Costea: Yeah. Oh yeah, I remember this. You just run your mouse cursor around the screen and it generates some... [00:38:14] Peter Todd: Well, 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. [00:38:39] Vlad Costea: Yeah, 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. [00:39:03] Peter Todd: Yeah, 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? [00:39:41] Peter Todd: So, 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. [00:40:10] Vlad Costea: I 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? [00:40:45] Peter Todd: And eventually start yelling at kids to get off my lawn. [00:40:49] Vlad Costea: Yeah, sure. That's the most advanced stage of security, when you don't trust anyone. [00:40:55] Peter Todd: Yeah, 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. [00:41:18] Vlad Costea: That'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. [00:41:38] Peter Todd: Nah, 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. [00:41:54] Vlad Costea: That'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. [00:42:11] Peter Todd: Or 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. [00:42:26] Vlad Costea: I mean, I wouldn't judge you if you did, but I suppose you could do something more productive. [00:42:34] Peter Todd: Hey, if someone wants to go and pay me my usual fee for that, I'm all for it. [00:42:40] Vlad Costea: I mean, that's not quite cryptography consultancy, but sounds promising. [00:42:45] Peter Todd: Well, 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. [00:43:16] Vlad Costea: I 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... [00:43:32] Peter Todd: Of 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? [00:44:13] Peter Todd: Right? 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. [00:44:27] Vlad Costea: Yeah. 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? [00:44:47] Peter Todd: You 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? [00:45:21] Peter Todd: And 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... [00:45:52] Peter Todd: Their 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. [00:46:10] Vlad Costea: So you think it's easy to do, but it's hard to get away with it? [00:46:17] Peter Todd: I think it's easy to do and probably easy to get away with it too. [00:46:21] Vlad Costea: Okay. [00:46:22] Peter Todd: But 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. [00:46:53] Peter Todd: Make 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. [00:47:28] Peter Todd: Which 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. [00:48:08] Peter Todd: Like 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. [00:48:25] Vlad Costea: You know, the last time I felt like this, and I recall it, was when my parents told me there is no Santa Claus. [00:48:36] Peter Todd: Well, 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. [00:48:55] Vlad Costea: I 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. [00:49:15] Peter Todd: I was a very skeptical kid. [00:49:18] Vlad Costea: That's good. [00:49:19] Peter Todd: I didn't believe in magic. [00:49:22] Vlad Costea: I'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. [00:49:55] Peter Todd: No, 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. [00:50:25] Vlad Costea: Yeah, 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. [00:50:47] Peter Todd: But 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. [00:51:23] Vlad Costea: Yeah, 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. [00:51:33] Peter Todd: Well, like, first of all, who's checking that the source code actually matches the binaries that wind up on these devices? [00:51:40] Vlad Costea: Indeed. [00:51:41] Peter Todd: And 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. [00:52:10] Vlad Costea: So what do you think about using Bluetooth on certain hardware wallets? [00:52:18] Peter Todd: I 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. [00:52:59] Vlad Costea: Yeah, that's correct. [00:53:01] Peter Todd: But 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. [00:53:27] Vlad Costea: So 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... [00:53:37] Peter Todd: Yeah. 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. [00:54:00] Vlad Costea: So is it faster than USB, or why would anyone use it? [00:54:06] Peter Todd: It 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... [00:54:41] Peter Todd: From 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. [00:54:53] Vlad Costea: I 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. [00:55:15] Peter Todd: They also what? [00:55:17] Vlad Costea: They also use Faraday cages. I mean, they weigh all of the connection ports, anything that can be compromised. [00:55:30] Peter Todd: If 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. [00:55:52] Vlad Costea: I 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. [00:56:03] Peter Todd: Yeah, 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. [00:56:17] Vlad Costea: Yep. [00:56:19] Peter Todd: Like, 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. [00:56:55] Peter Todd: Now, 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. [00:57:17] Vlad Costea: If 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? [00:57:34] Peter Todd: I 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? [00:58:08] Peter Todd: Like, 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. [00:58:26] Vlad Costea: Actually, 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. [00:58:48] Peter Todd: Yeah. 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. [00:59:03] Vlad Costea: That'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. [00:59:15] Peter Todd: Well, you know, it's an anti-tiger rock. This rock protects you against tigers. Look, there's no tigers around. [00:59:27] Vlad Costea: Even when you buy a lock, right, you have to trust the locksmith. [00:59:32] Peter Todd: Have 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. [01:00:21] Vlad Costea: So how should one store their keys? Is multisig a good idea? [01:00:27] Peter Todd: If 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. [01:01:03] Peter Todd: So 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. [01:01:16] Vlad Costea: So, 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? [01:01:29] Peter Todd: People 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. [01:01:53] Vlad Costea: I suppose one side of security is to protect yourself from your own mistakes, right? [01:02:00] Peter Todd: Well, like, you've got to look at security holistically, right? It's not just about attackers. It's also about mistakes. [01:02:09] Vlad Costea: So you can compromise your whole setup yourself if you're not able to replicate the security model. [01:02:18] Peter Todd: Well, 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? [01:02:29] Vlad Costea: I 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. [01:02:46] Peter Todd: Well, 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. [01:03:24] Vlad Costea: Yeah. 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... [01:03:35] Peter Todd: Well, 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. [01:04:04] Peter Todd: I 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... [01:04:34] Peter Todd: Like, 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. [01:05:04] Peter Todd: It'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. [01:05:16] Vlad Costea: Speaking of drugs, [unclear: Caro Zagorus] wants to know if you like weed. [01:05:22] Peter Todd: Well, I like being able to get into the US, so no comment. [01:05:28] Vlad Costea: That's the best way of replying to that. [01:05:32] Peter Todd: Well, 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. [01:05:42] Vlad Costea: Really? [01:05:43] Peter Todd: Yeah. 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. [01:06:13] Vlad Costea: Yeah, I suppose that's one of the use cases that was initially very popular for Bitcoin. There might be a return there. [01:06:23] Peter Todd: Probably 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. [01:06:41] Vlad Costea: Which isn't that bad, right? I mean, with cash, I can... Maybe it's not 1%. [01:06:47] Peter Todd: Hang 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. [01:06:58] Vlad Costea: No, I'm fully for legalization. They cannot just claim that it's being used for illegal stuff in the majority of cases. [01:07:10] Peter Todd: Just because it's illegal doesn't mean it's bad. [01:07:12] Vlad Costea: No, 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. [01:07:26] Peter Todd: Well, 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. [01:07:38] Vlad Costea: Yeah, 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... [01:07:53] Peter Todd: That's a very specific number. [01:07:55] Vlad Costea: Yeah, and it's tied to the size of his dick, apparently. [01:08:01] Peter Todd: You 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. [01:08:20] Vlad Costea: I 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? [01:08:43] Peter Todd: What's his definition of success in the first place? [01:08:46] Vlad Costea: Exactly. Somebody like [unclear: Adam Whitehead], he'd probably say it depends on how we're defining success. [01:08:54] Peter Todd: Yep, that'd be a good prediction. [01:08:57] Vlad Costea: Let's say that, I mean, adoption on a very large scale. Maybe even governmental. [01:09:05] Peter Todd: What does large mean? I mean, gold is adopted on a very large scale, but on the other hand, is also barely used at all. [01:09:14] Vlad Costea: That'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. [01:09:24] Peter Todd: Well, 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. [01:09:46] Vlad Costea: That's also a good point. [01:09:48] Peter Todd: You 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. [01:10:14] Vlad Costea: That's a grim thought, and that's a very, very, very unpopular opinion. [01:10:19] Peter Todd: Like, 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. [01:11:00] Vlad Costea: So 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... [01:11:13] Peter Todd: Have you seen the history of fiat currencies? They often do just fine until they fail. [01:11:18] Vlad Costea: Yeah. [01:11:19] Peter Todd: You 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." [01:11:50] Vlad Costea: Yeah, but Venezuela does not hold the reserve currency of the world. [01:11:57] Peter Todd: Well, 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. [01:12:31] Vlad Costea: I feel like this is still optimistic. I would say 50% if you think it will outlast the US dollar. [01:12:41] Peter Todd: Yeah, 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. [01:13:02] Vlad Costea: I mean, he has his audience and I suppose he makes a decent living expressing that view. [01:13:11] Peter Todd: Well, 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. [01:13:47] Vlad Costea: Yeah, 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. [01:14:06] Peter Todd: Yeah, 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. [01:14:23] Vlad Costea: I 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. [01:15:00] Vlad Costea: I 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. [01:15:27] Peter Todd: Although keep in mind, like, their business model is not that different from my business model, consulting. [01:15:34] Vlad Costea: Yeah, obviously you're telling people, you're teaching people what they should be doing. [01:15:39] Peter Todd: Exactly. 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. [01:16:15] Vlad Costea: Wow. So what are you up to? [01:16:23] Peter Todd: Well, 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. [01:17:07] Vlad Costea: So what are the practical applications of these? [01:17:12] Peter Todd: Well, 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. [01:17:45] Vlad Costea: And this is Proofmarshal? [01:17:49] Peter Todd: That'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. [01:18:18] Peter Todd: You 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? [01:18:51] Peter Todd: And 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? [01:19:24] Peter Todd: And you timestamp them both. That's where Proofmarshal comes in, because it can go rule out the existence of conflicting versions of something. [01:19:35] Vlad Costea: Hold up a minute, Peter. So you're telling me that a Turing-complete smart contract doesn't fix this? [01:19:43] Peter Todd: Well, 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. [01:20:21] Peter Todd: You 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. [01:20:53] Vlad Costea: So I suppose this will not require to use anything related to blockchains and stuff, right? [01:21:01] Peter Todd: Well, 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. [01:21:32] Peter Todd: You 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. [01:22:06] Vlad Costea: I can see that you have been working on this for at least four months. And you... [01:22:13] Peter Todd: Longer 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. [01:22:29] Vlad Costea: Are you looking for anyone to help you code this or for any kind of review? [01:22:36] Peter Todd: Sure, I mean, hell, it's up on GitHub: github.com/petertodd/proofmarshal. [01:22:43] Vlad Costea: I'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. [01:23:15] Peter Todd: Well, 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. [01:23:36] Vlad Costea: Yeah. 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. [01:23:58] Peter Todd: Well, 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. [01:24:44] Vlad Costea: Okay, can you elaborate? [01:24:47] Peter Todd: Well, 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. [01:25:24] Peter Todd: And 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. [01:26:02] Peter Todd: Now, I think like where that really came from is just people who are lying to each other about what Bitcoin is good for. [01:26:11] Vlad Costea: I 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. [01:26:38] Peter Todd: Which, 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. [01:27:16] Peter Todd: It'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. [01:27:48] Peter Todd: You 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. [01:28:08] Vlad Costea: That's a very direct opinion. [01:28:10] Peter Todd: Well, 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... [01:28:42] Peter Todd: But 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. [01:28:55] Vlad Costea: I 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. [01:29:11] Peter Todd: I 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. [01:29:27] Vlad Costea: I mean, it's very hard to get clear signals from him because he's so awkward. [01:29:34] Peter Todd: Well, 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. [01:30:12] Vlad Costea: Yep. [01:30:16] Peter Todd: You 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. [01:30:38] Vlad Costea: Yeah, that's why I don't think we can replicate Bitcoin at this point. [01:30:46] Peter Todd: Well, 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. [01:31:18] Vlad Costea: Yeah, 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. [01:31:36] Peter Todd: Well, 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. [01:32:18] Peter Todd: Like, 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. [01:32:41] Vlad Costea: I 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. [01:33:06] Peter Todd: Why? What is their incentive? [01:33:12] Vlad Costea: Okay, 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? [01:33:21] Peter Todd: Their 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. [01:33:50] Peter Todd: You 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? [01:34:35] Vlad Costea: Yeah, so my dream of decentralizing mining is not really... [01:34:41] Peter Todd: Well, 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. [01:35:17] Peter Todd: Because 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. [01:35:52] Vlad Costea: Okay. [01:35:53] Peter Todd: Like, 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. [01:36:55] Vlad Costea: So 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? [01:37:05] Peter Todd: I'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. [01:37:22] Vlad Costea: That's also fair. And there are a lot of people denying our, you know, effect on the environment and ourselves. [01:37:31] Peter Todd: Well, 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... [01:38:09] Peter Todd: So 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. [01:38:28] Vlad Costea: Yeah, that's going to be interesting to see how it plays out. [01:38:33] Peter Todd: Yep. [01:38:34] Vlad Costea: I mean, here in Romania, I already see people wearing masks in public, which is kind of excessive. [01:38:42] Peter Todd: Yeah, 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. [01:39:21] Vlad Costea: Yeah, 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? [01:39:56] Peter Todd: Well, I am Satoshi. We are all Satoshi. [01:39:59] Vlad Costea: But why are you not, in particular? What is your... [01:40:03] Peter Todd: No, I am Satoshi. And in the grand tradition of Craig Wright, I will give you absolutely no evidence to suggest that's true. [01:40:12] Vlad Costea: I mean, we have... [01:40:13] Peter Todd: If 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. [01:40:23] Vlad Costea: I mean, I could say that too, but I have to check with my lawyer. [01:40:30] Peter Todd: Yeah, I don't think Craig Wright is going to sue me anytime soon. [01:40:35] Vlad Costea: I mean, he slandered Greg Maxwell quite a lot. [01:40:39] Peter Todd: He slandered me too, but like Craig's in so much legal trouble, I can't imagine he wants to add another jurisdiction to it. [01:40:48] Vlad Costea: Possibly. 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? [01:41:03] Peter Todd: Well, why do you think they're anti-Bitcoin? I think Bitcoin needs inflation. Thus, my idea of inflation is pro-Bitcoin. [01:41:13] Vlad Costea: I 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." [01:41:29] Peter Todd: No, 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. [01:41:49] Vlad Costea: Of course, you find new sources all the time. [01:41:52] Peter Todd: Yeah. 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. [01:42:33] Vlad Costea: I 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... [01:42:50] Peter Todd: Yep. [01:42:51] Vlad Costea: We 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. [01:43:06] Peter Todd: Well, 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. [01:43:27] Vlad Costea: Yeah, 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. [01:44:03] Peter Todd: No, 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. [01:44:39] Peter Todd: And 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. [01:44:59] Vlad Costea: I 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. [01:45:18] Peter Todd: Well, 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. [01:45:51] Vlad Costea: Okay. [01:45:52] Peter Todd: Yeah, 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. [01:46:21] Vlad Costea: I 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. [01:46:28] Peter Todd: Which one? Oh yeah, that one. [01:46:30] Vlad Costea: So 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. [01:46:55] Peter Todd: Yeah, 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? [01:47:36] Vlad Costea: I'm not even sure if they partnered with some sort of reputed hardware wallet manufacturer or they just developed their own system. [01:47:45] Peter Todd: Well, 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. [01:47:58] Vlad Costea: So I reckon you don't recommend this phone to anyone. [01:48:02] Peter Todd: No, 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. [01:48:21] Vlad Costea: Yeah, 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. [01:48:34] Peter Todd: Yeah. 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. [01:49:04] Vlad Costea: Is 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... [01:49:16] Peter Todd: Exactly. 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. [01:50:01] Vlad Costea: But is Tails really safe? Because as far as I know, it connects to the internet all the time. [01:50:08] Peter Todd: Well, 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. [01:50:36] Vlad Costea: Yeah, 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. [01:50:46] Peter Todd: No, 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. [01:51:26] Peter Todd: And 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. [01:51:40] Vlad Costea: There's not much development going on in Ubuntu for mobile, right? [01:51:45] Peter Todd: Not that I know of. [01:51:47] Vlad Costea: I remember it was supposed to be huge, but it didn't do much. [01:51:55] Peter Todd: Well, 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. [01:52:21] Vlad Costea: It'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. [01:52:44] Peter Todd: But 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. [01:53:32] Vlad Costea: They're even trying to replace them. And I think Google has failed miserably with the Chromebooks. [01:53:40] Peter Todd: Well, 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. [01:53:59] Vlad Costea: Yeah, 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. [01:54:13] Peter Todd: Yep. [01:54:14] Vlad Costea: I 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. [01:54:27] Peter Todd: Well, 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. [01:55:08] Vlad Costea: Okay, 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? [01:55:36] Peter Todd: Depends 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. [01:56:26] Peter Todd: You 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. [01:56:51] Vlad Costea: I've actually heard about embassies running Tor, which is interesting. [01:56:58] Peter Todd: Yeah. 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. [01:57:26] Peter Todd: But 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. [01:57:44] Vlad Costea: Do you think that we should be running Tor exit nodes just like we run Bitcoin nodes? [01:57:52] Peter Todd: Well, 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. [01:58:24] Peter Todd: I 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. [01:58:41] Vlad Costea: Okay, 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. [01:59:01] Peter Todd: Well, it's easy to try. Just send me an email. Whether or not I respond, well, we'll see. [01:59:05] Vlad Costea: Yeah, and I suppose I will be seeing you in Romania, hopefully, this year. [01:59:11] Peter Todd: Yeah, I hope to go back to the Transylvania conference. It was a lot of fun last year. [01:59:21] Vlad Costea: Thank you very much, Peter. Do you have any closing words or anything that you want to promote? [01:59:27] Peter Todd: No, just thank you. [01:59:29] Vlad Costea: Okay, I'll send you this when it's over, when I finish editing. [01:59:34] Peter Todd: All right. Thanks. [01:59:36] Vlad Costea: Let's hear a few words from the show's sponsors. [01:59:51] Ad voiceover: Let'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. [02:00:09] Ad voiceover: 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. 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. [02:01:00] Ad voiceover: 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. 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. [02:01:25] Ad voiceover: Phemex, 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. ================================================================================ 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?