How the encryption works
Deckhouse is encrypted when you switch it on, and Budget Tracker will be from the start. Both use the same vault — one passphrase, one key per app. Here is how your passphrase unlocks your data.
passphrase + salt ──Argon2id──▶ KEK ──unwraps──▶ master key ──unwraps──▶ box keys ──AES-GCM──▶ your rows
- Your passphrase + saltOnly in your browser
You type it; it is never sent. The salt is random and kept with your vault, so the same passphrase gives everyone a different key.
- Argon2id — slow and memory-heavy on purpose, so every guess at your passphrase costs real timeKey-encryption key (KEK)Only in your browser
Exists only while the vault is unlocked, and is never stored or sent.
- Unwraps — the KEK opens the master key, in your browserMaster keyStored locked
One per person. We keep it only wrapped — unreadable without your KEK. Your ten recovery codes can unwrap it too, so a forgotten passphrase is not the end. Changing the passphrase re-wraps this key and leaves your data untouched.
- Unwraps — the master key opens one key per appBox keysStored locked
One per app — Budget, Deckhouse — so one can later be shared without the others. Kept wrapped by your master key.
- AES-GCM — each row is sealed with its app's key, and opened again only in your browserYour rowsStored locked
What reaches our server is ciphertext. We can store it, back it up and delete it, but we cannot read it. Unless you keep a deck unencrypted to share it — see below.
🗄️ What we hold
- The salt (random, not secret)
- Your master key and box keys, wrapped
- Your rows, encrypted
🙈 What we never see
- Your passphrase or recovery codes
- The KEK, the master key or a box key in the open
- Your rows in the clear
🤝 Sharing a deck
Shared encrypted. The deck gets a key of its own. That key is locked with the public key of each person you share it with, so only they can open it, with their own passphrase. Nobody shares a passphrase, and we still see only ciphertext. They need a vault of their own for this.
Shared unencrypted. You can choose to store a deck unencrypted to share it — you are asked first. From then on the people you share it with can read it, and so could we on the server. Everything else stays encrypted, and 🔒 / 🔓 / 🔐 shows which deck is which.
Taking it back. Removing somebody deletes their copy of the deck's key. What their browser already opened stays readable to them until it locks; encrypting the deck again gives it a new key they never had.
Nobody — including us — can open the data again. That is the price of us not being able to read it, and why the codes are worth printing.