Topic: firegpg + gmail can't decrypt some email

firegpg can tell that this email was sent with a good signature, and it claims to decrypt it.  However, it does not show any text.  I can save the gpg data into a file and decrypt it with command-line gpg just fine.

Using firegpg 0.7.5, firefox 3.0.7, and gpg 1.4.9, all on fedora 10 i386.

I can decrypt email created with firegpg (sending an encrypted message to myself).  The only difference that jumps out between one sent to myself and the problem email is the header "Content-Disposition: inline"

Let me know if you need any other information :)

Here is the problem email:



Delivered-To: jpwigan@gmail.com
Received: by 10.231.36.75 with SMTP id s11cs133077ibd;
        Sat, 4 Apr 2009 03:37:59 -0700 (PDT)
Received: by 10.210.71.12 with SMTP id t12mr1649608eba.83.1238841477850;
        Sat, 04 Apr 2009 03:37:57 -0700 (PDT)
Return-Path: <tom@tomaw.net>
Received: from mextli.tomaw.net (mextli.tomaw.net [87.106.70.106])
        by mx.google.com with ESMTP id 1si3232049ewy.29.2009.04.04.03.37.57;
        Sat, 04 Apr 2009 03:37:57 -0700 (PDT)
Received-SPF: pass (google.com: best guess record for domain of tom@tomaw.net designates 87.106.70.106 as permitted sender) client-ip=87.106.70.106;
Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of tom@tomaw.net designates 87.106.70.106 as permitted sender) smtp.mail=tom@tomaw.net
Received: from tlaloc.tomaw.net ([212.159.101.181] ident=tom)
    by mextli.tomaw.net with smtp (Exim 4.69)
    (envelope-from <tom@tomaw.net>)
    id 1Lq3G7-0006AY-Nl; Sat, 04 Apr 2009 11:37:56 +0100
Received: by tlaloc.tomaw.net (sSMTP sendmail emulation); Sat, 04 Apr 2009 11:37:55 +0100
Date: Sat, 4 Apr 2009 11:37:55 +0100
From: Tom Wesley <tom@tomaw.net>
To: Patrick Wiggins <jpwigan@gmail.com>
Cc: tor@freenode.net
Subject: Re: your mail
Message-ID: <20090404103755.GC8368@tlaloc.tomaw.net>
References: <139fd82d0903200806y24c9ba34u7c5a6bf78c6093ed@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/encrypted; protocol="application/pgp-encrypted";
    boundary="uXxzq0nDebZQVNAZ"
Content-Disposition: inline
In-Reply-To: <139fd82d0903200806y24c9ba34u7c5a6bf78c6093ed@mail.gmail.com>
User-Agent: Mutt/1.5.18 (2008-05-17)


--uXxzq0nDebZQVNAZ
Content-Type: application/pgp-encrypted
Content-Disposition: attachment

Version: 1

--uXxzq0nDebZQVNAZ
Content-Type: application/octet-stream
Content-Disposition: inline; filename="msg.asc"

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

