[gnutls-dev] [PATCH] Fixing OpenPGP keyring import (again)

Timo Schulz twoaday at gmx.net
Mon May 14 10:47:02 CEST 2007


Ludovic Courtès wrote:

> I was (presumably) able to create one with:
> 
>   $ gpg --keyring ./openpgp-keyring.gpg --export -a > t
> 
> But then `gpg' was unable to show me its contents:
> 
>   $ gpg --keyring ./t -a --list-keys
>   gpg: [don't know]: invalid packet (ctb=2d)
>   gpg: keydb_search_next failed: invalid packet

To make sure I understand you. You try to check than an
armored key file is correctly formatted and contains
valid openpgp keys?

We should either write a small helper program or a handy
function.


	Timo




More information about the Gnutls-devel mailing list