The file test-pem-crypt.pkcs8 was created with libgnutls, with the
function gnutls_x509_privkey_export_pkcs8:
gnutls_x509_privkey_export_pkcs8 (key, GNUTLS_X509_FMT_PEM, "lalalala",
GNUTLS_PKCS_USE_PKCS12_3DES, buffer,
&buffer_len)
"key" is a private DSA key, also generated with libgnutls.
The file test-pem-crypt2048.pkcs8 was created with certtool, with the
command options:
certtool -8 -p > test-pem-crypt2048.pkcs8
The other files were created with openssl, importing test-pem-crypt.pkcs8 and exporting it into other formats.
>> Could anyone help me? Is the problem in the PKCS8 files, in my test