[openpgp] Re: ecosystem split: text-mode signatures over C R-only line endings
Tim Bray <[email protected]> Wed, 22 Oct 2025 09:09:24 -0700
| Newsgroups | gmane.ietf.openpgp |
|---|---|
| Message-ID | <CAHBU6itRqhjsMADx_Z2FbPrXxHsR1mCFwGW+RJqNzR39GF7FUw@mail.gmail.com> |
On Oct 22, 2025 at 8:49:20 AM, Daniel Kahn Gillmor <[email protected]> wrote: > On Wed 2025-10-15 17:28:38 -0400, Daniel Kahn Gillmor wrote: > > So i think the following question is what we need to answer: > > > - is `\r` (CR) on its own a "line-ending" that needs to be converted to > > CRLF when signing in text mode? > > > It also occurs to me that line-ending normalization might behave > differently with the same source code on different systems, depending on > how normalization is done. > Yeah, XML has been doing this since 1998 - each of \n, \r, \r\n, and \n\r MUST be normalized by the parser into a single \n. It’s worked well. -T _______________________________________________ openpgp mailing list -- [email protected] To unsubscribe send an email to [email protected]