[Botan-devel] PKCS8

Alex Castillo acr_korn at yahoo.com
Tue Dec 16 10:56:45 EST 2008


Actually, it should be:


D:\Descargas>openssl pkcs8 -inform DER  -in aaa010101aaa_CSD_01.key
Enter Password:
-----BEGIN RSA PRIVATE KEY-----
MIICXgIBAAKBgQDpmiW1q9gyzCFtMcbaFDJexk2IpLoTdNXg4ToGRZ/f+hIjmj3N
6ODWX1ARNFGYocEHf113GpW5Oe/mj6UqhBpiH4JRTNR4Udb8myJTArIlODynVHuI
UuyhKo7gbMbDdXjilTAYY2XWQuQ7aDtWwntUmNg4vAC/F3OtRz3+y9wM5QIDAQAB
AoGAfNkHomqvZ6a1jrh1wIPez8xID+mKEW/2BvQYoNWBNqFeJG0A7xWxZKEYF7nQ
ijSZB7rIZylsL8yJLL5E1c44koc+2+S6OF6gcWujcLR5UFRIZscxo0e1ro30wSTy
MBcdBeWASbaEy7+7MF46W0hAhBE7b49JUmduz1fBjtNNeoECQQD3VbNAsbf/90Vw
ZVexUXWNquwPsAZjmdpL1Te1RdC5txj2EbUdDPaaYC1cCXXjblf9rsyyViUowsNt
cnh92wSRAkEA8clIHObESiZZEndtmYuRlgLsX2Gr/qo30uAUurH7p8Q07SWOZCJk
OPJUhh2qanYZsnsOYHW+9Br5U6gDknxdFQJBALoua9nWLdDjnQTHdKSI0jmLIVmJ
wrV1GgsdfGrbHAzAlGye1bwBhxycK2jtwi0qYdgXngTcreop+hxIIAV1OdECQQC7
v7rZhnBhy8lax5Y5puEUBY0au7Nc+zyB6TLvjgmGSpt2krUxGGuOtM3hnuOX68Ek
kN2nFYeD8fYtecfcVenJAkEAxM+QzoVdJpw1/ijh+IfZ5eNhvMK2bj4De+/2Sx5K
ZZ9SiI7bRaOjBfvaI7AkeH0LpihURW12Zt7hZv8kC058Jg==
-----END RSA PRIVATE KEY-----

_______________________________
I'm free, I use GNU/Linux.
Close your Windows, Open your mind.


--- El mar 16-dic-08, Rickard Bondesson <Rickard.Bondesson at iis.se> escribió:

> De:: Rickard Bondesson <Rickard.Bondesson at iis.se>
> Asunto: [Botan-devel]  PKCS8
> A: "Botan development list" <botan-devel at randombit.net>
> Fecha: martes, 16 diciembre, 2008, 1:47 am
> > 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_______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel


      ¡Todo sobre Amor y Sexo!
La guía completa para tu vida en Mujer de Hoy.                       
http://mx.mujer.yahoo.com/



More information about the botan-devel mailing list