Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

gopass

$ gopass Official High Risk
gopass · Security & Secrets · MIT · macos / linux / windows

gopass (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.

FCRS-1.0 Score
73 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install gopass
CLI vs MCP Decision CLI Only

gopass decrypts local Git-backed GPG/age secret stores and injects them directly into child process environments via gopass env.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

Supports ls --flat, show -o, env, and --yes, but lacks --json output and GPG pinentry prompts often hang headless shells.

  • gopass ls --flat and gopass env avoid stdout leakage
  • No --json output; GPG pinentry can block non-TTY runs
Trust & Safety 16 / 25

gopass show prints plaintext secrets straight to stdout (risking context leaks), and rm/git push mutate shared team stores.

  • gopass env mitigates stdout secret exposure
  • show prints raw secrets; rm and git sync mutate shared vaults
Setup & Portability 13 / 15

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
Utility & Efficiency 12 / 15

Combines Git audit history, age/GPG encryption, and gopass env injection without SaaS lock-in.

  • Decentralized encrypted team secrets over Git
Maintenance & Lineage 8 / 10

Actively maintained (gopasspw/gopass) under MIT license.

  • Established gopasspw/gopass upstream
Docs & Verifiability 8 / 10

Clear markdown docs in docs/ and thorough subcommand --help.

  • Well-documented commands and age backend guides

Security, Auth & Guardrails

Auth Modes
OS Keychain Config File
Credential Storage

Stores encrypted secret files in ~/.local/share/gopass/stores/ and configuration in ~/.config/gopass/config; decryption uses local GPG or age keys.

Side Effects
Read-Only Local Write Remote Write Destructive
Cost & Quotas

MIT open-source CLI; free and self-hosted via any Git remote.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

List stored secret paths flatly
gopass ls --flat

Prints all secret entry paths one per line without decrypting secret values.

Inject a folder of secrets into a subprocess
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

Create or update a secret non-interactively via stdin
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 age encryption alongside classic GPG and Git versioning.

Caveats & Pitfalls

  • ! No --json output across ls or show.
  • ! GPG-backed stores trigger gpg-agent / pinentry GUI or TTY prompts when keys are locked.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI