Fingerprints and Key-IDs - Was: [PATCH] avoid publishing the GnuPG version by default

ilf ilf at
Mon Aug 8 10:21:16 CEST 2016

Ben McGinnes:
> but also because the current full fingerprint output format (the 
> default in 2.1) does not include any fingerprint or key ID data to 
> identify subkeys.

This can be achieved by using "--fingerprint" twice.

man gpg2(1):
> If this command is given twice, the fingerprints of all secondary keys 
> are listed too.

gpg (GnuPG) 2.1.14:
> % gpg --options /dev/null --fingerprint --fingerprint --list-keys DB4724E6FA4286C92B4E55C4321E4E2373590E5D 
> pub   rsa4096 2012-07-28 [SC]
>       DB47 24E6 FA42 86C9 2B4E  55C4 321E 4E23 7359 0E5D 
> uid           [ unknown] Ben McGinnes <ben at>
> uid           [ unknown] <adversary at>
> uid           [ unknown] Ben McGinnes <ben.mcginnes at>
> uid           [ unknown] Ben McGinnes (backup email address) <benmcginnes at>
> sub   rsa3072 2012-07-28 [S]
>       B7F0 FE75 9387 430D D0C5  8BDB 7FF2 D371 35C7 553C 
> sub   elg4096 2012-07-28 [E]
>       9CBE F6B7 E0DF 72CF 9100  9AA5 C98B AA18 62E4 484D

Ben McGinnes:
> It's also why I've still got keyid-format 0xLONG in my gpg.conf.

You can also add "fingerprint" twice into gpg.conf.


Über 80 Millionen Deutsche benutzen keine Konsole. Klick dich nicht weg!
		-- Eine Initiative des Bundesamtes für Tastaturbenutzung
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: </pipermail/attachments/20160808/8aa2e920/attachment.sig>

More information about the Gnupg-devel mailing list