Skip to content
On this page

OC Vault · Teams

A team vault is a second, parallel vault you share with a small group — the family across three devices, a two-person company sharing infrastructure secrets, a band sharing a Stripe account, a household sharing streaming logins. Same encrypted-secrets model as the personal vault, but sealed under a separate team key that several Bitcoin identities can hold.

Team vaults are part of Family Circle — 200,000 sats / 365 days, up to 10 seats included. See Pricing. Extra seats above 10 are 40,000 sats / 365 days / seat. You can own one team; you can be a member of as many teams as people invite you to.

The structural invariantsLink to this section

The same "OC cannot read your data" claim applies, with one extra wrinkle: the team key is shared, so the people on the membership list can read what the team has. Everyone outside the membership list — including OC — sees ciphertext only.

PropertyPersonal vaultTeam vault
Key32 random bytes per identity32 random bytes per team
Where the key livesyour browser's IndexedDBevery member's browser IndexedDB, escrowed under their personal vault key
How a new device joinspassphrase or recovery code, a hand-off from another device, or an encrypted backupinvite URL whose fragment carries the team key (the fragment never leaves the browser)
Server seesrandom envelope id + ciphertextrandom envelope id + ciphertext + the team id
Cryptographic backstoponly the vault key decryptsonly the team key decrypts

How a team is formed and joinedLink to this section

  1. You create the team. Your browser draws a fresh 32-byte team key and stores it in IndexedDB under a per-team metadata record. It leaves the browser in an invite link (step 2) and wrapped under a member's personal vault key (step 4).
  2. You invite a teammate. vault.ochk.io issues an invite token (a one-time-use, expiring credential — no key material) and hands you an invite URL whose fragment carries the team key: https://vault.ochk.io/vault/team/join?token=<invite-token>#<b64url-team-key>. The token is in the query string; only the key is in the fragment. A browser does not send the fragment when it opens the link, the same primitive one-time share links use. Copy the link and send it yourself, and the key stays off our server. Send invite has vault.ochk.io email a link for you instead, with the key sealed under a one-time code: the fragment is #c1.<salt>.<nonce>.<ciphertext>, not the plain key. Your browser makes the code and shows it to you alone; tell it to the invitee yourself, by phone, text or in person. vault.ochk.io and its mail provider see the sealed key, never the code. An emailed invite joins only with its code.
  3. They open the link. Their browser takes the team key from the fragment (from an emailed link, they type the code and their browser opens the seal), claims the invite under their signed-in session, and joins. The token is consumed; the team key now lives in their IndexedDB.
  4. They get a team-key escrow for free. As soon as your browser holds a team key, it wraps that key under your personal vault key and stores it on the server. If you clean-install vault.ochk.io tomorrow, the team key is recoverable from escrow the moment you unlock your personal vault. The escrow blob is opaque to OC; only your personal vault key opens it.

Send a copied invite link, or an emailed invite's code, over a channel only the recipient has. A leaked copy-link is a leaked team key, and so is an emailed link with its code. Treat it like a password share — Signal, an in-person AirDrop, or a chat platform you both trust.

RolesLink to this section

Every member carries one of four roles. Roles are advisory at the read layer (anyone with the team key can decrypt) and enforced at the write layer by the server's role checks.

RoleReadWriteInvite / manage seatsSet roles / kickTransfer ownershipDelete the team
owner✓✓✓✓✓✓
admin✓✓✓✓——
member✓✓————
viewer✓—————

Owner is unique per team. Admin is for trusted co-managers (your other half, a sysadmin); member is the everyday seat; viewer is read-only — useful for a household where one parent shouldn't accidentally rotate the WiFi password.

SeatsLink to this section

Family Circle includes 10 seats out of the box. Beyond that you can buy additional seats à la carte: 40,000 sats / 365 days / seat. The purchased extra seats sit alongside the included 10 with a single expiry — let the extras lapse, the team contracts back to the included 10. You can never drop below the floor of 10 while Family Circle is active.

What syncs, and whenLink to this section

The same packEntryForCloud envelope as personal sync, only with the team key:

