Quick-unlock PIN
The recovery phrase is 12 words for a reason — strong entropy, no shortcuts. But re-deriving the master key from it takes ~700ms (Argon2id with 64MB memory). Fine when setting up a new device; tedious every single time the browser idle-locks.
The PIN is the shortcut.
What it does
Section titled “What it does”When you set a PIN, the device:
- Wraps your already-unlocked master key with Argon2id keyed on the PIN.
- Stores the wrapped blob in localStorage (key
syncbins-pin-v1) on this browser only. - On next unlock, prompts for the PIN instead of the 12 words (~500ms Argon2id per attempt vs ~700ms for the full phrase).
Setting one up
Section titled “Setting one up”Settings → Encryption → Set a PIN / Change PIN / Remove PIN. Requirements today:
- Minimum 6 digits (numeric only)
- Confirmation must match
There are no rules yet for sequential digits or PIN history — keep it non-obvious anyway.
After saving, the lock screen offers PIN entry by default. Use recovery phrase remains available under other unlock methods.
On the mobile app
Section titled “On the mobile app”The mobile app uses the same PIN model with two differences that make it stronger and more convenient:
- The PIN-wrapped master key is stored in the OS keychain / Keystore, not plain storage — so an offline attack must defeat both the secure enclave and Argon2id.
- You can enable Face ID / Touch ID / fingerprint as a convenience on top of the PIN (the PIN is always the fallback and owns the 5-attempt lockout).
- The app locks when it goes to the background and wipes the master key from memory; the PIN or a biometric scan is required to return.
What it isn’t
Section titled “What it isn’t”Failure modes
Section titled “Failure modes”- Wrong PIN: Up to 5 attempts (
PIN_MAX_ATTEMPTS). Each failure increments a counter in the PIN blob. - Lockout after 5 failures: PIN blob is wiped — unlock with the 12-word recovery phrase, then set a new PIN if you want.
- Forgotten PIN: Same as lockout — phrase always works.
- Change/remove PIN: Settings → Encryption while the vault is unlocked (master key in memory).
Per-device, not per-account
Section titled “Per-device, not per-account”PINs are local to the device. Setting one on your laptop doesn’t set one on your phone. This is intentional — losing your phone shouldn’t compromise your laptop’s quick unlock.
If you want the same PIN on every device, set it on every device. We don’t sync PINs.