ietf-openpgp
[Top] [All Lists]

Re: Clearsigned messages and MIME

2002-05-02 13:12:49

Marc Mutz <mutz(_at_)kde(_dot_)org> 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(_at_)CERT(_dot_)Uni-Stuttgart(_dot_)DE
University of Stuttgart           http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT                          +49-711-685-5973/fax +49-711-685-5898

<Prev in Thread] Current Thread [Next in Thread>