[xmlsec] xmlsec win32 binary, openssl 0.9.8a and... pyopenssl
giankopelle at yahoo.it
Sun Jan 23 06:12:11 PST 2011
I'm developing a python tool that should run both on *unix and Windows systems and it depends on pyOpenSSL and xmlsec.
I'm trying to port it under Windows and the issue I'm facing with is that both pyOpenSSL and xmlsec depends on an OpenSSL library and:
1) pyOpenSSL doesn't work with OpenSSL 0.9.8a released by Igor Zlatkovic. The error reported is:
ImportError: DDL load failed: The operating system cannot run %1
OpenSSL DLLs have been copied in c:\windows\system32\ to be system-wide available (at least I think it works in this way)
If I install DLLs available here http://www.slproweb.com/products/Win32OpenSSL.html it works perfectly.
This seems to be a python related problem, I know this is not a python mailing list however I'm reporting that just to give you the overall problem.
2) xmlsec for Win32 (compiled by Igor) apparently works only both with OpenSSL 0.9.8a Igor is sharing and the one released by slproweb.com (0.9.8q and 1.0.0c). I just said 'apparently', in fact, in the latter case, whenever I try to sign an XML file using a pem private key it silently crashes under cygwin or I get a crash report dialog box under cmd.exe (The OS is Vista). This doesn't happen with OpenSSL 0.9.8a.
If you think it could be helpful I could give it a try with a debugger to see what's going wrong.
However, the point is that there's no way to have both things working with the same version/release of OpenSSL for Win32.
More information about the xmlsec