LinuxCommandLibrary

gopass

Manage passwords securely

TLDR

Initialize the configuration settings

$ gopass init
copy

Create a new entry
$ gopass new
copy

Show all stores
$ gopass mounts
copy

Mount a shared Git store
$ gopass mounts add [store_name] [git_repo_url]
copy

Search interactively using a keyword
$ gopass show [keyword]
copy

Search using a keyword
$ gopass find [keyword]
copy

Sync all mounted stores
$ gopass sync
copy

Show a particular password entry
$ gopass [store_name|path/to/directory|email@email.com]
copy

SYNOPSIS

gopass [options] command [arguments]

PARAMETERS

-h, --help
    Show help message and exit.

-v, --version
    Show version information and exit.

-c, --config
    Path to the config file.

-D, --debug
    Enable debug output.

-f, --force
    Force the operation.

-n, --no-color
    Disable color output.

DESCRIPTION

gopass is a command-line password manager written in Go. It allows you to store, generate, and manage passwords securely using GPG encryption. It leverages Git for version control of your password store.

gopass aims to be simple to use, secure, and cross-platform. It provides a consistent interface for managing passwords across different operating systems and integrates well with existing workflows. gopass also supports team sharing of passwords using GPG keys. It's designed to be a lightweight alternative to GUI-based password managers when a command-line interface is preferred.

CAVEATS

gopass relies on GPG for encryption, so GPG must be installed and configured correctly before using gopass. It also requires a Git repository to store the password store, and it's essential to back up the repository regularly to prevent data loss.

COMMANDS

Common gopass commands include:
init: Initializes the password store.
insert: Adds a new password.
show: Displays a password.
generate: Generates a random password.
edit: Edits an existing password.
rm: Removes a password.
ls: Lists all passwords.

CONFIGURATION

gopass can be configured using a configuration file, typically located at `~/.config/gopass/config.yml`. This file allows you to customize various settings, such as the password store path, GPG key ID, and clipboard timeout.

HISTORY

gopass was created as a command-line password manager with a focus on security and simplicity. It's been actively developed and maintained, gaining popularity among users who prefer command-line tools. gopass aims to provide an easy-to-use and secure way to manage passwords, especially within environments where a GUI is not preferred or available.

SEE ALSO

gpg(1), git(1)

Copied to clipboard