Stuff I learned today - Questions on SSH/GPG

Whovianime

Member
Joined
Dec 1, 2025
Messages
62
Reaction score
29
Credits
379
  • pass password manager thingy, i am confused about this
  • SSH keys? o.O I think I understand but at the same time, my head hurts lol
  • PGP and GPG are different stuff
 


3. pass password manager thingy, i am confused about this
You need to set it up with "pass init <gpg key>" where gpg key is an existing key. You can get a list of available keys with "gpg --list-secret-keys".

Once you've done this it's as simple as creating a new password entry with "pass insert <entry name>", entry name can be anything.

Then you retrieve your password with "pass <entry name>". To list possible entries use "pass" by itself.
 
Whovianime asked a question about gpg. Here is the answer. If you run "gpg -k" you get a list of keys. On my setup it looks like this:

pub ed25519 2025-11-29 [SC] [expires: 2028-11-29]
5B8D606F556F8F4BA968AB5E0345A316BEFDC2C2
uid [ultimate] default <[email protected]>
sub cv25519 2025-11-29 [E] [expires: 2028-11-29]
DBE2A87F2728C1C7CB2E57CC107CCCCDCF1511E5

As you can see, I have put the name of my key in bold. It is right next to the email I used to generate the key.

So on my system, to setup pass, I would use "pass init default".
 
Threads merged

Wizard
 


Follow Linux.org

Members online

No members online now.

Top