[xmlsec] Error "libxml2 library function failed:expr=xpointer"
Aleksey Sanin
aleksey at aleksey.com
Thu Apr 23 08:31:37 PDT 2015
Please check the FAQ http://www.aleksey.com/xmlsec/faq.html
Aleksey
On 4/23/15 6:56 AM, Florent wrote:
> Hello,
>
> When running the command
>
> xmlsec1 --verify /tmp/saml-payload.xml
>
> I get the following error:
>
> func=xmlSecXPathDataExecute:file=xpath.c:line=273:obj=unknown:subj=xmlXPtrEval:error=5:libxml2
> library function
> failed:expr=xpointer(id('_16f38644-6274-4ed9-b616-dfec0ba7f160'))
> func=xmlSecXPathDataListExecute:file=xpath.c:line=373:obj=unknown:subj=xmlSecXPathDataExecute:error=1:xmlsec
> library function failed:
> func=xmlSecTransformXPathExecute:file=xpath.c:line=483:obj=xpointer:subj=xmlSecXPathDataExecute:error=1:xmlsec
> library function failed:
> func=xmlSecTransformDefaultPushXml:file=transforms.c:line=2405:obj=xpointer:subj=xmlSecTransformExecute:error=1:xmlsec
> library function failed:
> func=xmlSecTransformCtxXmlExecute:file=transforms.c:line=1236:obj=unknown:subj=xmlSecTransformPushXml:error=1:xmlsec
> library function failed:transform=xpointer
> func=xmlSecTransformCtxExecute:file=transforms.c:line=1296:obj=unknown:subj=xmlSecTransformCtxXmlExecute:error=1:xmlsec
> library function failed:
> func=xmlSecDSigReferenceCtxProcessNode:file=xmldsig.c:line=1571: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:subj=xmlSecDSigCtxProcessSignedInfoNode:error=1:xmlsec
> library function failed:
> func=xmlSecDSigCtxVerify:file=xmldsig.c:line=366:obj=unknown:subj=xmlSecDSigCtxSignatureProcessNode:error=1:xmlsec
> library function failed:
> Error: signature failed
> ERROR
> SignedInfo References (ok/all): 0/1
> Manifests References (ok/all): 0/0
> Error: failed to verify file "/tmp/saml-payload.xml"
>
> Here is the saml-payload.xml file:
> http://pastebin.com/raw.php?i=irxdfPsj
> (I've formatted it and edited some values in the pasted file)
>
> I can't see why I get this error
> libxml2 library function
> failed:expr=xpointer(id('_16f38644-6274-4ed9-b616-dfec0ba7f160'))
> , even after reading the FAQ, any idea?
>
> Thanks!
>
More information about the xmlsec
mailing list