Your passwords, SSH keys and secrets. On your server.
Hisar is an end-to-end encrypted password, SSH key and secrets manager for developers. Run the server yourself, connect the Mac app, the CLI, the iPhone app and the browser extension, and read every line of code that touches your keys.
Sign a commit
iTerm2 wants to sign a commitwith your SSH key “Commit signing key”ssh-keygen ← git ← zsh
Signed by George Nachman (H7V7XYVQ7D)
“Ask before every SSH signature”~/src/hisar · main
ApproveDeny
Your server holds ciphertextKeys come from your master password and a Secret Key that never leave your devices.
Every key use asks, by nameTouch ID on your Mac, or a signed approval from your iPhone.
Nothing to take on trustClients, server and the crypto design are all in one public repository.
What it does
Built for the terminal, not just the browser.
SSH agent and git signing
Your SSH keys live in Hisar. Every use asks first.
Point SSH_AUTH_SOCK at Hisar and keep using ssh, git and your editor. The dialog names the app, the processes behind it, who signed it, and the host or commit. Unsigned programs are flagged.
export SSH_AUTH_SOCK=~/.hisar/agent.sock
hisar run
Commit the .env. It holds no secrets.
Write hisar:// references instead of values. hisar run resolves them in one request, you approve once, and the command gets real values. Nothing is written to disk, and printed values come out concealed.
$ hisar run --env-file .env -- npm test
password <concealed by hisar>
hisar mcp
Coding agents use your secrets. They never see them.
Mark the vaults an agent may use. It runs tests, migrations and deploys with secrets in the environment; you approve each command, and output is masked. Masking is a safety net, not a sandbox.
$ claude mcp add hisar -- hisar mcp
Approve from your iPhone.Requests arrive end-to-end encrypted and signed. The phone approves; it can't unlock your Mac.
Share links.Send one login to someone without Hisar, with an expiry, a view limit and an optional passphrase.
Shared vaults.Invite people on your server to a vault. Its key is wrapped to each member's public key.
Browser autofill.Fills logins in Chrome, Arc, Brave and Edge through the Mac app.
Self-host
One server, three steps.
The server only syncs encrypted data between your devices, so it needs little: a small Linux machine with Docker, where it runs next to Postgres. Everyone who uses it creates an account on your instance with an invite from you.
01Start the server
$ git clone https://github.com/tosunlab/hisar
$ cd hisar/deploy
$ docker compose up -d
Set your domain and a database password first; deploy/README.md walks through it.
Bug reports, fixes, translations and reviews of the crypto are all welcome. Start with the design document, or pick an issue labelled “good first issue”.