gopasspw/gopass
Sobre
O gerenciador de senhas Unix padrão para equipes, só que um pouco mais incrível.
Segurança e privacidadeO que você pode fazer
- Git-native history - Every change is a commit. Review, diff, roll back, auto-sync.
- Fuzzy search - Type a fragment, get the entry. No exact paths needed.
- Teams & mounts - Many stores in one tree, each with its own recipients.
- TOTP - Generate time-based codes from the stored seed, or scan a QR code on screen.
Crescimento medido de estrelas
- em 24 h
- +3
- em 7 dias
- +16
- em 15 dias
- +22
- em 1 mês
- +41
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalgopass

The password manager for your terminal. Encrypted files, Git history, team sharing. No server, no account.
Quick start · Install · Features · Teams · Docs · Website · Slack
Why gopass?
gopass is a drop-in replacement for pass, the standard UNIX password manager. Same idea: one encrypted file per secret, versioned in Git. With a faster interface, first-class team support and the hooks you need to automate it.
- Fast to use. Fuzzy search, an interactive shell with tab-completion, built-in TOTP, clipboard that clears itself.
- Built for teams. Mount several stores into one tree and manage who can decrypt what with
gopass recipients. - Yours, completely. Plain files in a repo you host. Works offline and on air-gapped machines.
- Scriptable.
gopass show -o,gopass env, a JSON API and documented exit codes for CI/CD. - Pluggable. GPG by default, age if you prefer. Git, pure-Go Git or plain files for storage.
- No migration. Point gopass at your existing
passstore and keep going.
Quick start
1. Install
brew install gopass # macOS / Linux. Other platforms: see "Install" below
2. Set up
gopass setup # pick a key, optionally add a Git remote
3. Use it
gopass generate web/example.com 24 # create a random 24-character password
gopass show -c web/example.com # copy it (the clipboard clears itself)
gopass web/example.com # short form of `gopass show`
gopass otp -c work/github # current one-time code
gopass sync # pull and push every remote
That's it. Not starting from scratch?
| Your situation | What to run |
|---|---|
| Joining a team | gopass clone [email protected]:team/secrets.git work |
Coming from pass |
Nothing. gopass picks up ~/.password-store on first run |
| Prefer age to GPG | gopass setup --crypto=age |
| Don't want Git | gopass setup --storage=fs |
Install
| Platform | Command |
|---|---|
| macOS / Linux (Homebrew) | brew install gopass |
| macOS (MacPorts) | sudo port install gopass |
| Debian / Ubuntu / Raspbian | Use our apt repository |
| Fedora / RHEL / CentOS | dnf install gopass (you might need dnf copr enable daftaupe/gopass first) |
| Arch Linux | pacman -S gopass |
| Alpine | apk add gopass |
| Windows | winget install -e --source winget --id gopass.gopass · scoop install gopass · choco install gopass |
| FreeBSD / OpenBSD | cd /usr/ports/security/gopass && make install |
| From source | go install github.com/gopasspw/gopass@latest |
| Anything else | Download a release and put the binary on your PATH |
gopass has no hard dependencies. The default setup uses gpg for encryption and git for history, and gopass edit needs an $EDITOR. More options in docs/setup.md.
Debian / Ubuntu
Warning: Do not install the
gopasspackage from the official Debian or Ubuntu repositories. It is an unrelated project. Use our repository:
curl https://packages.gopass.pw/repos/gopass/gopass-archive-keyring.gpg | sudo tee /usr/share/keyrings/gopass-archive-keyring.gpg >/dev/null
cat << EOF | sudo tee /etc/apt/sources.list.d/gopass.sources
Types: deb
URIs: https://packages.gopass.pw/repos/gopass
Suites: stable
Architectures: all amd64 arm64 armhf
Components: main
Signed-By: /usr/share/keyrings/gopass-archive-keyring.gpg
EOF
sudo apt update
sudo apt install gopass gopass-archive-keyring
Windows prerequisites
winget install -e --source winget --id Git.Git
winget install -e --source winget --id GnuPG.Gpg4win
Everyday commands
| I want to… | Run |
|---|---|
| Create a secret (guided) | gopass create |
| Generate a password | gopass generate work/db/prod 32 |
| Store a value I already have | gopass insert work/db/prod |
| Show or copy a secret | gopass show work/db/prod · gopass show -c work/db/prod |
| Read one field | gopass show work/db/prod username |
| Search | gopass find github |
| Edit in my editor | gopass edit work/db/prod |
| Get a one-time code | gopass otp -c work/github |
| See what changed | gopass history work/db/prod |
| Browse the tree | gopass ls |
| Check for weak passwords | gopass audit |
| Debug my setup | gopass doctor |
| Sync everything | gopass sync |
| Work interactively | gopass (no arguments) |
Every command, flag and exit code is in the command reference.
Features
| Feature | Description |
|---|---|
| Git-native history | Every change is a commit. Review, diff, roll back, auto-sync. |
| Fuzzy search | Type a fragment, get the entry. No exact paths needed. |
| Teams & mounts | Many stores in one tree, each with its own recipients. |
| TOTP | Generate time-based codes from the stored seed, or scan a QR code on screen. |
| Password quality | Offline checks for weak passwords, plus leak checks. |
| Multiple generators | Random, xkcd-style or memorable passwords. |
| Pluggable backends | GPG or age. Git, go-git or plain files. |
| Extensible | Add your own commands via the Go API. |
See the full list on the features page.
Teams and multiple stores
A store is a Git repository. Mount as many as you like into a single tree, each encrypted to exactly the people who should read it.
# join your team's store and mount it at work/
gopass clone [email protected]:platform/secrets.git work
# an existing member lets a colleague in (this re-encrypts the store)
gopass recipients add --store=work [email protected]
gopass sync
gopass
├── personal/
│ └── github.com/alice
└── work/ ← mounted team store
├── aws/console
└── db/prod
Tip: New members can import their teammates' public keys from the repository itself. No separate key exchange needed.
Caution: Removing a recipient re-encrypts the store from now on, but cannot make them forget what they already read. Rotate the secrets they had access to. See the team workflow reference.
Automation
export GITHUB_TOKEN=$(gopass show -o ci/github-token) # password only, nothing else
gopass env db/prod psql -U admin mydb # secrets as environment variables
gopass env --stdin ci/registry docker login -u bot --password-stdin ghcr.io
git-credential-gopass configure --global # gopass as git's credential helper
Note: Environment variables are visible to other processes of the same user. Prefer
--stdinor--filewhen that matters. Seegopass env.
Integrations
| Category | Integration |
|---|---|
| Browser | gopassbridge for Firefox, Chrome and other Chromium browsers |
| Git | git-credential-gopass |
| Kubernetes / Terraform | kubectl gopass · Terraform provider |
| Dotfiles / CI | chezmoi · summon provider |
| Desktop | gopass-ui · Secret Service · Alfred · Raycast |
| Mobile | Pass for iOS, Password Store for Android. Details |
How it works
A secret is a file. gopass encrypts it, commits it and keeps it in sync.
~/.local/share/gopass/stores/root
├── .gpg-id # who can decrypt this store
├── personal/
│ └── github.com.gpg # one encrypted file per secret
└── work/
└── db/prod.gpg
| Layer | Default | Alternatives |
|---|---|---|
| Encryption | gpg |
age (experimental) |
| Storage | Git via the git binary |
gogit (pure Go, no git needed), fs (plain files, no history) |
Important: Secret names are not encrypted. Don't put sensitive data in them.
Documentation
| Guide | Description |
|---|---|
| Setup | Install, prerequisites, first steps |
| Features | Everything gopass can do, plus integrations |
| Commands | Reference for every command |
| Configuration | All config options |
| Backends | Crypto and storage backends |
| Team workflows | Onboarding, offboarding, key refresh |
| Security | Threat model and design decisions |
| FAQ | Common questions |
Community
- Questions? Ask on Slack.
- Found a bug? Open an issue.
- Want to help? We welcome contributions. Start with CONTRIBUTING.md.
Credit & license
gopass is licensed under the terms of the MIT license. The full text is in LICENSE. See the contributors page for everyone who made this possible.
Gopher by Vincent Leinweber, remixed from the Renée French original Gopher.
Explore projetos relacionados
Carregando…