Re: how to remove XML linebreaks from signatures

2018-02-28 Thread Colm O hEigeartaigh
FYI I've decided to add a way of disabling line breaks in BASE-64 output: https://issues.apache.org/jira/browse/SANTUARIO-482 Colm. On Mon, Feb 26, 2018 at 11:33 AM, Colm O hEigeartaigh wrote: > Have you tried just using the latest CXF 3.1.x instead? That uses the > "old"

Re: how to remove XML linebreaks from signatures

2018-02-26 Thread Colm O hEigeartaigh
Have you tried just using the latest CXF 3.1.x instead? That uses the "old" signature line break functionality, and so you should be able to turn off the line breaks via either "org.apache.xml.security.ignoreLineBreaks" and/or "com.sun.org.apache.xml.internal.security.ignoreLineBreaks". Colm. On

Re: how to remove XML linebreaks from signatures

2018-02-23 Thread Guy Ridley
Hello Colm, Thank you for this explanation! It sounds like the system I'm sending to does not follow the current standards about line feeds in the Signature & Keyinfo tags, or perhaps their support team is just guessing about why it thinks I have threatening characters in the payload. Either

Re: how to remove XML linebreaks from signatures

2018-02-23 Thread Colm O hEigeartaigh
You can't remove line breaks any more in XML Signature for BASE-64 encoded content. This is because the spec says that: "The SignatureValue element contains the actual value of the digital signature; it is always encoded using base64 [RFC2045 ]. "