2016-01-06 19:23:32 +00:00
|
|
|
# pass
|
|
|
|
|
2020-02-17 23:06:48 +00:00
|
|
|
> Tool for storing and reading passwords or other sensitive data.
|
2021-01-07 14:06:38 +00:00
|
|
|
> All data is GPG-encrypted, and managed with a Git repository.
|
2019-05-29 14:53:36 +01:00
|
|
|
> More information: <https://www.passwordstore.org>.
|
2016-01-06 19:23:32 +00:00
|
|
|
|
2020-07-02 13:20:43 +01:00
|
|
|
- Initialize (or re-encrypt) the storage using one or more GPG IDs:
|
2016-01-06 19:23:32 +00:00
|
|
|
|
2020-07-02 13:20:43 +01:00
|
|
|
`pass init {{gpg_id_1}} {{gpg_id_2}}`
|
2016-01-06 19:23:32 +00:00
|
|
|
|
2020-07-02 13:20:43 +01:00
|
|
|
- Save a new password and additional information (press Ctrl + D on a new line to complete):
|
2016-01-06 19:23:32 +00:00
|
|
|
|
2020-07-02 13:20:43 +01:00
|
|
|
`pass insert --multiline {{path/to/data}}`
|
|
|
|
|
|
|
|
- Edit an entry:
|
|
|
|
|
|
|
|
`pass edit {{path/to/data}}`
|
2016-01-06 19:23:32 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Copy a password (first line of the data file) to the clipboard:
|
2016-01-06 19:23:32 +00:00
|
|
|
|
|
|
|
`pass -c {{path/to/data}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- List the whole store tree:
|
2016-01-06 19:23:32 +00:00
|
|
|
|
|
|
|
`pass`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Generate a new random password with a given length, and copy it to the clipboard:
|
2016-01-06 19:23:32 +00:00
|
|
|
|
|
|
|
`pass generate -c {{path/to/data}} {{num}}`
|
|
|
|
|
2020-07-02 13:20:43 +01:00
|
|
|
- Initialize a new Git repository (any changes done by pass will be committed automatically):
|
2016-01-06 19:23:32 +00:00
|
|
|
|
2020-07-02 13:20:43 +01:00
|
|
|
`pass git init`
|
2021-11-01 05:31:06 +00:00
|
|
|
|
|
|
|
- Run a Git command on behalf of the password storage:
|
|
|
|
|
|
|
|
`pass git {{command}}`
|