Your vault holds hosts, keys, identities, snippets, tunnels and known hosts. Qubit encrypts all of
it on your Mac before it leaves, and decrypts it on your Mac when it arrives. The server, whether
Qubit Cloud or your own, stores and relays ciphertext it can't read.
Your master password stays on your Mac
The app runs your master password through Argon2id (64 MiB of memory, 3 passes by default) and
splits the result with HKDF into two keys:
an authentication key, sent to the server, which stores only another Argon2id hash of it;
an encryption key, which never leaves your Mac and unwraps your account key.
So signing in proves you know the password without sending it, and the server can't derive the key
that opens your vault.
The first-run setup and the web dashboard
do the same in the browser, with the vault's own Rust code compiled to WebAssembly.
Your vault on disk
The local copy on your Mac is encrypted the same way as the copy on the server. When the vault is
locked (⌘L, or auto-lock after you step away), opening it again needs the master
password.
Sharing with a team
Each organization vault has its own 256-bit key. When an admin confirms a new member, the admin's
app wraps that key to the member's public keys and signs the grant. The server stores and relays
grants, but can't open them. See Cryptography.
The server hands out public keys, so a malicious server could try to swap in its own key when you
add someone. Qubit guards against that with key fingerprints:
Every account has a fingerprint like QBT-865B-EB4C-8290-9A42-AD31. The app computes it from the
public keys itself and never trusts the server's copy.
Joining takes two steps: the invitee accepts, then an admin confirms
them after comparing fingerprints out of band. Only then are vault keys shared.
After the first sighting the app pins each person's fingerprint. If the server later serves a
different key for the same person, the app refuses to use it.
Removing someone
Removing a confirmed member rotates the key of every vault in the organization: the admin's app
makes new keys, re-encrypts every item and re-shares the keys with everyone who remains, in one
step. The removed person can't read anything written afterwards. They may still have copies of what
they could already see, so change the passwords and keys that matter.
What it doesn't cover
The SSH certificate authority. To sign certificates, the server must hold each
organization's CA private key. See SSH certificates.
Metadata. The server knows who is in which organization, how many items a vault holds, and
when things change. See What the server can see.
Forgetting both your password and your recovery key. Nobody can open your vault then, Qubit
included. See Recovery key.