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

Re: Clearsigned messages and MIME



Marc Mutz <mutz@xxxxxxx> writes:

> On Wednesday 01 May 2002 12:35, Florian Weimer wrote:
>> How does one implement it correctly?  Add the signatures after
>> generating the actual octet stream, and then apply a suitable
>> Content-Transfer-Encoding afterwards?
>
> octet-stream? Do you want to clearsign binary data?

Sort of, yes.

> I think most implementations will only recognize clearsigning on
> text/plain body parts.  Probably other text subtypes, too.

Already with some ISO 8859 variants, text might look light random
binary garbage to the casual reader. ;-)

> For text, this is what KMail does:
> - apply charset encoding to obtain 8bit text

This results in an octet stream (in contrast to a sequence of
characters).

> - clearsign with --textmode
> - put the result into a text/lpain body part
> - apply CTE, if any.

I see.  Gnus will do the same, in the future.

-- 
Florian Weimer 	                  Weimer@xxxxxxxxxxxxxxxxxxxxx
University of Stuttgart           http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT                          +49-711-685-5973/fax +49-711-685-5898