LinuxCommandLibrary

pass

TLDR

Initialize password store with GPG key

$ pass init [gpg-id]
copy
List all passwords
$ pass
copy
Show a password
$ pass [folder/name]
copy
Copy password to clipboard
$ pass -c [folder/name]
copy
Generate new password
$ pass generate [folder/name] [20]
copy
Generate without symbols
$ pass generate -n [folder/name] [20]
copy
Insert a password
$ pass insert [folder/name]
copy
Edit a password
$ pass edit [folder/name]
copy
Remove a password
$ pass rm [folder/name]
copy
Search passwords
$ pass grep [search_term]
copy
Sync with git
$ pass git push
copy

SYNOPSIS

pass [command] [args...]

DESCRIPTION

pass (password-store) is a simple password manager that stores passwords in GPG-encrypted files organized in a directory hierarchy. Each password is stored in a separate file, encrypted with one or more GPG keys.
The password store is a directory tree at ~/.password-store, with each file containing a single password and optionally additional data. Git integration enables version control and synchronization.
pass provides a simple, Unix-philosophy approach to password management, using existing tools (GPG, git, tree) rather than custom databases.

PARAMETERS

init gpg-id

Initialize password store.
ls [subfolder]
List passwords.
show name
Decrypt and show password.
insert name
Insert new password.
edit name
Edit password with editor.
generate name [length]
Generate new password.
rm name
Remove password.
mv old new
Move/rename password.
cp old new
Copy password.
grep pattern
Search decrypted files.
git args
Execute git command.
-c, --clip
Copy to clipboard instead of displaying.
-n, --no-symbols
Generate password without symbols.

CAVEATS

Requires GPG key for encryption. Filenames (password paths) are not encrypted. Clipboard contents may be logged. Git history retains old passwords unless history is rewritten.

HISTORY

pass was created by Jason Donenfeld (zx2c4) in 2012 as a minimalist password manager following Unix philosophy. It gained popularity for its simplicity and use of standard tools. The project spawned many compatible clients and extensions for browsers and mobile devices.

SEE ALSO

gpg(1), git(1), pwgen(1), gopass(1)

Copied to clipboard