User Tools

Site Tools


Install and use pass Unix-Philosofy password manager

To install the pass package

# packagemanager-install-command pass
# for Debian-based Linux, for example:
apt install pass

Create a gpg key if you don't have one

gpg --full-generate-key

List your keys KEYID in LONG format, to use it on pass

gpg --list-secret-keys --keyid-format LONG
# output looks something like this:
sec   rsa4096/AAAAAAAAAAAAAAAA 2020-01-01 [SC]
uid                 [ultimate] User <user@email>
ssb   rsa4096/CCCCCCCCCCCCCCCC 2020-01-01 [E]
# copy the text in your case for the placeholder of AAAAAAAAAAAAAAAA
# which is your secret gpg keyid

Once you copy the keyid, init the password store using:

# !! put your keyid instead of AAAAAAAAAAAAAAAA

So, how to do stuff?

Insert a secret for (for example)

pass insert
# or
pass insert SocialMedia/
# or just
pass insert Social/mastodon
# or whatever hierarchy you want

Print the secret using tab completion


Or just copy it on the main clipboard for 45 seconds

pass -c


docu/tutos/linux/pass_unix_usage.txt · Last modified: 2020/07/28 07:53 by admin