[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnutls] gnutls_x509_privkey_export_pkcs8 failure with GNUTLS_PKCS_
From: |
Florian Weimer |
Subject: |
[Help-gnutls] gnutls_x509_privkey_export_pkcs8 failure with GNUTLS_PKCS_USE_PBES2_3DES |
Date: |
Mon, 03 Sep 2007 17:44:00 +0200 |
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?
--
Florian Weimer <address@hidden>
BFK edv-consulting GmbH http://www.bfk.de/
Kriegsstraße 100 tel: +49-721-96201-1
D-76133 Karlsruhe fax: +49-721-96201-99
- [Help-gnutls] gnutls_x509_privkey_export_pkcs8 failure with GNUTLS_PKCS_USE_PBES2_3DES,
Florian Weimer <=