Re: libxmlsec1 unable to decrypt

Aleksey Sanin <[email protected]>
Newsgroups gmane.text.xml.xmlsec
Message-ID <[email protected]>
FAQ, section 3.2 if I recall correctly.

Aleksey

On 5/4/15 7:39 AM, Mukul Agrawal wrote:
> Hi Aleksey, 
> 
> I am trying to use python-saml which in turn uses xmlsec1 using
> Cython/lxml binding. The library throws following exception when the
> encrypted SAML Assertion is handed over for decryption.
> 
> xpath.c:273(xmlSecXPathDataExecute) subject=xmlXPtrEval
> msg=expr=xpointer(id('_bf4fe5b97a7cf4f18766fc20a44b8942')) errno=5
> 
> xpath.c:356(xmlSecXPathDataListExecute) subject=xmlSecXPathDataExecute
> 
> xpath.c:466(xmlSecTransformXPathExecute) obj=xpointer
> subject=xmlSecXPathDataExecute
> 
> transforms.c:2395(xmlSecTransformDefaultPushXml) obj=xpointer
> subject=xmlSecTransformExecute
> 
> transforms.c:1226(xmlSecTransformCtxXmlExecute)
> subject=xmlSecTransformPushXml msg=transform=xpointer
> 
> transforms.c:1286(xmlSecTransformCtxExecute)
> subject=xmlSecTransformCtxXmlExecute
> 
> keyinfo.c:1169(xmlSecKeyDataRetrievalMethodXmlRead) obj=retrieval-method
> subject=xmlSecTransformCtxExecute
> 
> keyinfo.c:114(xmlSecKeyInfoNodeRead) obj=retrieval-method
> subject=xmlSecKeyDataXmlRead msg=node=RetrievalMethod
> 
> keys.c:1349(xmlSecKeysMngrGetKey) subject=xmlSecKeyInfoNodeRead
> msg=node=KeyInfo
> 
> 
> xmlenc.c:957(xmlSecEncCtxEncDataNodeRead) errno=45
> 
> xmlenc.c:715(xmlSecEncCtxDecryptToBuffer)
> subject=xmlSecEncCtxEncDataNodeRead
> 
> xmlenc.c:623(xmlSecEncCtxDecrypt) subject=xmlSecEncCtxDecryptToBuffer
> 
> 
> I am on Ubuntu 12 with libxmlsec1* version 1.2.14-1.2build1. I have very
> limited idea of libxmlsec1 library and unable to find any information
> regarding this error anywhere. There are reasons for me to believe that
> the encrypted data is proper.
> 
> Let me know if you have any idea about the issue. Thanks in advance.
> 
> Regards
> Mukul Agrawal
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.