> However this is just "\n". The RFC defines a CRLF as "\r\n":
> 
> https://www.ietf.org/rfc/rfc2045.txt
> 
> It looks like a bug...but would like some feedback from others more familiar
> with the RFC.

The RFC seems pretty clear, and unlike some specs, XML Sig is pretty explicit 
about referencing it.

The C++ library delegates base64 to the cryptographic libraries, and I don't 
know offhand what OpenSSL does by default.

Most base64 decoders are very liberal about accepting anything re: whitespace, 
obviously. But if you're going to fix this, I would allow some time for people 
to test it.

-- Scott

Reply via email to