-
I am trying to sign an XML document for use in a program which is closed source and I cannot change how it is written. Existing xml-signed files have all of the values for the on a single line. When I generate a signed document using xmlsec1 on Fedora linux, it is generating the file, but the is split across 3 lines with the line feed at the end. I believe that manually changing it to a single line will invalidate it when it does the check, so I’m trying to generate it from xmlsec1 without the line feed. So I am trying to see if there is a setting or a way I can get it to output into a single line. I am using RSA1024 Key Length For example, it is outputting with these line feeds: What I want is the output to look like: What can I do to prevent it from splitting across multiple lines because of the length of the string? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've added a command line option It will be included in the next release or you can build the xmlsec library and command line tool from master after I merge the PR shortly. |
Beta Was this translation helpful? Give feedback.
I've added a command line option
--base64-line-size
in PR #706 and you can set it to some very large value (e.g.--base64-line-size 123456789
) to disable line breaks.It will be included in the next release or you can build the xmlsec library and command line tool from master after I merge the PR shortly.