Fingerprint of the subkey just created?

vedaal at nym.hush.com vedaal at nym.hush.com
Thu Apr 4 23:36:46 CEST 2013


Daniel Kahn Gillmor dkg at fifthhorseman.net
wrote on Thu Apr 4 22:56:50 CEST 2013 :

>gpg will emit the fingerprints for the subkeys if you supply the
--fingerprint argument twice.  So you might try parsing the output of:

 gpg --list-keys --with-colons --fingerprint --fingerprint
--fixed-list-mode $PGPID

-----

It's even enough to just do:

gpg --fingerprint --fingerprint

and gnupg will list the keys and subkeys each with their short id followed by a line
Key fingerprint  with the fingerprint


vedaal




More information about the Gnupg-users mailing list