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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s