A self-hosted vault for passwords, API keys and SSH keys

kbox encrypts everything in your browser or terminal before it is saved. The server keeps ciphertext and public keys — nothing it could read, and nothing we could hand over.

Create your vault

The CLI runs on Linux, x86-64 and ARM64.

One record, two very different views.

On your device a record is a login you can copy and use. On the server it is a blob of XSalsa20-Poly1305 ciphertext, sealed with a key that exists only where you unlocked your vault.

Flip the switch to see exactly what we store.

There is no password reset.

We can’t recover your master password or read your records. Lose both your device key and your master password, and the vault can’t be opened by anyone.

work/aws-prod, decrypted in this browser sealed
username
deploy@acme.io
password
Tr0ub4dor&3-horse-staple
url
https://console.aws.amazon.com
notes
Rotate quarterly. MFA on the YubiKey.

Titles stay readable so you can search them; everything inside a record is encrypted.

Built for the terminal you already live in.

The CLI is the main way in. The web app adds folders, sharing and one-time links.

$ kbox view

Read a record where you work

Find a password, API key or note by name. It is decrypted on your machine and printed in your terminal.

$ kbox ssh

Connect with keys from your vault

kbox loads the key into your ssh-agent for five minutes, connects, then removes it. The private key is never written to disk.

$ kbox agent

Keys for ssh, git and rsync

A background agent serves every SSH key in your vault from memory, so plain ssh, git pull and rsync just work.

~ — zsh
$ kbox login --server https://vault.example.com
  deriving keys locally …

$ kbox list
  aws-prod      password
  stripe-live   api_key
  app-01        ssh_key

$ kbox view aws-prod
  username  deploy@acme.io
  password  ****************

$ kbox ssh app-01
kbox: key added to agent (expires in 300s)
deploy@app-01:~$ 

How a record gets its key.

Built on libsodium. Four steps, all on your device. The server only ever receives public keys and ciphertext.

  1. 1

    Master keypair

    Argon2id stretches your master password into an X25519 keypair. Same password, same keys, on any device.

  2. 2

    Device keypair

    A second, random keypair is created when you sign up and kept in this browser.

  3. 3

    Shared secret

    A Diffie-Hellman exchange between the two keypairs gives a root secret that either one can recover.

  4. 4

    Record key

    Each record’s key is derived from that root, so one leaked key opens one record and nothing else.

Pricing

Prices in euro, paid by card. Checkout opens after you create your account.

Personal

We run it for you.

€1 per month

or €10 a year, two months free

  • Unlimited records and folders
  • Web app and Linux CLI
  • Sharing with other kbox users
  • End-to-end encryption
Start with Personal

Self-hosted

Run kbox on your own servers under a commercial license.

€40 per month

or €400 a year, two months free

  • Everything in Personal
  • Your infrastructure, your database
  • Commercial license
  • Priority support
Start with Self-hosted