From Trezor Wiki
Jump to: navigation, search

Passphrase is an optional feature of the Trezor device which allows users to create hidden wallets. Passphrases serve as a function of second-factor protection of the recovery seed and are an ultimate protection against attacks involving physical access to the device or the recovery seed.

Important characteristics[edit]

  • The passphrase is not stored anywhere on the device. It is only used temporarily whenever you enter it.
  • A passphrase, as implemented in Trezor devices, can be any character or set of characters, a word, or a sentence up to 50 bytes long (~50 ASCII characters).
  • Characters from the extended ASCII character set cannot be entered using the Trezor device itself. If you create a passphrase including characters from the extended ASCII character set - i.e., decimal 128 (€) to 255 (ÿ) - these can only be entered when using Trezor Suite on a trusted computer. Moreover, these characters may not be rendered correctly on the Trezor display.
  • Passphrases are case-sensitive - lowercase and uppercase characters are distinguished and count as different.
  • A space (blank) is a valid character.
  • The passphrase and recovery seed belong together. Neither can be used without the other if you sent your coins to a passphrase protected wallet.

Passphrase Device Settings Highlight.png
In Trezor Suite, you can toggle the passphrase feature on/off in Device settings

How does it work?[edit]

When first initialized, a Trezor device generates a random number which is converted into a mnemonic sentence (recovery seed) and stored in the memory. Subsequently, whenever the device is used, it derives a cryptocurrency wallet from a magical formula; mnemonic+passphrase (extremely simplified).

If the user did not input any passphrase (default setting), an empty string "" is used. When the feature is activated, the user is prompted to enter the passphrase which is then combined with the recovery seed on the device, and a new wallet is generated.

For you, the user, this means:

Once the passphrase feature is activated on the device, you can provide any input of your choosing and it will be used to generate a completely new wallet. To access this hidden wallet repeatedly, you will have to use the exact same passphrase in combination with the recovery seed on the device. Using the same seed with a different passphrase will generate a different wallet. Using a different seed with the "correct" passphrase will generate a different wallet.

If you get a new Trezor device and wish to access the hidden wallet, you will have to recover your previously used recovery seed, activate the passphrase feature, and enter the exact same passphrase as before.

Mistyping the passphrase will generate a completely new wallet. There is no such thing as an "incorrect passphrase", so whatever you provide as your input will be used in the process of deriving a wallet.

If you enter an empty passphrase (no passphrase at all), the device will proceed exactly as if the passphrase feature had not been activated at all, and generate a wallet from your recovery seed stored on the device.

The passphrase feature is also covered in the following YouTube video clip:

ImportantIf you use a passphrase-generated wallet to store your coins, you will need to use the exact same passphrase to access your funds.

Trezor Model T users can choose to enter the passphrase either on the host device (a computer, phone) or directly on the Trezor by using the touchscreen. Trezor One only offers the option to enter the passphrase using the web browser at the moment.

When entered using the host device, both Trezor models show the passphrase on the device screen for confirmation (introduced in firmware 1.9.3 for Trezor One and 2.3.3 for Trezor Model T).

See also "Passphrase-the ultimate protection for your accounts" and "Mnemonic code for generating deterministic keys (BIP-39)"

NoteBy swiping the Trezor Model T touchscreen to the side when entering the passphrase on the device, you can access digits and special characters.

Security benefits and risks[edit]

Just as the PIN is used to protect your device, we can say that the passphrase serves as second-factor protection for your seed.

It only exists in your head[edit]

Because the passphrase is not stored anywhere on the device, it is impervious to any attacks involving physical access and tampering with the chip. Furthermore, if somebody compromised your physical copy of the recovery seed, they still would not be able to access your passphrase protected wallet unless they knew the passphrase.

Any number of hidden wallets[edit]

Passphrases are free. You can create as many passphrases in combination with your recovery seed as you like. This ease of creating a new wallet lets you gain a secondary advantage of hidden wallets = plausible deniability.

Once you get familiar with the feature and feel confident using it, you can consider creating "decoy wallets".

If burglary and physical danger is in your threat model, you might want to leave some pocket money in the basic "non-passphrase" wallet, then move a portion of your funds to one passphrase; and lastly, the most significant portion of your funds to another passphrase-protected wallet.

User-manual 5-dollar-wrench.png

The idea behind this is that if you ever find yourself in a situation where somebody is trying to extort a ransom from you or puts you under duress, you can safely give up the PIN or even the decoy passphrase.

WarningAvoid talking about your balances and examine your general security practices. The efficiency of fooling somebody with a decoy wallet is highly circumstantial.

The ability to create an almost unlimited number of wallets provides some practical advantages too. You can share one recovery seed with a significant other (sort of like a mutual account) and distinguish your private wallets using a personal passphrase. Using this technique, you can share a mutual wallet within your household, with colleagues, or friends according to your preferences and needs.

Potential risks when using passphrases[edit]

By using the passphrase feature, you, the user, gain lots of additional personal responsibility in direct proportion to the security enhancements.

Because the passphrase is not stored anywhere, you need to take all necessary precautions in order to preserve the passphrase safe, be it a physical backup or just a memory.

If the passphrase is lost, it can only be found by guessing (brute-forcing) which is often technologically and economically infeasible (read impossible). The difficulty of guessing the passphrase varies depending on the strength (complexity) of the passphrase.

How to choose a good passphrase?[edit]

Ideally, the strength of your passphrase should correspond with the level of risk your seed backups are facing. Of course, this is very hard to estimate.

Continue to our blog post "Is your passphrase strong enough?" for an extensive analysis of appropriate passphrase difficulty.

The cost of brute-forcing a passphrase using Amazon servers
Like Trezor? Get one here!