Pass
From Indie IT Wiki
Revision as of 14:17, 18 November 2020 by imported>Plittlefield (→Configuration)
Introduction
'pass' is a simple, flexible command line password manager that follows the Unix philosophy of simple tools for one job. The application saves each password in an encrypted GPG file and allows organizing them in various folder hierarchies. It also uses shell tab completion.
Installation
sudo apt-get install gpg pass
Configuration
Import your public and secret GPG keys from a backup...
gpg --import /path/to/.gnupg/pubring.gpg gpg --import /path/to/.gnupg/secring.gpg
Or, generate your GPG keys...
gpg --gen-key
Check your GPG keys...
gpg --list-keys
Initialise the 'pass' Password Store...
pass init 'John Smith <email@address.com>'
The GPG id used is put in a dotfile here...
~/.password-store/.gpg-id
The contents look like this...
John Smith <john@smith.com>
Usage
Insert
Single password...
pass insert Test/test.com
Multiple lines...
pass insert -m Test/test.com
List
pass
Retrieve
pass Test/test.com
Edit
pass edit Test/test.com
Search
pass find test pass grep test
Clipboard
pass -c Test/test.com
Delete
pass rm Test/test.com
Generate
pass generate Test/test.com 8
GUI
Links
https://git.zx2c4.com/password-store/about/
http://www.webupd8.org/2016/03/manage-passwords-from-command-line-with.html