Please review the following message with FireGPG's "Check for PGP blocks in page" option OFF as FireGPG will otherwise catch all the PGP message parts and tend to obscure the discussion.
I have the following problem:
I am using Firefox on Ubuntu accessing a Outlook Web Access site. Using FireGPG I can generally encrypt and decrypt emails OK. However, for any emails received by users using IE through the same site, I get in-line failures to decrypt:
Decryption failed. Unknown error.
yyyyy...yyyy\n
gpg: invalid armor header:
gpg: CRC error; 0F5926 - 2D90E0
gpg: [don't know]: invalid packet (ctb=4b)
The reason seems to be that FireGPG is failing to in-line interpret/render the message HTML properly. For example, without FireGPG ([OFF] Check for PGP blocks in page), a message of this type renders as follows (Example 1):
-----BEGIN PGP MESSAGE-----
Version: PGP Desktop 9.10.0 (Build 500)
Charset: utf-8
xxxxx...xxxxx
yyyyy...yyyyy
blah more lines of encryption...
-----END PGP MESSAGE-----
With FireGPG ([ON] Check for PGP blocks in page), when I "display original", the message renders (Example 2):
-----BEGIN PGP MESSAGE-----
Version: PGP Desktop 9.10.0 (Build 500)
Charset: utf-8xxxxx...xxxxx
yyyyy...yyyyy
blah more lines of encryption...
-----END PGP MESSAGE-----
As you can see, then first line of the encryption is merged with the previous comment line.
If I select the text of Example 1 and use FireGPG's text editor to decrypt the message, all is well. However, Example 2 will not decrypt in-line or with the text editor and gives the above error. If I use the text editor, I can edit Example 2 by adding the proper line feed before the first encrypted character and all is well.
This tends to defeat the very excellent in-line decryption that work well with other messages.
Looking at the HTML code, I see that it seems to be a <div> rendering problem:
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">-----BEGIN PGP MESSAGE-----<br>
Version: PGP Desktop 9.10.0 (Build 500)<br>
Charset: utf-8</font></div>
<div dir="ltr"><font color="#000000" size="2" face="Tahoma"><font color="#000000" size="2" face="Tahoma">xxxxx...</font>...xxxxx<br>
yyyyy...yyyyy<br>
blah more lines of encryption...<br>
-----END PGP MESSAGE-----<br>
</font></div>
While IE/OWA "may" be constructing the email wrong, Firefox does display the message correctly without FireGPG.
Please fix.