1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:17:57 +01:00
tldr/pages/common/pass.md
Agniva De Sarker 3da76e4150 Applying the snake_case convention throughout the repo (#967)
* Applying the snake_case convention throughout the repo

- Also removing the file extension where not needed
- Adding {{ }} on a few old pages

* Addressing concerns

- Added {{ }} where they were missed out
- Removed spaces inside {{ }}
- Reverting "file" to "filename" to make it clearer

* Fixing the comments on nc page
2016-07-22 22:24:06 +02:00

679 B

pass

Safely store and read passwords or other sensitive data easily. All data is GPG-encrypted, and managed with a git repository.

  • Initialize the storage using a gpg-id for encryption:

pass init {{gpg_id}}

  • Save a new password (prompts you for the value without echoing it):

pass insert {{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}}

  • Run any git command against the underlying store repository:

pass git {{git_arguments}}