gopass
$ gopass Official High Riskgopass (gopass) is a Go-based Unix password manager compatible with pass that stores encrypted secrets in Git repositories using GPG or age. Supports gopass env to inject secrets into subprocess environments and -o to emit single values, though it lacks JSON output and GPG pinentry can block headless shells.
brew install gopass gopass decrypts local Git-backed GPG/age secret stores and injects them directly into child process environments via gopass env.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports ls --flat, show -o, env, and --yes, but lacks --json output and GPG pinentry prompts often hang headless shells.
gopass ls --flatandgopass envavoid stdout leakage- No
--jsonoutput; GPG pinentry can block non-TTY runs
gopass show prints plaintext secrets straight to stdout (risking context leaks), and rm/git push mutate shared team stores.
gopass envmitigates stdout secret exposureshowprints raw secrets;rmand git sync mutate shared vaults
Single Go binary via brew, go install, and GitHub releases, though real usage requires GPG or age + Git configuration.
- Go binary across macOS, Linux, and Windows; requires GPG/age setup
Combines Git audit history, age/GPG encryption, and gopass env injection without SaaS lock-in.
- Decentralized encrypted team secrets over Git
Actively maintained (gopasspw/gopass) under MIT license.
- Established
gopasspw/gopassupstream
Clear markdown docs in docs/ and thorough subcommand --help.
- Well-documented commands and
agebackend guides
Security, Auth & Guardrails
Stores encrypted secret files in ~/.local/share/gopass/stores/ and configuration in ~/.config/gopass/config; decryption uses local GPG or age keys.
MIT open-source CLI; free and self-hosted via any Git remote.
# gopass Agent Rules - Prefer `gopass ls --flat` and `gopass env <folder> -- <cmd>` instead of `gopass show` so plaintext secrets do not enter chat context. - Never run `gopass rm` or `gopass git push` without explicit confirmation; ensure GPG/age agent unlocking works non-interactively.
Agent-Ready Command Recipes
Safe Read-Only Queries
gopass ls --flat
Prints all secret entry paths one per line without decrypting secret values.
gopass env app/staging -- ./deploy.sh
Decrypts keys under app/staging into the child environment of ./deploy.sh without echoing secrets to stdout.
Controlled Writes & Previews
printf '%s\n' "$NEW_SECRET" | gopass insert -f app/staging/API_KEY
Reads the new secret from stdin and writes app/staging/API_KEY (-f overwrites without prompt).
Strengths for Agents
- +
gopass env <prefix> -- <cmd>injects decrypted secrets into child processes without printing them. - + Supports modern
ageencryption alongside classic GPG and Git versioning.
Caveats & Pitfalls
- ! No
--jsonoutput acrosslsorshow. - ! GPG-backed stores trigger
gpg-agent/pinentryGUI or TTY prompts when keys are locked.