OK guys, here is the story with mscrypto: with Igor's 1.2.13 binaries and simple xmlsec.exe command line on Win XP SP2 - openssl sign with .p12 - OK - mscrypto sign with <dsig:KeyName>Shallow, Ed</dsig:KeyName> - OK - mscrypto sign with <dsig:KeyName>Adam Grossman</dsig:KeyName> - OK
with Igor's 1.2.18 unicode=yes binaries and simple xmlsec.exe command line on Win XP SP2 - openssl sign with .p12 - OK - mscrypto sign with <dsig:KeyName>Shallow, Ed</dsig:KeyName> - key is not found - mscrypto sign with <dsig:KeyName>Adam Grossman</dsig:KeyName> - OK with Igor's 1.2.13 unicode=no binaries and simple xmlsec.exe command line on Win XP SP2 - openssl sign with .p12 - crash - mscrypto sign with <dsig:KeyName>Shallow, Ed</dsig:KeyName> - key is not found - mscrypto sign with <dsig:KeyName>Adam Grossman</dsig:KeyName> - key is not found - numerous other crashes Given that Igor's compile and link process and resultant binaries are used throughout the above tests. it is clear that the mscrypto code somewhere after 1.2.13 has introduced the error. Not sure exactly where, but simple certificate search in mscrypto is now broken. Other regressions have also been introduced. Is anyone else having more success with mscrypto after 1.2.15 ? Here is the output for the "key is not found" error C:\XMLSec>xmlsec sign --crypto mscrypto --output inout/edsigned-enveloped.xml tmpl/tmpl-EPM-sign-enveloped.xml func=xmlSecKeysMngrGetKey:file=..\src\keys.c:line=1370:obj=unknown:subj=xmlSecKeysMngrFindKey:error=1:xmlsec library function failed: ;last error=-2146885628 (0x80092004);last error msg =Cannot find object or property. func=xmlSecDSigCtxProcessKeyInfoNode:file=..\src\xmldsig.c:line=871:obj=unknown:subj=unknown:error=45:key is not found: ;last error=-2146885628 (0x80092004);last error msg=Cannot find o bject or property. func=xmlSecDSigCtxProcessSignatureNode:file=..\src\xmldsig.c:line=565:obj=unknown:subj=xmlSecDSigCtxProcessKeyInfoNode:error=1:xmlsec library function failed: ;last error=-2146885628 (0 x80092004);last error msg=Cannot find object or property. func=xmlSecDSigCtxSign:file=..\src\xmldsig.c:line=303:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec library function failed: ;last error=-2146885628 (0x80092004);las t error msg=Cannot find object or property. Error: signature failed Error: failed to sign file "tmpl/tmpl-EPM-sign-enveloped.xml" -- Ed's Contact Information: Mobile Phone: 613-852-6410 Gmail: [email protected] VOIP Address: [email protected] VOIP DID#: 613-458-5004 Skype ID: edward.shallow Home Phone: 613-482-2090
_______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
