Skip to content

Option to avoid line breaks in base64 (xmlSecBase64SetDefaultLineSize) #95

@ghost

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions