SecuFocus
PasswordsGetting started & analysis

gopass: passwords on the command line, with GPG and Git

gopass is a terminal password manager, encrypted with GPG by default and versioned with Git. It fits if you already live in the terminal.

Before you get started

What to expect

gopass is for people who are comfortable in a terminal. GPG and Git are the defaults, not the only backends: the repository also documents age for encryption and fossil for storage. Add-ons connect the store to a browser or Git credentials. With GPG, losing the key without a backup or another authorized key can make the secrets inaccessible.

If the command already feels natural

gopass shows, copies and generates secrets from the terminal. The site gives examples such as gopass init and gopass generate. If those commands mean nothing to you, a vault with a graphical app will be safer in practice, even if you like its cryptographic model less.

In the default GPG configuration, secrets remain encrypted on the machine and the private key must not go into the remote repository. A protected backup of that key is part of setup. The repository also documents other backends, including age: check which one your store uses before preparing recovery.

What makes it appealing

These points restate what this page already cites. This is not a new test.

  • Local secrets, encrypted with GnuPG, from the terminal.
  • Git keeps the history of changes.
  • Sharing with other people stays encrypted.

What holds it back

A link to gopass may be an affiliate link. If it is, the page says so. A possible commission does not change the points below.

  • This is not a family app with a home screen.
  • With GPG, losing the key without a backup or another authorized key can make the secrets inaccessible.
  • The Have I Been Pwned check, if turned on, talks to a third-party service.

Git syncs history, not understanding

The project uses Git to version the store and sync it between machines. You see the changes. You also need to understand what you push, and to which repository. A remote repository receives encrypted files. It must not receive the private key.

Sharing with other people exists, still under encryption. Add someone only if you know how to remove their access. A two-person test with a worthless secret is better than sharing production access directly.

The browser is an add-on, not the core

gopass-bridge is presented as a bridge to Firefox and Chrome. That is not the same thing as the command-line tool. Install the core, check one generate and one show, and only then autofill.

The site also mentions a Have I Been Pwned check through an add-on. That check sends information to a third-party service. Read what the add-on transmits before you turn it on.

From the provider

gopass

Downloads, compatibility and current terms.

Official website

Check and explore

Sources for this article

Numbers connect each reference to the passages that use it. Dates show when the documentation was consulted.

This article draws on the sources above. The exercises are for you to try on your devices; SecuFocus does not present them as tests carried out by its editorial team. Interfaces and features can change. Method and corrections.

Cite this article

Keep this reference with the article when you save or share it.