Mariano wrote: > I am having problems when verifying a signature produced with > crypto.signtext() in Firefox. The data is coming inside a textarea in the > HTML. It has several line breaks. When passing the to signtext(), the String > reads line breaks as one byte LF (0x13 ASCII). However, the original data has > CRLF line breaks, so signature verification fails. > > Does anyone know why Javascript/Crypto takes line breaks as single byte LF > instead of CRLF?
IIRC and IINM, the present implementation of crypto.signtext was contributed by a person who has no ongoing involvement with NSS or PSM. So, that code is more or less an orphan. It needs someone who will debug it. Volunteers? _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto