Browser encryption and recovery
Scoped vault records, encrypted backups, and the limits of device-local protection.
On this page
Encrypted persistence
The browser derives a key from the vault password with PBKDF2-SHA-256 and a random salt at 310,000 iterations. It uses AES-GCM with a fresh 12-byte IV to encrypt the vault record. The versioned gloambak1 envelope includes salt, IV and authenticated ciphertext. IndexedDB stores the encrypted envelope and revision. Backups are scope-checked and validated before restore.
The encrypted record contains note material, receive credentials, known incoming payments, activity and runs. Strategy-local protected settings use the unlocked vault key on that device. Web Locks coordinate concurrent vault operations across tabs and revision checks protect against replacing a more recent encrypted record with stale state.
Threat boundaries
Encryption at rest does not make an unlocked browser immune to compromise or protect a password reused elsewhere. Keeping the backup and password separate reduces accidental disclosure. Losing both the local data and its backups can prevent recovery of spending authority. Neither Neon nor Anthropic can recover a missing note secret.
See vault initialization and backup and recovery.

CogniTech