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


_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to