How can I get the fingerprint or key id of the subkey I just created?
When the process is completed, it lists *all* of the subkeys. How can I
reliably identify the one I just created?
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
On 04/04/13 18:01, Jack Bates wrote:
How can I get the fingerprint or key id of the subkey I just created?
A subkey doesn't really have a fingerprint, AFAIK. You use fingerprints to
identify/verify a key as a whole, which means the primary key.
I tried the following:
$ gpg2 --status-fd 0
On 04/04/2013 04:19 PM, Peter Lebbing wrote:
On 04/04/13 18:01, Jack Bates wrote:
How can I get the fingerprint or key id of the subkey I just created?
A subkey doesn't really have a fingerprint, AFAIK. You use fingerprints to
identify/verify a key as a whole, which means the primary key.
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