CLI tool for accessing strongbox-password-safe
  • Go 99.4%
  • Makefile 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nicolas Karolak 597e6d33c4 fix: Remove unused --verbose flag
The --verbose flag was only used once, to log the socket path
in dialStrongbox via vlog(). This single log line added no real
debugging value. Remove the flag, the vlog helper, and log.go
to simplify the surface.
2026-09-06 21:10:44 +02:00
.gitignore feat: initial release 2026-09-06 00:06:36 +02:00
.semrel.yaml feat: initial release 2026-09-06 00:06:36 +02:00
commands.go fix: Remove unused --json flag 2026-09-06 21:08:59 +02:00
crypto.go feat: initial release 2026-09-06 00:06:36 +02:00
go.mod fix: update dependencies 2026-09-06 00:36:14 +02:00
go.sum fix: update dependencies 2026-09-06 00:36:14 +02:00
main.go fix: Remove unused --verbose flag 2026-09-06 21:10:44 +02:00
Makefile feat: initial release 2026-09-06 00:06:36 +02:00
prek.toml feat: initial release 2026-09-06 00:06:36 +02:00
protocol.go feat: initial release 2026-09-06 00:06:36 +02:00
protocol_test.go feat: initial release 2026-09-06 00:06:36 +02:00
README.md feat: initial release 2026-09-06 00:06:36 +02:00
transport.go fix: Remove unused --verbose flag 2026-09-06 21:10:44 +02:00

strongbox-cli (Go)

Go rewrite of strongbox-cli, connecting directly to Strongbox on macOS via its Unix domain socket.

Install

Requires Go 1.22+ and macOS.

go install git.karolak.fr/nicolas/strongbox-cli@latest

Usage

strongbox-cli diagnose              # health-check integration
strongbox-cli diagnose --brief      # just list databases
strongbox-cli list                  # list databases and lock state
strongbox-cli search "github"       # full-text search
strongbox-cli get <uuid-or-title>        # show entry (public view)
strongbox-cli get --reveal <ref>         # show secrets too
strongbox-cli get --field password <ref> # print only the password
strongbox-cli get --field totp-uri <ref> # print the raw otpauth:// URI
strongbox-cli get --database <db> <ref>  # search only one database
strongbox-cli unlock <db>           # unlock database
strongbox-cli lock --all            # lock all databases

Security

  • Any process running as your macOS user can connect to Strongbox while vaults are unlocked. This is the same trust boundary as the browser extension.