Security Model

Personal age identities, encrypted secrets, guardian access, team vault keys, and the limits of browser-side encryption.

Security Model

Key Man Out encrypts secret text and attachment contents in your browser using age. Each user has a personal X25519 identity. Your unlock passphrase and any security keys you add protect that identity; neither the passphrase nor the identity is shared with your team or sent to the server.

What the server can see

The server stores public keys, wrapped copies of private identities (passphrase and security-key wraps, including the team keyrings' wraps), security-key registration data, and encrypted payloads. It also stores unencrypted metadata: asset names, websites, instructions, attachment names/types/sizes, team settings, guardian assignments, access requests, and recipient fingerprints. Team members can browse asset metadata while their identity is locked. Keep passwords, recovery codes, and confidential instructions in the Secret field or an attachment.

The server never receives raw private identities, unlock passphrases, or decrypted secret/file contents. This protection assumes a trustworthy browser and client application. It does not make metadata private or protect an unlocked device from malware.

Your personal identity

On your first visit to a team, enrollment generates an age identity in your browser. You choose how it unlocks: two security keys, a security key and a passphrase, or a passphrase (at least 12 characters). The browser uploads only the public key and one wrapped copy of the identity per method: an age scrypt (passphrase) wrap for the passphrase and an X25519 wrap for each key (see Security keys).

Unlocking with the passphrase downloads its wrapped identity, decrypts it locally, and checks that its derived public key matches the stored public key. No hash or other passphrase proof is sent to the server. Account login and identity unlock are separate: resetting a login password does not recover an identity.

There are no identity backup files: the private identity exists only wrapped to your unlock methods and, while unlocked, in your browser session. The service cannot recover it. Losing every unlock method (your passphrase and all your security keys) means nobody can decrypt with that identity again; another recipient, such as a team vault key, the Custodian or a Successor, may still open the affected assets. Identity backup files downloaded from earlier versions still contain the private identity: delete them.

Identity reset

A user who has lost every unlock method can reset their vault identity without support. A reset never proves possession of the old identity (the user has lost it), so it relies on delays and witnesses instead, to make an account takeover visible before it can become a recipient:

  • A sign-in within the last 15 minutes to start, and a link emailed to the account's address that must be opened while signed in.
  • A 7-day wait that starts when that link is opened, with emails to the user and to the owner of every team they belong to. A banner shows in the dashboard of every signed-in session. Anyone with the emailed cancel link, or any signed-in session, can cancel.
  • While a reset is pending, unlock methods can't be changed and a rotation can't start; a rotation staged before the reset can still commit (which needs the current identity), and that cancels the reset.
  • In each team the user doesn't own, the team owner must confirm the reset before the new identity becomes a recipient there. Until then the user can't save encrypted changes in that team, and their assets stay flagged for re-encryption. Owners confirm only after checking with the user through another channel. In teams the user owns, the new identity is a recipient after the wait.

The reset report counts what's at stake from the stored encryption of each asset: assets a team vault key or another person (Custodian or Successor) can still open, and assets only the old identity could open, which become unreadable. A team whose owner is gone can't confirm a reset; the user stays a non-recipient in that team. Only the owner can transfer ownership, so hand a team over before its owner steps away.

Security keys

You can also unlock with a hardware security key that supports FIDO2 hmac-secret (WebAuthn PRF). An identity always keeps a passphrase or at least two usable security keys; the server enforces this on enrollment, on every method change and on rotation, so a vault can rely on keys alone once it has two. On every unlock the key computes a secret from a random value stored with the key's registration. Your browser derives an X25519 key from that secret and uses it to decrypt a copy of your identity that was encrypted to it. The key's output, the derived key and your identity never leave the browser. The server stores only the key's public registration data, the public half of the derived key, the encrypted copy and a tag that your identity computed over the registration. Before your browser encrypts your identity to an existing key, for example during rotation, it checks that tag, so a registration changed on the server is dropped instead of trusted. Keys must verify your PIN and can't be synced passkeys. Login passkeys can't unlock the vault, and vault keys can't sign in. We email you when a key is added or removed.

A stolen key is protected by its PIN, and the thief also needs the encrypted copy of your identity. Remove a lost key with It's lost or stolen, which then takes you to identity rotation. Finish it: until the rotation commits, someone with the key, its PIN and a copy of your encrypted identity could still open it. See Security keys for the steps.

Operators: security keys are bound to the server's WebAuthn relying-party ID. Set NUXT_PUBLIC_VAULT_RP_ID to the site's hostname or its registrable parent domain before anyone registers a key, and never change it afterwards. Keys registered under an old value stop working. If it is unset in production, security keys are disabled: passphrases still work, but users whose vault has no passphrase can't unlock until it is set again. A vault without a passphrase also can't be opened while the value differs from the one its keys were registered under, so treat the value as permanent.

Login passkeys authenticate your account and are separate from vault security keys.

Locking and plaintext lifetime

Unlocking lasts up to 30 minutes from unlock, with a countdown button for locking sooner. The raw identity is kept in user-bound browser session storage. Locking, expiration, logout, or switching accounts clears the unlocked identity and displayed plaintext. Locking applies to your identity across teams in that browser session; it does not lock other users out.

The asset list remains visible while locked. Secret viewing, decryption, and encrypted edits require unlock. Secret drafts are not auto-saved to local storage, and old persisted secret drafts are purged. Unsaved secret edits can be lost when the identity locks. Downloaded files and clipboard copies are outside the application's ability to erase.

Who receives encrypted content

Each secret and attachment is encrypted to the asset's Custodian and every enrolled Successor, plus the team's vault keys: the master keys, and any custodian keys assigned to the asset. In a team that is still moving off owner escrow, the owner is also a recipient of assets until master keys exist (see Owner escrow). Gatekeepers and ordinary team members are not recipients by virtue of those roles. Current team membership is required.

Successors are cryptographic recipients before approval so that time-delay access can work while the Custodian is unavailable. The server still checks the existing access-request approval policy before returning ciphertext. That is a server-side gate, not cryptographic withholding: a Successor who obtains a ciphertext copy addressed to them can decrypt it offline before approval. Gatekeepers without an independent recipient entitlement cannot decrypt even if they obtain that copy.

Normal list, detail, and discovery responses contain metadata only. Secret and attachment ciphertext is returned through the gated payload-read route, which keeps the existing access notification behavior. Re-encryption, rotation, and migration reads use the same gate.

Team vault keys

A team keyring is an age identity that belongs to the team, not to a person. Its private half is encrypted once to each of the keyring's hardware keys, the same way a personal identity is encrypted to a personal security key (with the team and keyring, rather than you, bound into the derived key). Any one key and its PIN opens the keyring. Master keys are a recipient of every asset in the team; custodian keys of the assets assigned to them. See Team vault keys for the workflows.

  • A key is a cryptographic capability, not an authorization. The server still returns an asset's ciphertext only to its Custodian or an approved Successor. Holding a master key and its PIN never skips approval; it lets an approved person decrypt and repair an asset whose stored copy doesn't include their own identity yet, for example after its Custodian died.
  • A sign-in session alone can't attach a keyring. Creating a keyring and adding custodian keys to assets also need a proof from the person's unlocked personal identity, so someone who steals a session cookie can't make teammates' re-encryptions include a keyring they control. A member waiting for an owner to confirm their identity reset can't add keyrings or keys in that team.
  • Every key needs a PIN, and the browser refuses a key that didn't verify it. Expect split custody: a key in a safe and its PIN with a lawyer.
  • The unlocked keyring lives only in that page's memory, never in browser storage, and only for up to 30 minutes. Reloading, locking, signing out or switching teams forgets it.
  • Who can copy a keyring's encrypted copies: its managers, and the Custodians and Successors of assets it protects. Holder notes, which can say where a key is kept, are visible only to them. Every member sees key names, so anyone can check which key they've found.
  • Lost or stolen keys. Rotating the keyring creates a new key set, endorsed by the old one, and moves the remaining keys to it. Assets move as they're re-encrypted. Until an asset is re-encrypted, a removed key with its PIN and an old copy of that asset's encrypted data, or of the keyring's encrypted copies, can still open it. The old key set is deleted once no stored asset uses it.
  • Checks against a changed database. When you unlock a keyring, your browser checks that every key set it opens matches its public key, that each newer key set was endorsed by the one before it, and the tag on every key's registration. A keyring that fails the first two checks is refused. A key whose tag fails is reported and must be rotated out; it is never given a new copy. These checks stop someone who can change the database but doesn't hold any of the keyring's key sets. Someone who holds an old key set (a removed key, its PIN and a copied encrypted copy) and can also change the database could forge an endorsement; that falls under the server-trust limit in Security boundaries.

Owner escrow

Owner escrow made the team owner a recipient of every asset for out-of-band recovery. Master keys replace it, and it can no longer be turned on. Escrow never bypassed the server's payload-access policy: the app never delivers escrowed ciphertext to an owner who lacks a Custodian role or an approved Successor request.

In a team that still has escrow on, the owner remains a recipient until the team has master keys. From then on, every re-encryption replaces the owner with the master keys, so each asset always has one or the other. Until master keys cover every asset, the owner's identity can decrypt copies of the remaining ones outside the app. Escrow turns off by itself once every asset is covered. Turning it off earlier, or the owner leaving recipient sets, cannot revoke an old ciphertext copy or plaintext the owner already obtained. When ownership is transferred, escrow follows the new owner, but copies already encrypted to the former owner keep opening with the former owner's identity, and not the new owner's, until a Custodian repairs them.

Guardian changes and re-encryption

Adding or removing a Successor changes the expected recipients. The Custodian's unlocked browser attempts to re-encrypt the complete secret and attachments after the guardian change. Gatekeeper changes do not change recipients.

If a recipient has not enrolled, available enrolled recipients can still receive the payload, provided at least one exists. The asset remains marked Needs re-encryption. The same warning appears when a guardian removal or escrow change leaves the stored recipient set out of date. An unlocked Custodian or approved Successor who can decrypt can repair it. Another Successor approving removal without payload access leaves the warning for an eligible user to resolve.

Re-encryption checks both the payload version and current recipient set. A concurrent edit requires refreshing and trying again. It preserves the secret's presence and all attachment metadata/count; it cannot silently drop content. Removing a recipient affects future ciphertext, not copies already downloaded.

Personal identity rotation

Personal rotation is available from Account Security. It replaces your identity across all affected teams. The browser unlocks your old identity, generates and wraps a new one, then stages complete re-encrypted payloads one asset at a time. The pending wrapped identity is stored before staging so it is not lost if the browser closes.

Activation is all or nothing. The server rechecks the complete affected asset set, membership, access gates, recipient sets, and payload versions in one transaction. Only then does it replace all covered payloads, activate the new identity, and revoke the old one. Until commit, the old identity and live payloads remain active.

Inaccessible, legacy, or undecryptable assets block rotation; they are never silently skipped. One exception: an asset whose only link to you is owner escrow doesn't block rotation and isn't re-encrypted by it. That is the case when you own the team, escrow is on or was replaced by master keys, and you hold no guardian role on the asset; or when the asset was in that state at the moment you transferred ownership of the team and its stored copy still holds that same key of yours. It shows Needs re-encryption, and your old identity can decrypt copies of it until one of its Custodians repairs it. If your key is the only one that opens such a copy (no other Custodian or Successor who can still unlock their vault, and no team vault key that can still be used), rotation lists the asset and asks you to confirm, because after rotating nobody can open that copy. For teams you've left, it shows only how many copies are affected, so nothing about those teams is revealed, and you confirm that exact set: if it changes before you finish, you're asked again. Stale references from former teams can conservatively block rotation without revealing former-team metadata. Resolve access or migration first. A changed asset or recipient set requires a fresh staging attempt. Pending rotations expire after 24 hours and can be canceled before commit. The retired team-wide approval workflow and cooldown no longer apply.

Migrating a legacy team

Team owners see a migration action in Team Settings while legacy state remains. The legacy phrase is entered only in the browser, where existing AES-GCM content is decrypted and re-encrypted with age.

Ownership does not grant permission to read every asset. Migration discovery is metadata-only; every payload read uses the same guardian access gate and notifications as ordinary viewing. Blocked assets are reported without returning ciphertext. Eligible Custodians or approved Successors can migrate individual assets, after which the owner can finalize the team migration.

Original bytes stay intact until each complete replacement commits. Missing enrolled recipients leave assets flagged for later re-encryption; zero-recipient encryption is rejected. Owner-only finalization succeeds only after no legacy secret or attachment remains, then clears the legacy hash/reminder columns. Those columns are transitional migration markers, never authorization proofs. A team with blocked or undecryptable assets cannot be declared migrated.

File and request limits

Attachments use the same recipient set and gate as secret text, including assets that contain attachments only. Each file is limited to 10 MiB, each asset to 20 attachments, and each encrypted payload request to 64 MiB. File content is stored as inline armored ciphertext; names, sizes, and MIME types remain visible metadata.

Command line and AI agents

The kmo CLI and MCP server use the same format and the same gates as the browser. Encryption and decryption run on your computer; the server receives only public keys, ciphertext, and metadata. A device signs in through an approval page that needs a recent web sign-in. Its token is limited to the teams and access level you choose there, expires after 30 days, and reaches only an allowlist of read and asset-editing routes. Access approvals, guardian management, enrollment, rotation, and account or team administration stay web-only. Bearer requests never use or set session cookies.

kmo unlock creates a lease of up to 8 hours (30 minutes by default). The unlocked identity is stored encrypted under a key derived from a local half and a server-held half, which the server releases only to that device's token until the lease expires or is revoked. Revoking the device, rotating or resetting your identity revokes its leases. A lease limits how long a copied lease file is useful; it does not protect against malware already running as your user.

Secret reads from the CLI write the same access record and send the same notification as the web, labelled with the CLI device name. An AI agent given --allow-reveal sees revealed secrets in its conversation, and hosted models send that conversation to their provider. Asset instructions are treated as untrusted input for agents.

Security boundaries

Strong passphrases reduce offline guessing attacks against stolen wrapped identities. Encryption does not prevent a compromised client from capturing typed passphrases, unlocked private identities, or plaintext. A compromised service that can change delivered application code is also outside the passive database-disclosure guarantee.

The server supplies the recipient public keys your browser encrypts to, and the browser does not pin or independently verify them. An attacker who controls the server or database could substitute or add a public key so that content encrypted afterwards is also readable by them. Existing ciphertext is not exposed this way, because it cannot be re-encrypted without a recipient's private identity. The zero-knowledge guarantee therefore covers passive disclosure of stored data, not an active server compromise.

Approvals, notifications, and membership checks control service access, not offline copies. Rotation, identity reset and recipient removal cannot erase old ciphertext copies or database backups, or revoke a secret already learned. If a stored password or token may have been exposed, change it at the issuing service as well.

See Guardian System, Access Requests, and Account Management for the corresponding workflows.