On Thu, 24 May 2012 14:04, [email protected] 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.
_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users