Wanted to start signing my mails and my git commits with my newly minted sub key. But when I did a
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
LONG stands for the 16 character ID. And alternatively you can also define
short for the 8 character one.