homelab
← The journey

09 · November 2026

Coffer

Secrets for a small team.

Problem

Passwords and keys for the lab lived in notes and chat history. A password manager didn't have proper fields for them, and an enterprise secrets tool was a lot to host for what I needed.

Fix

Coffer keeps secrets in projects, environments and folders, with version history. One-time links work for people without an account, and the link's key never reaches the server.

What it is

Secrets for a small team

Coffer stores and shares secrets for a homelab or a small team. It has a web app, a CLI and a browser extension, and every read is logged. It deliberately doesn't push secrets anywhere: no syncing into clouds, CI or Kubernetes. Things that need a secret fetch it with coffer get, or a person copies it.

Projects, environments, folders

Each project has its own environments (Development, Staging and Production by default) and folders like /db/replica. Compare lines a folder up across environments, so a key missing from production stands out.

Types that change the view

Text, password, note, key, certificate and key pair. Certificates show their subject, names, fingerprint and expiry; key pairs show their public key.

Generators

Passwords, random keys, UUIDs, key pairs (Ed25519, ECDSA, RSA, with OpenSSH output) and X.509 certificates: self-signed, a CA, or issued by a CA stored in Coffer.

Certificates to renew

The home page lists every certificate that expires within 30 days.

History

The last 30 values of every secret, who set each one, and one-click restore.

One-time links

Share a stored secret or any text for 1 hour to 30 days and 1 to 10 views. After the last view the link is dead and the stored copy is wiped.

CLI and browser extension

A one-file CLI with no packages (coffer get, set, gen, share) and an extension for Chrome, Edge, Brave and Arc, both signed in with API tokens.

Activity

Every read, change, share and sign-in, with who did it and through which token.

Find and copy fast

⌘K finds any secret, ⇧↵ copies it, and copied values clear from the clipboard after 30 seconds.

Screens

A closer look

Demo data throughout. Click any screen to see it full size.

Coffer: projects and the certificates due for renewal
Coffer: a folder of TLS certificates and the lab's root CA
Coffer: every version of a password, with restore buttons
Coffer: an opened one-time link, now used up
Coffer on a phone

How it fits

What it talks to

  • Nothing outwardCoffer never pushes secrets to other systems
  • Coffer CLIscripts and people fetch secrets with a token
  • Browser extensionfind and copy secrets from any tab
  • Your reverse proxyonly the one-time link paths need to be public

See it on the network diagram →

Security

How it keeps things safe

  • Values are encrypted with AES-256-GCM under a master key, with secret:<id>:<version> as associated data, so ciphertext moved to another row won't decrypt.
  • Lists never decrypt: a secret's row holds only metadata, and every value read is logged.
  • One-time links are /s/<id>#<key>. The key stays in the fragment, which browsers never send, so neither the database nor the master key nor proxy logs can open a link.
  • Opening a link is a POST, so chat apps' link previews can't use it up. The last view wipes the ciphertext in the same update.
  • API tokens are stored only as hashes, can be read-only and expiring, work only on /api/v1, and can't make more tokens.

Run it

One container

Port
3070
Image
ghcr.io/vitafortis/coffer

Keep it on the LAN, a VPN or behind your proxy's sign-in. To send links to people outside, expose only the one-time link paths. Back up the master key somewhere other than the database backups.

Gaps

What it doesn't do yet

  • No single sign-on yet: people sign in with local accounts, so it leans on the proxy's SSO in front of it.
  • Lose the master key and the secrets can't be read; anyone holding both the key and a database backup can read them.
  • By design it doesn't sync secrets into other apps, so the Pangolin and Arcane keys stored in Vigil, Lanthorn and the Traffic Viewer are still separate copies.