ietf-openpgp
[Top] [All Lists]

Re: Clearsigned messages and MIME

2002-05-02 05:15:36

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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? I think most 
implementations will only recognize clearsigning on text/plain body parts. 
Probably other text subtypes, too.

For text, this is what KMail does:
- - apply charset encoding to obtain 8bit text
- - clearsign with --textmode
- - put the result into a text/lpain body part
- - apply CTE, if any.

Marc


- -- 
Marc Mutz <mutz(_at_)kde(_dot_)org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE80S3U3oWD+L2/6DgRAvNOAKDzlwaQaWaWvWYH3k+IUv8WrrnX5gCg6M2s
lZQoMIblAnA17QEvlukvQrM=
=ON5U
-----END PGP SIGNATURE-----


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