Examine a key file

Ingo Klöcker kloecker at kde.org
Wed Nov 24 21:48:47 CET 2010


On Wednesday 24 November 2010, Doug Barton wrote:
> On 11/15/2010 13:38, Ingo Klöcker wrote:
> > On Monday 15 November 2010, Robert J. Hansen wrote:
> >> On 11/15/2010 3:19 PM, Scott Lambdin wrote:
> >>>       If I have a base 64 exported PGP key, how can I extract the
> >>> 
> >>> descriptive data about the key without importing it?
> >> 
> >> Never tested it, but this should work (or come close to working):
> >> 
> >> gpg --dry-run -vvvv --import pubkey.asc
> > 
> > Way too complicated. :-)
> > 
> > The following is sufficient:
> > gpg -v<pubkey.asc
> 
> Are you sure?  Using gpg2 I just tested your command, and Robert's.
> His worked. :)

Yes, I'm sure. I did test my command. And I have just verified with a 
completely empty keyring that it also works for keys that are not 
already in the keyring.

FWIW,
# gpg --version
gpg (GnuPG) 2.0.12
libgcrypt 1.4.4


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20101124/cc1107cf/attachment-0001.pgp>


More information about the Gnupg-users mailing list