[Help-gnutls] Failure to import an OpenPGP private key

Ludovic Courtès ludovic.courtes at laas.fr
Thu Oct 26 17:02:31 CEST 2006


Hi,

I tried importing the ASCII-armored OpenPGP secret key available under
`src/openpgp/sec.asc' as follows:

  err = gnutls_openpgp_privkey_import (privkey, &key_content,
				       GNUTLS_OPENPGP_FMT_BASE64,
				       "" /* empty passphrase */,
				       0 /* flags? */);

It systematically returns `GNUTLS_E_OPENPGP_GETKEY_FAILED'.  This is
actually the exact same problem that I reported a while back [0].  Could
you please comment on this?

Thanks in advance,
Ludovic.

PS: This time I'm using 1.4.4 from Debian unstable.

[0] http://lists.gnu.org/archive/html/help-gnutls/2006-08/msg00011.html






More information about the Gnutls-help mailing list