Werner Koch wk at
Thu May 24 16:06:19 CEST 2012

On Thu, 24 May 2012 14:04, tanguy.herrmann at 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}'

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.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list