nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] base64 and text parts


From: Ken Hornstein
Subject: Re: [Nmh-workers] base64 and text parts
Date: Sun, 20 Oct 2013 01:36:08 -0400

>On Sat, 19 Oct 2013 23:33:31 -0400, address@hidden writes:
>>I admit being insufficently caffienated at the moment to know whether
>>this would break S/MIME or PGP, but ISTR that the signatures are done
>>over a canonical CR/LF. 
>
>that's correct; see rfc3156, section 5. 
>https://www.rfc-editor.org/rfc/rfc3156.txt

I will note that RFC only applies to PGP, but it doesn't really matter
because if you dig around enough you'll find that CR/LF is defined as
canonical line ending for text.

>indeed - and i'd go a bit further: if nmh encounters a mail that's
>multipart/signed or multipart/encrypted, then it has to leave the whole
>thing untouched. (see also section 3 or the above rfc)

I'm not sure I follow that from that section of RFC 3156.  But note that
email stored in MH mailboxes are _not_ in canonical format; they get converted
to Unix format along the way (either by inc or someone else before inc gets
to it).  So it's worth noting that we're going to have to be careful when
it comes to canonicalization.

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]