This feature derives a deterministic password from your seed, according to BIP-85 PWD BASE64. Generated passwords can be sent as keystrokes via USB to the host computer, effectively using Coldcard as specialized password manager.
In addition to deriving up to 10,000 distinct secure passwords, the Coldcard Mk4 can also type them into a computer by emulating a USB keyboard, and simulating the keystrokes needed to type the password.
- Coldcard Mk4 with version 5.0.5 or newer
- USB-C with data link (won't work with power only cable from Coinkite)
Type Passwords over USB#
To enable "Type Passwords" feature, connect your Coldcard to host PC with USB cable (check requirements) and go to Settings -> Keyboard EMU -> Enable.
Go back to top menu and "Type Passwords" option will be shown below "Address Explorer".
- When it is time to enter a secret password, select "Type Passwords" from the main menu. After
an information screen, the USB emulation will be switch to keyboard emulation
Switching...shown on the screen.
- Choose "Password index" (BIP-85 index) and press OK to generate that password.
- It takes a moment to generate the password, and then you can scroll down to check BIP-85 path used and double-check password to be typed.
- To send keystrokes, place mouse at required password prompt and press OK. This will send desired keystrokes plus hit enter at the end.
- You are back at step 4, and can continue to generate passwords or you can press X to exit. Exiting from "Type Passwords" will cause Coldcard to turn off keyboard emulation and enable normal USB mode if it was enabled before. Otherwise, USB stays disabled.
View BIP-85 passwords#
- Go to Advanced/Tools -> Derive Seed B85 -> Passwords
- Choose "Password/Index number" (BIP-85 index) and press OK to generate password.
- Screen shows generated password, path, and entropy from which password was derived
- A few different options are available at this point:
- press 1 to save password backup file on MicroSD card (cleartext!)
- press 2 to send keystrokes (this will first of all enable keyboard emulation, then send keystrokes + enter, and finally disables keyboard emulation)
- press 3 to view password as QR code
- press 4 to send over NFC (only appears when NFC is enabled)
Keyboard language settings#
Emulated Keystrokes are mapped to specific characters based on your host PC keyboard language settings. For Coldcard to be able to type the correct BIP-85 password your host computer MUST use language settings that corresponds to a QWERTY key layout, including number row directly above QWERTY:
1 2 3 4 5 6 7 8 9 0 - = Q W E R T Y U I O P [ ] \ A S D F G H J K L ; ' Z X C V B N M , . /
Passwords generated and shown on Coldcard will always be correct with respect to BIP-85. However, when sending keystrokes, for example on German keyboard, what was typed will not match the text that was generated and shown on Coldcard's screen.
For example, if the correct password is
zYLoepugzdVJvdL56ogNV but when used
with German keyboard language settings, what will be typed is
yZLoepugydVJvdL56ogNV. You can see that German keyboard is not
QWERTY, but it is QUERTZ (y and z are swapped).
Even with "non-standard" keyboard language settings, Coldcard always sends exact same keystrokes for specific password index. It is deterministic, as long the keyboard language settings do not change. However, BIP-85 won't be respected in this case.
Check BIP-85 for complete specification of the new addition to BIP-85.
Coldcard does not allow you to specify password length - we always use length of 21. Passwords of this length generated according to BIP will have approximately 126 bits of entropy. This is on par with bitcoin security model and therefore all passwords the Coldcard will generate are considered very strong.
Using below seed, path and index, we generate passwords shown in the table:
wife shiver author away frog air rough vanish fantasy frozen noodle athlete pioneer citizen symptom firm much faith extend rare axis garment kiwi clarify
Although the Coldcard is emulating a keyboard at the lowest possible level, for some reason occasionally high-level applications have trouble with our high-speed typing.
- KeePass2 2.45 (under Ubuntu). Capital/lowercase letters may be incorrectly typed. Use KeePassXC instead.