After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633629 - Replying to GPG encrypted messages sent by Thunderbird includes non-decrypted text as citation.
Replying to GPG encrypted messages sent by Thunderbird includes non-decrypted...
Status: RESOLVED DUPLICATE of bug 436914
Product: evolution
Classification: Applications
Component: Mailer
2.32.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[gpg]
Depends on:
Blocks:
 
 
Reported: 2010-10-31 13:02 UTC by Paul Menzel
Modified: 2010-12-13 12:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2010-10-31 13:02:25 UTC
Replying to encrypted message sent by

    Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

and earlier (since at least 3.1.1) does include the *encrypted* text as the citation into the message compose window for the reply.

Selecting the text in the original message and then hitting reply correctly includes the decrypted text. It also works fine with messages sent by Evolution.

The message body of the problematic message looks like the following.

	-----BEGIN PGP MESSAGE-----
	Charset: UTF-8
	Version: GnuPG v2.0.14 (MingW32)

	[…]
	-----END PGP MESSAGE-----

The messages sent from Evolution are structured as follows.

	--=-L6B/tWudbQmgwsugkozn
	Content-Type: application/pgp-encrypted
	Content-Transfer-Encoding: 7bit

	Version: 1

	--=-L6B/tWudbQmgwsugkozn
	Content-Type: application/octet-stream; name="encrypted.asc"
	Content-Description: Dies ist ein digital
	 =?ISO-8859-1?Q?verschl=FCsselter?= Nachrichtenteil
	Content-Transfer-Encoding: 7bit

	-----BEGIN PGP MESSAGE-----
	Version: GnuPG v1.4.10 (GNU/Linux)

	[…]
	-----END PGP MESSAGE-----

	--=-L6B/tWudbQmgwsugkozn--

I am using Debian Sid/unstable with Evolution 2.30.3-3 which has some GPG related upstream patches backported [1].


[1] http://packages.debian.org/changelogs/pool/main/e/evolution/evolution_2.30.3-3/changelog#versionversion2.30.3-3
Comment 1 Paul Menzel 2010-11-01 11:41:19 UTC
I just wanted to add that another symptom of this problem is that replying to messages sent from Thunderbird, the field to encrypt the response is not checked. It works again fine with messages sent from Evolution.
Comment 2 Milan Crha 2010-12-08 16:05:06 UTC
Thanks for a bug report. I think I didn't get this completely. What are you reporting here, is it:

When replying to a PGP encrypted message created from thunderbird, Evolution:
a) doesn't decrypt the body, so the quoted text is raw PGP message
b) the Options->PGP Encrypt is not checked
?

It seems that Thunderbird is using inline PGP messages, where Evolution uses PGP MIME (I think it's called that way). There was a fix within bug #630295, which I see is yours and you seem to have it included. Could you also attach here a Thunderbird message encrypted to me (my bugzilla mail, GPG key with ID F3C36A0D), for testing, please?
Comment 3 Paul Menzel 2010-12-08 17:35:20 UTC
(In reply to comment #2)
> Thanks for a bug report. I think I didn't get this completely. What are you
> reporting here, is it:
> 
> When replying to a PGP encrypted message created from thunderbird, Evolution:
> a) doesn't decrypt the body, so the quoted text is raw PGP message

Correct. That is when replying. I can read the message in my inbox, i. e., it is decrypted correctly. But when I reply the citation is the raw PGP message.

> b) the Options->PGP Encrypt is not checked
> ?

Exactly.

> It seems that Thunderbird is using inline PGP messages, where Evolution uses
> PGP MIME (I think it's called that way). There was a fix within bug #630295,
> which I see is yours and you seem to have it included. Could you also attach
> here a Thunderbird message encrypted to me (my bugzilla mail, GPG key with ID
> F3C36A0D), for testing, please?

I will send you a problematic message.
Comment 4 Milan Crha 2010-12-09 09:59:35 UTC
Thanks for a message. I suppose you sent it as an attachment from evolution, because replaying to the message as received worked fine, even the attachment was removed, but the message body was as expected. I changed  the content to similar as in the attachment (as I do not have the private key of it then I couldn't use it as is), and it exhibits exactly what you are describing, the message is shown properly in the preview, but replying to it quotes raw gpg data.

I've a feeling there is a bug report about it already, some older. Nonetheless, I'm confirming this.
Comment 5 Milan Crha 2010-12-13 12:27:02 UTC

*** This bug has been marked as a duplicate of bug 436914 ***