Scripts
Werner Koch
wk at gnupg.org
Thu May 24 16:06:19 CEST 2012
On Thu, 24 May 2012 14:04, tanguy.herrmann at gmail.com said:
> But for example, I don't know how to display only the fingerprint of a key
> without all the display around that I must grep/cut/sed away. But maybe I
$ gpg --fingerprint --with-colons 1e42b367 | awk -F: '$1=="fpr" {print $10}'
80615870F5BAD690333686D0F2AD85AC1E42B367
If you have more than one key with the given key id it will list all
fingerprints. Better scripts also display information from the pub and
uid records. doc/DETAILS has the format.
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-users
mailing list