[Botan-devel] PKCS8

Rickard Bondesson Rickard.Bondesson at iis.se
Tue Dec 16 02:47:18 EST 2008


> The key is in DER format encrypted with 3DES. The key has 
> been created with OpenSSL. I'm attaching a certificate and 
> key samples so you can test it.

The key is not properly encoded according to:

openssl rsa -inform DER -text -in aaa010101aaa_CSD_01.key

unable to load Private Key
12547:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1294:
12547:error:0D06C03A:asn1 encoding routines:ASN1_D2I_EX_PRIMITIVE:nested asn1 error:tasn_dec.c:830:
12547:error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:tasn_dec.c:749:Field=version, Type=RSA
12547:error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib:d2i_pr.c:99:

// Rickard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 475 bytes
Desc: not available
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20081216/cf798cc7/attachment.sig>


More information about the botan-devel mailing list