Server compromise must not equal vault compromise.
The foundational invariant that shapes every engineering decision in Lockera — from Argon2id key derivation to per-device session revocation.
How a secret travels from keystroke to cloud
Master Password + Salt
Entered locally. Never transmitted or cached in storage.
HKDF Domain Separation
Derives isolated keys for auth vs. local vault encryption.
XChaCha20-Poly1305 Seal
Item payload is encrypted with 192-bit nonce & AAD binding.
Blind Ciphertext Sync
Only authenticated ciphertext leaves the client session.
Defense in depth
Six layers between attackers and your secrets.
Every layer assumes the layer beneath it could fail — combining memory-hard KDFs, authenticated encryption, and strict device isolation.
Encryption before network
Every item is sealed with XChaCha20-Poly1305 on your device before it touches the network. The 24-byte nonce is random per encryption, and each ciphertext is bound to its item UUID and revision as Additional Authenticated Data (AAD) — blobs cannot be swapped between items.
Argon2id key derivation
Your master password runs through Argon2id (64 MiB memory-hard KDF) in your client session. HKDF splits the root key into separate Authentication and Vault Encryption subkeys so the authentication key sent to the server can never decrypt a single byte.
A deliberately blind backend
The API stores only opaque ciphertext envelopes, revisions, and device records. It has no plaintext columns, no decryption endpoint, and strict redaction rules. Server compromise does not equal vault compromise.
Device-scoped sessions
Every workstation, browser extension, or mobile client registers its own cryptographic device record. Sessions use short-lived access tokens with rotating refresh tokens; revoking a device kills its sessions immediately.
Conflict-safe delta sync
Concurrent offline edits never destroy data. When two devices modify the same credential before syncing, the losing revision is preserved as a verifiable conflicted copy for manual review — nothing silently vanishes.
Auditable, reviewable crypto
The crypto package, sync engine, and 100-point local hygiene scorer are written in strict, auditable TypeScript. No custom ciphers — only peer-reviewed IETF primitives.
Transparent Security Disclosure
Lockera is built in the open. A password manager is never secure merely because encryption exists — it is secure only when its threat model, key separation, and implementation survive adversarial review. You can inspect our `@vaultly/crypto`, `@vaultly/security`, and `@vaultly/sync` packages directly in the workspace.
Cryptographic & Zero-Knowledge FAQ
Direct technical answers on key derivation, authenticated encryption, and OAuth identity separation.
What encryption algorithms does Lockera use?
Lockera uses Argon2id (64 MiB memory-hard KDF) in your client session to derive a root key from your master password, HKDF-SHA256 for domain-separated authentication and vault encryption subkeys, and XChaCha20-Poly1305 authenticated encryption with 24-byte random nonces and item-bound Additional Authenticated Data (AAD).
Can Lockera read my passwords if its servers are breached?
No. Your master password and vault encryption keys never leave your device. Lockera servers store only an Argon2id authentication verifier hash and opaque ciphertext envelopes with revision metadata.
How does Google or GitHub OAuth sign-in preserve Zero-Knowledge encryption?
OAuth authenticates your account identity, while your vault remains encrypted with a separate master password that you create on your device. Neither Google, GitHub, nor Lockera ever receives your vault encryption key.
What happens if I lose my master password?
Because Lockera operates a zero-knowledge architecture with no server-side key escrow, Lockera cannot reset or recover your master password if it is lost.
Your vault. Your keys. Ready for liftoff.
Create your encrypted Lockera vault. The Free plan includes unlimited vault items and encrypted sync across unlimited devices.