[xmlsec] Canonicalization problem?
Roumen Petrov
xmlsec at roumenpetrov.info
Fri Aug 29 01:47:06 PDT 2003
current version is 1.1.1. please update. I cannot see this problem in
current.
Johannes Kjos wrote:
>Hello!
>I'm using xmlsec 0.0.15 and have a problem using the LF/NL and CR entities
>in xmlfiles used for enveloped-signature.
>
>Eks:
><tag> Some text!</tag>
>
>- looks like this in XEmacs after signing:
><tag>^M
>Some text</tag>
>
>
>OK, as far as I understand this is the canonicalization procedure which
>replace the enities with ASCII LF/NL. The problem is, the signed file will
>not be verified. Isn't that a bit strange, the canonicalization takes place
>before any digest is made, and the binary representation will be the same in
>"both ends"(when making digest before signing and before verifying)?...
>
>However if I drop the CR sign the ^M sign is gone and the signed file
>verifies.
>
>Any thoughts on what's wrong?
>
>Regards,
>Johannes
>
>
>
>_______________________________________________
>xmlsec mailing list
>xmlsec at aleksey.com
>http://www.aleksey.com/mailman/listinfo/xmlsec
>
>
>
>
More information about the xmlsec
mailing list