help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] Re: gnutls_x509_privkey_export_pkcs8 failure with GNUTLS_P


From: Simon Josefsson
Subject: [Help-gnutls] Re: gnutls_x509_privkey_export_pkcs8 failure with GNUTLS_PKCS_USE_PBES2_3DES
Date: Thu, 06 Sep 2007 13:49:25 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Florian Weimer <address@hidden> writes:

> The following call (which maps straight to the C API) fails with
> GNUTLS_E_ENCRYPTION_FAILED:
>
>     my $pkcs8 = $key->export_pkcs8(GNUTLS_X509_FMT_PEM, "huhu",
>                                    GNUTLS_PKCS_USE_PBES2_3DES);
>
> With the GNUTLS_PKCS_USE_PKCS12_3DES flag, it works.  Is a special
> format for the password required if the GNUTLS_PKCS_USE_PBES2_3DES
> mode is used?

No, I don't think so.  Maybe the PBES2 approach is buggy.  Could you
debug further why it fails?

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]