[xmlsec] Re: help is needed please. Thanks in advance.

Aleksey Sanin aleksey at aleksey.com
Sun Sep 28 21:49:01 PDT 2003


Well, it's a known issue and it was discussed on xmlsec mailing list 
many times.
The last time was last week :)

       http://www.aleksey.com/pipermail/xmlsec/2003/001527.html

(read on this is a long thread).

Breifly: Visa protocol breaks several XML specifications because 
"939..." could not
be an ID attribute. You may hack libxml2 and make it work. But I have no 
idea what
else woud you break and what kind of other security issues may show up.

Aleksey



Jason Coon wrote:

>ok,
>	I know I should not do this but I am desperate.  I am trying to verify this
>xml message with the root cert.  Yes this is VISA.  Anyway.  I get this
>message.  I have tried xmlsec1 and the examples and your online tool and
>everything I do I get this error also attaching DTD to declare node.  I
>think it is a bug though I can verify other types of xml signatures.  lo
>
>Sun solaris
>xmlsec1 1.1.1 (openssl)
>libxml2  20511
>OpenSSL 0.9.7b 10 Apr 2003
>
>Any Help would be appreciated.
>
>sincerally Jason Coon
>
>func=xmlSecXPathDataExecute:file=xpath.c:line=273:obj=unknown:subj=xmlXPtrEv
>al:error=5:libxml2 library function failed:expr=xpointer(id('939123509'))
>func=xmlSecXPathDataListExecute:file=xpath.c:line=356:obj=unknown:subj=xmlSe
>cXPathDataExecute:error=1:xmlsec library function failed:
>func=xmlSecTransformXPathExecute:file=xpath.c:line=466:obj=xpointer:subj=xml
>SecXPathDataExecute:error=1:xmlsec library function failed:
>func=xmlSecTransformDefaultPushXml:file=transforms.c:line=2332:obj=xpointer:
>subj=xmlSecTransformExecute:error=1:xmlsec library function failed:
>func=xmlSecTransformCtxXmlExecute:file=transforms.c:line=1168:obj=unknown:su
>bj=xmlSecTransformPushXml:error=1:xmlsec library function
>failed:transform=xpointer
>func=xmlSecTransformCtxExecute:file=transforms.c:line=1228:obj=unknown:subj=
>xmlSecTransformCtxXmlExecute:error=1:xmlsec library function failed:
>func=xmlSecDSigReferenceCtxProcessNode:file=xmldsig.c:line=1564:obj=unknown:
>subj=xmlSecTransformCtxExecute:error=1:xmlsec library function failed:
>func=xmlSecDSigCtxProcessSignedInfoNode:file=xmldsig.c:line=804:obj=unknown:
>subj=xmlSecDSigReferenceCtxProcessNode:error=1:xmlsec library function
>failed:node=Reference
>func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=547:obj=unknown:s
>ubj=xmlSecDSigCtxProcessSignedInfoNode:error=1:xmlsec library function
>failed:
>func=xmlSecDSigCtxVerify:file=xmldsig.c:line=366:obj=unknown:subj=xmlSecDSig
>CtxSigantureProcessNode:error=1:xmlsec library function failed:
>Error: signature verification failed
>
>
>
><ThreeDSecure><Message id="PAReq20030928111313"><PARes
>id="939123509"><version>1.0.2</version><Merchant
>  
>
>><acqBIN>11111111111</acqBIN><merID>12AB,cd/34-EF  -g,5/H-67</merID></Mercha
>>    
>>
>nt><Purchase><xid>MDAwMDAwM
>jAwMzA5MjgxMTEzMTM=</xid><date>20030928
>11:13:13</date><purchAmount>123456</purchAmount><currency>840</
>currency><exponent>2</exponent></Purchase><pan>0000000001000</pan><TX><time>
>20030928 16:12:46</time><st
>atus>Y</status><cavv>AAABBJg0VhI0VniQEjRWAAAAAAA=</cavv><eci>03</eci><cavvAl
>gorithm>1</cavvAlgorithm></
>TX></PARes><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo
>xmlns="http://www.w3.org/2
>000/09/xmldsig#"><CanonicalizationMethod
>Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></
>CanonicalizationMethod><SignatureMethod
>Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></Signat
>ureMethod><Reference URI="#939123509"><DigestMethod
>Algorithm="http://www.w3.org/2000/09/xmldsig#sha1">
></DigestMethod><DigestValue>qbtokjyh7AaUwsfV3NdOtYraVVY=</DigestValue></Refe
>rence></SignedInfo><Signatu
>reValue>kGlOMSgqHlKo2mU5dcrVz2XJgl+fyyAxEQ61pD8XPOmNBH0C80PbmvBnrKD6UkpfoUhc
>lCxL/zW/3RT1hTNY2pgf9FqSYAv
>xthEDpmKy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PCrSZk/59RXD+3+vYqukFL0FLfG2GFTA
>1c9YU94dqBovrmwbMP7HYN82PmQ
>tifzGMeS9d7znDx+AqlDU1eXCZMVdHSsz/qneP8LSydrMaU/RAgMBAAGjFjAUMBIGA1UdEwEB/wQ
>IMAYBAf8CAQEwDQYJKoZIhvcNAQ
>EFBQADgYEAZdRIyN/SSPQ3bLunDVKxanOLDiXfczxGMnQZWK47fQfWdbqqEINrcObagSw44Ba9pF
>Z796DXn5XPZOkLuhrgLSwVVVqkU
>WLeUaRPEFGDXQMk9XqrbCpivQix1Hr+9DgWWiqg0snC7JkD6rieQ8NIuj+bD83vnuhOW/nLEuLSf
>xk=</X509Certificate></X509
>Data></KeyInfo></Signature></Message></ThreeDSecure>
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20030928/1a65f4d9/attachment.htm


More information about the xmlsec mailing list