Text
TeamEntry JSON  (id + type + name + nonce + ciphertext + dates + tags)
        │
        ▼  AES-256-GCM(  ·  , team_key, fresh blob_nonce)     ← outer wrap
        │
        ▼
{ "v": 1, "blob_nonce": "b64url(…)", "blob_ct": "b64url(…)" }  ← what is uploaded

The server stores opaque blobs keyed by random envelope id. It cannot read entry names, types, tags, or payloads — only that the team has N entries of unknown content. See Protocol → Team vaults for the full envelope rules.

The liveness signalLink to this section

Personal cloud sync answers "are my local edits backed up yet?". Team vaults answer a different question: "how fresh is what I'm looking at relative to my teammates' writes?". The team page reflects that with two client-side mechanisms:

  • An 8-second background poll while the tab is visible. The tick refreshes the entry list, the folder list, and the advisory edit-locks.
  • A liveness tile in the dashboard's stat row showing the time of the last successful refresh, with a subtle "refreshing…" affordance while a tick is in flight. The last-refresh time is persisted in IndexedDB so it survives reloads.

A manual refresh button sits in the team-page header for when you explicitly want to pull right now (a teammate said in chat "I just added the GitHub token, look") rather than wait up to 8 seconds for the next tick.

Advisory edit-locksLink to this section

When you open an existing team entry in the editor, the browser claims an advisory lock on the server — a ~90 second lease, heartbeated every 30 seconds while the editor is open. Teammates see a "being edited by <short-id>" badge on that row and the editor refuses to open for them until the lock expires or you close yours. The lock is advisory, not cryptographic: a misbehaving client could bypass it, but the honest UX is the one that matters here — preventing two people from clobbering one another in the normal case.

The compare-and-swap write pathLink to this section

Team writes carry the server's last-known updated_at for that entry; the server rejects the write if it has moved on. The client surfaces the conflict and re-fetches, the same shape as a successful collaborative-edit flow in a CRDT-free system. Out-of-order writes are rejected, not silently applied — that's the discipline that keeps teammates from overwriting one another's edits even with the advisory lock bypassed.

TrashLink to this section

Deletes are soft for teams too. A deleted team entry keeps its row with deleted_at set so the tombstone propagates to every member's browser. The team trash is reachable by owner / admin (the same role gate as management actions); restoring brings the entry back for everyone, and it is the only way back: a write never brings back an entry a teammate moved to the trash. An owner or admin can purge an entry from the team trash for good. A trashed entry more than 30 days old is also deleted for good, the next time someone opens the trash or deletes an entry.

FoldersLink to this section

Team folders are server-backed and shared. Rename a folder on your browser and your teammates see the rename within ~8 seconds without a reload. The folder list is delivered alongside entries on each poll tick — best-effort: a transient folder-fetch failure never disrupts the entry list.

Leaving · ownership transfer · deletionLink to this section

  • Leave a team. Available to every role except owner. Your seat releases, your local copy of the team key is dropped, the server forgets your membership. Already-decrypted entries in your browser's IndexedDB are cleared.
  • Transfer ownership. The owner offers ownership to an existing member. It moves only when that member accepts; the previous owner then becomes an admin. The owner can withdraw the offer, and the member can decline it. Useful if the team's original payer is rotating out.
  • Delete the team. Owner-only, irreversible — every blob on the server is purged. Members' local IndexedDB still holds whatever cached entries they last saw, until they clear browser data.

What OC sees, and what it doesn'tLink to this section

OC seesOC does not see
Which OC identities are members of which teamsThe team key, or the code that opens an emailed invite
How many encrypted blobs each team has, when each was last updated, the rough byte-sizeEntry names, types, tags, payloads, the team's "shape"
Who is the owner of each team and the role assignment of each member (the server enforces role-gated writes)Whose browsers actually decrypt entries (no usage telemetry)
Email addresses members opted to publish so teammates can see them in management, and each address an invite was emailed toEmail addresses members did not opt to publish, unless an invite was emailed to one
Payment receipts for Family Circle billingAnything correlating a payment to specific entry contents

The auditable claim is the cryptographic one: our server holds the team key only wrapped under each member's personal vault key, which it cannot open. An invite you have vault.ochk.io email passes through our server and its mail provider with the key sealed under a code neither of them sees. Everything else falls out of that.

Where things liveLink to this section