Tool for armored key examination

Adrian 'Dagurashibanipal' von Bidder avbidder at fortytwo.ch
Wed Jan 21 12:38:46 CET 2004


On Wednesday 21 January 2004 10:59, Nicolas Duboc wrote:
>    Hi all,
>
>  Is there a way to examine a key available in a file without importing
> it in a keyring ?
>
>  I would like to see what exactly is in the armored key I exported from
> my keyring.

Hi,

Just pipe the key into gpg, without specifying --import:

~$ gpg < web/gpg/92082481 
pub  1024D/92082481 2002-02-22 Adrian von Bidder <avbidder at fortytwo.ch>
uid                            [jpeg image of size 1956]
sub  1024g/08C279D8 2002-02-22  [expires: 2012-02-20]
sub  1024D/BDDF997A 2002-08-21  [expires: 2007-08-20]
sub  1024D/E5A7F7D6 2002-08-22  [expires: 2007-08-21]


If you're interested in a more detailed (and more technical) view: use gpg 
--list-packets. (I warned you: it is really a very technical view of the 
key...)

cheers
-- vbi

-- 
featured product: vim - http://vim.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 331 bytes
Desc: signature
Url : /pipermail/attachments/20040121/c12bdad8/attachment.bin


More information about the Gnupg-users mailing list