[fwd] Re: PGP/MIME implementors: text mode vs. binary mode? (from: hal@finney.org)

Taral taral at taral.net
Thu Feb 15 17:59:00 CET 2001


On Thu, Feb 15, 2001 at 08:57:56AM +0100, Thomas Roessler wrote:
> What's your point here?  Do you really say that MIME headers
> shouldn't be included, because it's a valid transformation to change
> a body part's content-type?

I'm saying that the Content-Transfer-Encoding header should not be
included, and the data should be the original 8bit data (pre-CTE). For
example:

-----
Content-Type: application/pdf

<pdf data here>
-----

would be hashed, whereas;

-----
Content-Type: application/pdf
Content-Length: ...
Content-Transfer-Encoding: base64

<base64 encoded pdf data here>
-----

would be the actual subpart placed in the email. Note that
Content-Length is NOT hashed.

-- 
Taral <taral at taral.net>
Please use PGP/GPG to send me mail.
"Never ascribe to malice what can as easily be put down to stupidity."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 248 bytes
Desc: not available
Url : /pipermail/attachments/20010215/cd98686b/attachment.bin


More information about the Gnupg-devel mailing list