GPG does not output the key IDs by default

Wanted to start signing my mails and my git commits with my newly minted sub key. But when I did a

gpg2 --list-keys

I could not see the key ids to add to my git nor to my muttrc. After some searching around I found this nifty gpg argument that gave me what I wanted.

gpg2 --keyid-format LONG --list-keys

The LONG stands for the 16 character ID. And alternatively you can also define short for the 8 character one.

About joelgranados

I'm fascinated with how technology and science impact our reality and am drawn to leverage them in order to increase the potential of human activity.
This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

Leave a comment