[xmlsec] signing failure with 0.0.13 that work with 0.0.10

Moultrie, Ferrell (ISSAtlanta) FMoultrie@iss.net
Tue, 18 Mar 2003 19:13:02 -0500


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2EDAC.4E9EF18F
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Aleksey:
  I've been using 0.0.10 successfully for a while now and decided to
upgrade to xmlsec 0.0.13 prior to upgrading to openssl 0.9.7a. In runing
one of my tests however using the xmlsec utility, I'm getting a failure
that doesn't occur with the exact same input on 0.0.10. Did you tighten
up the spec on something or has a bug slipped in here? The XML I'm
signing is attached and the output of the 0.0.13 xmlsec is below.
Everything else I've tried (verification only) works just fine with
0.0.13. This is the only signing test I have so I don't know how
specific the failure is. Any ideas what is up?
Thanks!
  Ferrell

---------------------
xmlsec sign --node-xpath //Contact[1] --privkey
cert/kl6cakey.pem,cert/kl6cert.pem --print-openssl-errors --output
new-signed.xml test-signed.xml
Enter PEM pass phrase:
***************
 (d:\xmlsec-0.0.13\src\xmldsig.c:772): error 23: invalid node :
Signature
Error: xmlSecDSigGenerate() failed
Error: operation failed
3292:error:B9000017:xmlsec routines:xmlsec routines:invalid
node:d:\xmlsec-0.0.13\src\xmldsig.c:772:
---------------------


------_=_NextPart_001_01C2EDAC.4E9EF18F
Content-Type: text/xml;
	name="test-signed.xml"
Content-Transfer-Encoding: base64
Content-Description: test-signed.xml
Content-Disposition: attachment;
	filename="test-signed.xml"

PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48S2V5cyBTb3VyY2U9IkF0bGFu
dGEiPjwhLS0gZ2VuZXJhdGVkIFRlc3RLZXkga2V5Z2VuIC0tPjxDb250YWN0cz48Q29udGFjdCBJ
ZD0iZjZiMWFmNTItMGJhOC0xMWQ3LTg3ZWMtYzNjMDM0ZTRhZTZhIj4NCjxWZXJzaW9uPjEuMDwv
VmVyc2lvbj48T0NOPjE3NTQ0MTAxPC9PQ04+PFRp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