hQIOA7iNMpCtoO8cEAf/TZF/Uz1vjzhFgCHhzZ7A36HIF0pRK0iUgMM9eKpwVPTe
kK4TTrUd77zxm5R0yL+uihUk9l/xEAiNk4by0HPgoPQL3c09PpjxZgFS+LRyErU3
9+CrUzGtHw1Ey+zVhHCGUG7R6JrEXkCgi7+R5HruToIQRrJfcD1/IU+Leb0jsgNk
/yNT34Y6XxbdJYmO8+zIdID3rF5vqXbzHnE4yzshmvRySymeKLrS4aSZS7/jDqGb
MoRGIYqdC5YhEUBlqEQU7y0v/53nV4cV/TYrQeWtmIntD6KSALC7V/RVdbQ2mTMe
YKJcvX89UGVQBP+sd/qHs+3TDEgZzdFBHnQJho+pbwf/aolotArMjE3+9BNuInM4
+laHVNC1qqA+NmNAaNLfOyq5t5cb6nTAWTlspH/7C6yW/CquJd6d3tQwtDpi1JYw
rkyOqcXL0Tsx0eTt3EeIyzi+ABNEzBKMMBMozjqP95XK2bb7W0TMPJUuQ1dtofVZ
nXirKEzWK2nMnNmvXhp1KHuZ+ilsHHMDvNZaQxp+bIvD+C67Utin1Fy6qBNb3fqj
VvFKEOoAGw1T/LLgOasWXfQx8SZWFz6wQaXFMfuFLgpmaLCQCQEFKJqiHLzO2+w3
9q8Hwr+PkUpWbLT4FtPZg3rD2xbj3MWQTydfkukPYBD8NDPUmSq7AUFd+Yq8S+3o
QIUEDgNX0LJpFyWrwhAQAJ/sA2KxiSGYa96gZk8kJJa/aFLbceBx+PHLT5mDGDHG
2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kISu9lZDXFFRlBp449Zqv0aK2LBG0/FOrHVC4yYIslLjQODVo
yKPYV3IEKxV13PyJRaHqez0i72mZr1zvym+aydAirqqVa4izsSm0aFQL51RmnJoV
U2OZ/vHltK2KXFpBfX7uJtzXqb9MW1Oi27nkeryhCaV6hWKh/4BH0kQClmgpdacv
d7/DoFQ2jCf/xV1k3CWe3q2qPymleDjEDQjQQ4MzuPQlqN2meVtNYZmDmSHwGXI6
L15SUUCaWPbVe/trHovJeLAnDj+08XTSPvM3XESeNffgHtLBCAHBcZhRl9RcFWoP
Fbgiud5pPdmf1pJxqorZorgiDlu5qjF02lhEN81nmvkkt+cg3uh6+8UOG2aOnjlU
1BkWLS1L/B2JfZcY0xg/5UgUGmDT5a23zxuBTtkhCfKV25T2OZe1s9adYMTs6UBf
ZtfvUELCWa/h0dZF0rU23hd6CyfsQMKpE2/Gsy4OyT7gGJrX85t+Ar7pyV9qejfq
Kc8J+5uV/m0NRG4r4dGCvzSmdlNH5Dkef9YOgIuZCfBzhZpHZd9qGS7wa2EET9dA
ob6DMF1hT0Qx9ZBz4qLwJnCgJomMcBEJD0wdBS02R5WsSWYZKxclknCSFWYeEiQi
HyrNmCTk0Te3uy2UxoOC3ez8YiExyrbqfVBHL1QRhSE0pYWYBcdvV97DRWIpclIW
kRoGWbgzNKV7stkrT+S+r8HfmQDEcubQ+8k28IxJ7S6nke9n+t/RGTOWhN7/TGHO
IGf30iii6YqBtaUHoGu8Ny1TqO032VfDbdpuNAqS2SfpbZ6+0pJ4ixF6FYXCE5PA
nS0bwA5zeRSSwf8bPbb1/0STMMtC9EsdsOD974dqiuq8GY80z8KR4YBPWRxaLGot
lnCCw3seoJBta75dzQ==
=HZSS
-----END PGP MESSAGE-----

--uXxzq0nDebZQVNAZ--

Re: firegpg + gmail can't decrypt some email

I just noticed that firegpg can successfully decrypt the message in the copy of the email posted here.  So, it's definitely a problem in the gmail interface specifically.

Re: firegpg + gmail can't decrypt some email

http://bugs.getfiregpg.org to report bugs please...

Re: firegpg + gmail can't decrypt some email

You bet.  At first glance this looked like the bug reporting vector.  Sorry for the noise here!

Re: firegpg + gmail can't decrypt some email

Please check the bug, it's works for me..

Re: firegpg + gmail can't decrypt some email

Hello,

I'm not sure it is done in purpose, but firegpg decrypt or confirm signature of emails (using gmail) only it the email is set as "unread" before opening it.

So the first time it works fine (firegpg decrypts the gmail email directly) but if I go back to this email later, I see it directly undecrypted (I see it as if there is not firegpg plugin,  (I see BEGIN PGP MESSAGE and so on).
I order to decrypt message in easy way, I found that I can put message "as unread" (still with gmail), and then re-open it. In that case, firegpg decrypt it as it should.

Using Ubuntu9.04 ( gpg already installed : (GnuPG) 1.4.9) and Firefox 3.0.11

Best regards
LouiZo

Update:
If I have a message that is not decrypted (because I already read it before, so it is not marked as "unread") , and do a "reply" on it, then it is decrypted by firegpg (I can see decrypted message above, but I still have the crypted message BEGIN PGP MESSSAGE on my reply text...)

Last edited by louizo (2009-07-19 21:15:15)

Re: firegpg + gmail can't decrypt some email

Hi,

Yep, I saw this bug already, it's will be fixed with the next release wink