Hello everyone,

I just received a PGP encrypted message (multipart, pgp/mime) from an
Apple Mail user using GnuPG (just like me). When I click the security
icon to decrypt the message, TB opens a file requester and wants to save
the decrypted message to disk (which is not really what I expected).

For testing purposes, another person sent a pgp/mime encrypted message
(using Thunderbird), and it decrypts just fine, and is shown in the
message viewer (as expected).

I tested this with both "ye goode ol" 3.0.2.10 and 3.72.04 and both
versions show the same behaviour. The AppleMail user told me I'm the
first to report this, so I'm tempted to think its a TB issue... but I'm
not sure.

Further inspection of the message headers doesn't reveal any really
obvious clues (see below). Maybe someone with an insight into the
correct headers for this transport format can tell me if these are ok? I
reduced it to the relevant parts and removed all the received-by headers
etc. etc.

This is the problematic message where TB prompts me to save the msg to
disk after decrypting:


*** Applemail message, PGP related parts ***

Headers (notice the Content-Type header is all in one line):

 Mime-Version: 1.0 (Apple Message framework v746.3)
 Content-Transfer-Encoding: 7bit
 Content-Type: multipart/encrypted; protocol="application/pgp-encrypted"; 
boundary="Apple-Mail-4--523949663"
 X-Pgp-Agent: GPGMail 1.1.2 (Tiger)
 X-Gpgmail-State: !signed,mime
 X-Mailer: Apple Mail (2.746.3)

Body:

 --Apple-Mail-4--523949663
 content-type: application/pgp-encrypted
 content-transfer-encoding: 7bit
 content-description: PGP/MIME version identification

 Version: 1

 --Apple-Mail-4--523949663
 content-type: application/octet-stream; name="PGP.asc"
 content-transfer-encoding: 7bit
 content-description: OpenPGP encrypted message
 content-disposition: inline; filename="PGP.asc"

 -----BEGIN PGP MESSAGE-----
 Version: GnuPG v1.2.4 (Darwin)

 [...snipped...]

 -----END PGP MESSAGE-----

 --Apple-Mail-4--523949663--

*** End of Apple Mail message ***


This is the message that decrypts and is shown in TBs viewer:


*** Thunderbird message ***

Headers - the one apparent difference is that the "Content-Type" headers
entries are separated not only with ; as in the Apple Mail message, but
with linebreaks as well.

 User-Agent: Thunderbird 1.5 (Windows/20051201)
 MIME-Version: 1.0
 X-Enigmail-Version: 0.93.0.0
 Content-Type: multipart/encrypted;
  protocol="application/pgp-encrypted";
  boundary="------------enig072FDFC8D255176760A57B78"

 --------------enig072FDFC8D255176760A57B78
 Content-Type: application/pgp-encrypted
 Content-Description: PGP/MIME version identification

 Version: 1

 --------------enig072FDFC8D255176760A57B78
 Content-Type: application/octet-stream; name="encrypted.asc"
 Content-Description: OpenPGP encrypted message
 Content-Disposition: inline; filename="encrypted.asc"

 -----BEGIN PGP MESSAGE-----
 Version: GnuPG v1.4.2 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 [...snipped...]

 -----END PGP MESSAGE-----

 --------------enig072FDFC8D255176760A57B78--

*** end Thunderbird message ***

So... is this a TB bug or an Apple Mail bug?

Oh and btw.: Cookiedence! :-)


-- 
Best regards,
 Alexander (http://www.neurowerx.de - ICQ 238153981)

A child of five could understand this. Fetch me a child of five. --
Groucho Marx


________________________________________________________
 Current beta is 3.72.04 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html
IMPORTANT: To register as a Beta tester, use this link first -
http://www.ritlabs.com/en/partners/testers/

Reply via email to