[gnutls-help] openpgp and gnutls_privkey_import_openpgp

Petr Vanek petr at yarpen.cz
Fri May 31 12:12:40 CEST 2013


On 05/31/2013 11:53 AM, Nikos Mavrogiannopoulos wrote:
> On Fri, May 31, 2013 at 11:31 AM, Petr Vanek <petr at yarpen.cz> wrote:
>
>> it's a testing key generated by gpg itself. Pub and priv ASCII exports
>> attached (it's safe it's really testing only key).
>> Is there any way how to verify the key, please?
>> Anyway - thanks for crash fix. Now I'm getting GNUTLS_E_INVALID_REQUEST
>> error.
> I think then the issue is that this is an encrypted key. Encrypted
> openpgp keys are not supported. You need to export it without a
> password in order to use it with the gnutls functions.

ah thanks!

It works when I remove a password from the priv key by gpg.

Nikos, just a question - how hard would be to add this (password
protected key parsing) feature to gnutls? Where is the place where to
start investigation: gnutls or nettle?

thanks,
p.




More information about the Gnutls-help mailing list