A decentralized password manager, in Rust. Your devices sync directly with each other over iroh; a new device joins only by pairing from one you already have. No accounts, no servers of our own.
Status: alpha. Every push to dev ships a build; there is no stable release yet.
Deadbolt comes as a CLI, a desktop app and a browser extension. Install the app or CLI, create a vault, then add the extension and your other devices.
There is no stable release yet, so install the latest build of dev:
curl -fsSL https://deadbolt.pw/install | DEADBOLT_CHANNEL=dev shOr with bun or npm (Node 18+), the CLI and daemon (with the app on a glibc Linux desktop; on macOS the app is Deadbolt.app, below):
bun add -g @deadbolt/cli@dev # the latest dev build; @deadbolt/cli once stable releases start
npm i -g @deadbolt/cli@devbun skips the package's install script; the first deadbolt run links it instead.
The script installs deadbolt to ~/.local/bin (set DEADBOLT_INSTALL to change it) and checks its SHA-256. It works on macOS and Linux, x64 and arm64. On macOS you can get the app instead: Deadbolt.app (dev), a universal build.
Once stable releases start, the script installs stable by default (DEADBOLT_VERSION pins one), and Homebrew and GitHub releases get them too:
brew install anomalyco/tap/deadbolt # the CLI
brew install --cask anomalyco/tap/deadbolt # Deadbolt.app for macOS, with its CLIRun deadbolt in a terminal for the CLI, or deadbolt app (or Deadbolt from Applications, Spotlight or your launcher) for the app. Bare deadbolt started outside a terminal opens the app too; set DEADBOLT_NO_UI=1 in scripts that must never get a window. The app is its own program, deadbolt-ui (Deadbolt.app on macOS, beside deadbolt on glibc Linux); deadbolt itself is headless and runs on a server with no display. On Linux the app's first opening adds Deadbolt to the app launcher (deadbolt desktop install does it again, deadbolt desktop uninstall takes it out). On Alpine and other musl systems the install script picks the static build, which has no app.
On your first device, create a vault:
deadbolt initOr open the app and choose Create a vault.
To add another device, start on the new one and finish on one that has the vault:
deadbolt join # on the new device: shows a code
deadbolt approve <code> # on a device with the vaultIn the app, the new device's Join from another device does the same. A code works once, for 5 minutes.
The extension works in Chromium-based browsers: Chrome, Brave, Arc, Edge, Chromium and Helium. It isn't in the Chrome Web Store yet, so you load it unpacked. It fills from the Deadbolt app or CLI on the same computer.
With Deadbolt installed, connect your browsers and pick a new, empty folder for the extension:
deadbolt browser install --extension-dir ~/deadbolt-extension
deadbolt update # downloads the extension into that folderThen load it:
- Open
chrome://extensionsand turn on Developer mode. - Click Load unpacked and choose the folder.
- After each
deadbolt update, click reload on Deadbolt there.
Found a problem? Open an issue.
deadbolt updateThis updates Deadbolt.app or the deadbolt it runs from (running npm, pnpm, bun, yarn or Homebrew when one of them installed it), and every extension folder registered with deadbolt browser install --extension-dir. Reload the extension afterwards. The daemon checks for updates in the background and only tells you (one line at a terminal at most once a day, and in the app's Settings; deadbolt update --check asks on the spot); it never installs anything itself. DEADBOLT_NO_UPDATE_CHECK=1 turns the check off. Releases: docs/releasing.md.
The mobile apps (iOS and Android) are in progress, and Safari AutoFill on macOS isn't in releases yet.
Put secrets in a command's environment or a file instead of printing them. A reference is deadbolt://[vault/]item/field, the item by its title or short id:
deadbolt run --env GH_TOKEN=deadbolt://personal/GitHub/token -- gh release create v1
deadbolt run --env-file .env.tpl -- bun run dev # KEY=deadbolt://… lines
deadbolt inject -i config.tpl -o config.json # {{ deadbolt://… }}, written 0600
deadbolt read deadbolt://personal/GitHub/password # prints one valuerun conceals the values in the command's output (so the command's output is a pipe, not your terminal: --no-mask keeps the terminal), passes stdin and signals through and exits with the command's code. Masking stops accidents, not a command that means to show a value. deadbolt activity lists every resolve, never a value.
While the vault is unlocked, any program running as you can read it, with no prompt, as with an unlocked op session or pass with gpg-agent: lock it (deadbolt lock, or let the idle lock do it) when you're away. See "Callers" in docs/design.md.
Hand files, a secret or vault items to anyone through a one-time link. The Deadbolt daemon on this computer serves it live until it is opened, expires (default 1h) or is revoked; nothing is uploaded anywhere:
deadbolt send ./report.pdf --note "quarterly numbers" # prints a deadbolt.pw/r link
cat key.pem | deadbolt send - # a secret from stdin
deadbolt send ls # what is still openOpen the link in any browser, or in a terminal. receive needs no vault and no daemon, and takes the whole link or only the part after #:
deadbolt receive 'https://deadbolt.pw/r#…' # a secret or item fields on stdout
deadbolt receive 'https://deadbolt.pw/r#…' --output ./downloads # files; --force overwritesA short text value prints alone on stdout, an item's fields as field<TAB>value, and the title and note go to stderr. Files are never written over without --force or outside --output. --json prints {title, note, values, files}.
docs/design.md— the current v1 design (two keys, signed membership, per-device encrypted logs, QR pairing).docs/app.md— the desktop app (Rune, incrates/app): plan, keyboard, motion, and the first slice.docs/proposals/send.md— Deadbolt Send: one-time links to files, secrets and vault items, served live peer to peer and opened in any browser or withdeadbolt receive.docs/autofill.md— browser autofill: the native messaging host, its message set, domain rules and threat model.docs/secrets.md—deadbolt run,injectandread: references, masking and Activity.docs/research/— prior art01-inkandswitch.md— Keyhive, BeeKEM, Beelay/Subduction, Automerge02-rust-sync-stacks.md— iroh, p2panda, Willow, Loro/Automerge/yrs03-mailbox-pairing-keys.md— mailboxes (Nostr, S3, folders), pairing, how other password managers handle keys and recovery
docs/history/— how we got here: the v0 proposal, the no-infrastructure (Nostr mailbox) revision, and two adversarial critiques of them. Superseded bydocs/design.md; kept for the reasoning. These docs reference the research files by bare filename.
site/ is the website: a landing page (/) and an animated architecture walkthrough (/architecture/), in the style of opentunnel.xyz (Vite, React, Motion, WebGL2 prints; fonts are Anton and IBM Plex Mono, OFL, licences in site/public/fonts/). cd site && bun install && bun run dev serves it on http://127.0.0.1:5197. bun run deploy builds it and deploys site/dist to deadbolt.pw with Wrangler; site/public/install is the install script served at /install. /r is Deadbolt Send's receive page; building the site first compiles its WebAssembly (site/scripts/wasm.sh, which needs the wasm32-unknown-unknown target and wasm-bindgen-cli, see docs/proposals/send.md). The original static mock is kept at site/mock.html.
