tldr/pages/common/pass.md
b3nj5m1n 6fadfd16a9
pass: add edit example, add more info to init/insert, simplify git example (#4139)
Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
Co-authored-by: Owen Voke <development@voke.dev>
2020-07-02 14:20:43 +02:00

860 B

pass

Tool for storing and reading passwords or other sensitive data. All data is GPG-encrypted, and managed with a git repository. More information: https://www.passwordstore.org.

  • Initialize (or re-encrypt) the storage using one or more GPG IDs:

pass init {{gpg_id_1}} {{gpg_id_2}}

  • Save a new password and additional information (press Ctrl + D on a new line to complete):

pass insert --multiline {{path/to/data}}

  • Edit an entry:

pass edit {{path/to/data}}

  • Copy a password (first line of the data file) to the clipboard:

pass -c {{path/to/data}}

  • List the whole store tree:

pass

  • Generate a new random password with a given length, and copy it to the clipboard:

pass generate -c {{path/to/data}} {{num}}

  • Initialize a new Git repository (any changes done by pass will be committed automatically):

pass git init