Hello,
I have fallowed the tutorial from this page for encrypt and decrypt http://users.dcc.uchile.cl/~pcamacho/tutorial/web/xmlsec/xmlsec.html Also used the keys/certificates provided by this tutorial Command to encrypt: xmlsec encrypt --pubkey-pem keysncerts/pub-userkey.pem --session-key des-192 --xml-data doc-plain.xml --output doc-encrypted.xml session-key-template.xml Command for decrypt: xmlsec1 decrypt --privkey-pem keysncerts/userkey.pem doc=encrypted.xml and I get this error : Entity: line 2: parser error : internal error <Name>John Smith</Name> ^ func=xmlSecReplaceNodeBufferAndReturn:file=xmltree.c:line=573:obj=unknown:subj=xmlParseInNodeContext:error=5:libxml2 library function failed:Failed to parse content func=xmlSecEncCtxDecrypt:file=xmlenc.c:line=648:obj=unknown:subj=xmlSecReplaceNodeBuffer:error=1:xmlsec library function failed:node=EncryptedData Thanks , Ionut
_______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
