[xmlsec] bugfixes for mscrypto support

Aleksey Sanin aleksey at aleksey.com
Wed Sep 17 13:17:50 PDT 2003

Same here:

    [aleksey at lsh 01-phaos-xmlenc-3]$ openssl pkcs8 -in rsa-priv-key.der 
-inform DER
    Error reading key
    24652:error:0D06B08E:asn1 encoding routines:ASN1_d2i_bio:not enough 
    [aleksey at lsh tests]$

I thought that I might have corrupted the file when I've checked it into 
CVS but I have similar
errors when I've downloaded this file from XMLEnc interop page:


Thus, I have no idea what to do with this file.

However, I don;t think we use this file! At some point, when XMLSec was 
young and did not
have all the features that it has today, I have converted all phaos keys 
from PKCS8/PKCS12
formats to "01-phaos-xmlenc-3/keys.xml" file.


Wouter wrote:

>I'm trying to import the rsa private key (rsa-priv-key.der) found in
>tests\01-phaos-xmlenc-3 with openssl, just via openssl command line
>tool. However I keep getting errors, all related to bad file format. The
>file is supposed to be in pkcs8 format, however openssl doesn't eat it,
>I've tried several different options... My openssl experience isn't very
>high... Anybody any tips what I'm missing here?

More information about the xmlsec mailing list