I had a problem where a signature breaks because of line breaks.
(this shouldn't fail, but I'm using an external service that I can't change)
The solution is found here:
https://www.aleksey.com/pipermail/xmlsec/2010/008921.html
For testing I added this in function PyXmlSec_Init (main.c):
xmlSecBase64SetDefaultLineSize(0);
and added this include
#include <xmlsec/base64.h>
This works for me.
Maybe this could be an option in python-xmlsec?
I had a problem where a signature breaks because of line breaks.
(this shouldn't fail, but I'm using an external service that I can't change)
The solution is found here:
https://www.aleksey.com/pipermail/xmlsec/2010/008921.html
For testing I added this in function
PyXmlSec_Init(main.c):xmlSecBase64SetDefaultLineSize(0);and added this include
#include <xmlsec/base64.h>This works for me.
Maybe this could be an option in python-xmlsec?