[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    Re: Scripts
From:       Werner Koch <wk () gnupg ! org>
Date:       2012-05-24 14:06:19
Message-ID: 87boldoeqs.fsf () vigenere ! g10code ! de
[Download RAW message or body]

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


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic