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

Timo Schulz twoaday at gmx.net
Mon May 14 22:24:31 CEST 2007


Ludovic Courtès wrote:

> can be imported.  It would be nice to augment the test so that it checks
> whether ASCII-armored keyrings can be imported as well (i.e., passing
> `GNUTLS_OPENPGP_FMT_BASE64' to `gnutls_openpgp_keyring_import ()').

Actually we do not need an armored keyring, just a file with armored
keys. The GnuTLS openpgp support makes no real difference between
a key file and keyring. It's only important that the file contains a
sequence of openpgp packets which form a valid key {public or private}.

Because keyrings formats are not described in the openpgp message
format. It's up to the implementation to define a suitable format.
But, as Werner pointed out, transferable keys needs to follow the
openpgp format.


	Timo




More information about the Gnutls-devel mailing list