transcript

aantonop - Bitcoin Q&A: Can You Trust a Hardware Wallet to Generate Your Seed?

Thumbnail of the video “aantonop - Bitcoin Q&A: Can You Trust a Hardware Wallet to Generate Your Seed?”
Download Markdown
Community upload. AI output has not been independently verified.

Nicolas asks: I use multi-sig, but for most people getting into crypto I recommend a Ledger or Trezor hardware wallet because the graphical user interface is so simple. How can they trust Trezor or Ledger generating their seeds?

This is a really good question and it comes up all the time. The bottom line is that no matter what kind of device you're using, you have to put some degree of trust in something. The only way to have zero trust in any manufacturer, software, or hardware device is to do everything by paper and pencil. Trying to do elliptic curve multiplication or hashing by pencil and paper is probably too difficult for most people. So let's look at it this way: if we have to trust, then how can we minimize the amount of trust we put in third parties?

This question is tricky, because depending on how you answer it, people may try a cure that is worse than the disease (no pun intended). What will happen in that case is that people may say, "Oh, I can't trust Trezor, Ledger, or another hardware wallet manufacturer to generate my seed, so instead I'm going to build my own. I'm going to download Tails, follow the Glacier Protocol, and install it on a ThinkPad that I got from college six years ago. I'm then going to print it to a printer with no memory." What you've just done is shifted the trust from a special-purpose hardware device and a special-purpose software system designed for this purpose to general-purpose software, a general-purpose operating system, and general-purpose hardware, where it's much more difficult to check the origin of these devices and systems. Also, you've increased the difficulty and the chances of making a mistake by several orders of magnitude.

So don't take any of the comments I make about the security of hardware wallets as a reason to avoid generating your seeds with them, or to use paper wallets, or to download some software you found, or anything else. Hardware wallets are still the most secure mechanism for cold storage. If you can't afford to buy a hardware wallet and you only want to use small amounts, then a mobile application on your smartphone will be the best option you have.

Now, how do we trust the seeds that are generated on these devices, the mnemonic phrases displayed on their screens? The reason we trust them is that both the hardware and the software in these devices are scrutinized very heavily by a lot of security experts. That doesn't mean trust has to be 100 percent. It means you are not trusting just the vendor; you're also trusting a community of security experts who look at these devices very regularly and examine them for all kinds of vulnerabilities and flaws.

Whether you need to worry about the vendor putting a backdoor into their system, which would likely be revealed pretty quickly and would cause that vendor to go out of business immediately, or about somebody hijacking the delivery of the device at some point and inserting some kind of hardware you can't see or detect to compromise your seed, these are valid fears. But they don't outweigh the broader fear: if you just use a software wallet connected to the Internet, your chance of getting robbed is much, much higher. And if you use a very complex system with security that requires advanced technical understanding, your chance of losing money because of a mistake is much higher. With hardware wallets, what we're trying to do is balance these concerns about security, resilience, reliability, and ease of use, and get them to a sweet spot where the average user doesn't have to put too much trust in any single party.

Now, if you were to put hundreds of thousands or millions of dollars on one of these devices, you probably need to take some additional precautions. One thing you can do is generate your own mnemonic phrase offline using a method as simple as playing cards or dice. There are a number of tutorials online that show you how to download the dictionary of 2048 words used within the mnemonic system and then select the words in such a way as to produce a mnemonic phrase. There are also some online tools that will help you do that, but this carries a much greater risk, because an online tool is much easier to hijack, and you should never type your mnemonic phrase into such a tool.

Some hardware wallets go to extreme lengths to remove any element of trust in the manufacturer. Probably my favorite in that category is the Coldcard wallet. Not only do they use a transparent case so you can see whether the hardware has been tampered with, they use a security chip covered in epoxy so you can see that it hasn't been tampered with. Furthermore, they have a mechanism for you to enter entropy directly into the device by bit-selecting numbers 1 through 6 on the keypad and rolling dice repeatedly until the device generates a mnemonic phrase from your dice rolls. So that's for the ultimately paranoid. The Coldcard is a great device; however, it is much more difficult for an average newbie to use, more complex and more advanced, so you have to consider that balance when recommending these types of devices to newcomers.

If you enjoyed this video, please subscribe, like, and share. All my work is shared for free, so if you want to support it, join me on Patreon.