Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Keys, PINs and passwords

Your key

Your key lives on your computer, in a file encrypted under a password of at least 10 characters or a PIN of at least 8 digits. A password is better: anyone who copies the file can try every PIN on their own computer.

quitlock key new <name>              # make one; shows its recovery phrase once
quitlock key list                    # names, public keys and fingerprints
quitlock key export <name> <file>    # copy the encrypted file out, for backup
quitlock key import <name> <file>    # and in, on another computer

A wrong PIN or password is asked again, up to three times. For scripts, QUITLOCK_PASSPHRASE supplies it, and QUITLOCK_KEY_DIR (or --key-dir) says where key files are kept.

The recovery phrase

When a key is made, the CLI shows its recovery phrase: 24 words that are the key. quitlock key restore <name> rebuilds the key from them on any computer, under a new PIN or password, and nothing on the phone needs to change. quitlock key phrase <name> shows the words again.

Anyone with the words can sign as you. Write them on paper or keep them in a password manager, never in a photo or a chat.

More than one key

quitlock key add --owner <name or public key>
quitlock key remove --owner <name or public key>

Both are loosening changes: they wait out the delay, and in partner mode need your partner too.

Phone PINs and passwords

On the phone, each person can also have a phone PIN or password (the People screen, from the main screen). It is typed on QuitLock’s own keypad, which no keyboard app sees, in a window that screenshots show as black. Five wrong tries are free; after that each try waits longer, up to an hour, and nothing is ever wiped. The owner may use the phone’s own screen lock instead.

With one, the owner can:

  • confirm arming with it instead of typing ARM;
  • approve a draft on the phone;
  • request an exit on the phone;
  • propose a config change on the phone.

Forgotten phone PIN or password

quitlock phone-secret allow (or --partner), signed by that person’s key, clears it: for the next 10 minutes a new one can be set on the phone. Sign it only while you are with the phone, since whoever holds it in those 10 minutes could set one.

Lost key

If you have its recovery phrase, quitlock key restore brings it back. Otherwise:

  1. On the phone, under Leave or recover, tap Pair a new key.
  2. On the computer: quitlock key new <new name>, then, with the phone plugged in and unlocked, quitlock enrol.

The new key replaces every key on the phone and clears both phone PINs. In solo mode this is immediate. In partner mode the phone first waits the longer of the delay and 72 hours, so a partner cannot be dropped at once; Stop waiting cancels it. The phone stays armed and keeps its config, so the new key can loosen nothing without waiting out the delay.