[xmlsec] xmlsec command line fail on Windows with crash

G. Ken Holman gkholman at CraneSoftwrights.com
Mon Nov 15 19:07:35 PST 2010


Attached is a renamed ZIP file with an example that when xmlsec is 
invoked it reports the expected correct examples and then triggers a 
Windows crash with the infamous "xmlsec.exe has encountered a problem 
and needs to close." dialogue box.

The creation of the detached signature used in this test also 
triggers a Windows crash.  Again, it happens after successfully 
creating the output.

The file extSigned2.xml is an XML document that has an enveloped 
signature inside.  The transformation in the detached signature 
ignores the subtree that contains the signatures.

The file detSigned.xml is the detached signature that I created with 
a key I obtained from a CA in Spain.

The file test.bat invokes the application with this (note the return code):

T:\xmlsecProblem>xmlsec --verify detSigned.xml
SignedInfo References (ok/all): 1/1
Manifests References (ok/all): 0/0

T:\xmlsecProblem>echo %errorlevel%


All of my other uses of xmlsec work without a crash:  creating and 
verifying enveloped signatures and creating and verifying detached 
signatures without a transform.

Please let me know if you have any questions.

Thank you for any help you can be determining the reason for the crashing.

. . . . . . . . . Ken

p.s. if anyone is curious, this is based on volunteer work being done 
digitally signing OASIS Universal Business Language (UBL) 
documents.  You can find draft committee documents regarding the 
signature work here in the "profiledocs/" subdirectory:


... and how I've packaged the use of xmlsec for UBL documents here:


Feedback is welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gkholman-xmlsec-20101116-0300z.zzz
Type: application/octet-stream
Size: 11444 bytes
Desc: not available
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20101115/8fe4d4f7/attachment.obj>
-------------- next part --------------

Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/m/
G. Ken Holman                 mailto:gkholman at CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

More information about the xmlsec mailing list