About Pass and GPG
Pass uses your GPG key to encrypt and decrypt the passwords that you save. This way only you (or other people who have your private key) can view the passwords
There are many plugins to use with Pass. I'll cover some of them on this article
How to install GPG and Pass
Arch Linux: sudo pacman -S gnupg pass
Debian/Ubuntu: sudo apt install gnupg pass
Fedora: sudo dnf install gnupg pass
How to setup GPG and Pass
First we have to setup your GPG key, to do run
gpg --full-gen-key
This will generate a private and a public key NEVER send your private key to anyone
Select option 1 and fill the required information. You are not creating a account or something like that, the email address is only for identification (you can even type a fake email and name)
To setup Pass run
pass init email address you used to setup GPG
How to use Pass
To add a password to Pass run
pass add nameofthepass
To generate a random password run
pass generate nameofthepass
To view your stored password run
pass nameofthesavedpass
To save more than a password run (for example username, email, url)
pass add -m nameofthepass
To save passwords on "folders" run
pass add group/nameofthepass
To copy a password to the clipboard run
pass -c nameofthesavedpass
To remove a password run
pass remove nameofthesavedpass
Pass GUI
If you wish you can use pass with a GUI using qtpass
You can also use passmenu for a dmenu/rofi menu
There are also browser extensions like BrowserPass
Some Pass plugins
- pass-import is a great plugin if you used another password manager before Pass
- pass-otp is a alternative to Google Authenticator
More information
If you need more information you can contact me