I have few GnuPG keys: test, test2, some test. When I invoke
gpg --fingerprint test
, fingerprints of all keys are listed. When I run gpg --fingerprint test2
, only test2 key fingerprint is printed. How can I list fingerprint only for key named test?
From the GnuPG manual page
--fingerprint [=names=]
List all keys with their fingerprints. This is the same output as--list-keys
but with the additional output of a line with the fingerprint. May also be combined with--list-sigs
or--check-sigs
. If this command is given twice, the fingerprints of all secondary keys are listed too.