FireGPG Report

Henry Hertz Hobbit hhhobbit at
Fri Jun 22 10:56:03 CEST 2007

Hash: SHA512


Here is the information on FireGPG which primarily does
INLINE rather than OpenPGP/MIME encryption and signing:

FireGPG works well for  INLINE encrypting and decrypting.
You can use FireGPG to send / receive GnuPG encrypted
messages.  Further, despite them focusing on using
GMail it, FireGPG will also work in sending and receiving
encrypted messages with AOL / Netscape, HotMail, and Yahoo
WebMail services.  Read on ONLY if you want to help with
the Signing (also INLINE) which has problems.

I have done some extensive testing of FireGPG.  Here are the
results of the tests (the files will be there until the end
of the present month):

SHA1 sums of files:
- -------------------

Basically, I had no ends of grief in signing.  That was both
in sending and verifying.  I was using FireGPG 0.3.3 to do
the tests.  The commands used to do the signing in
are the same as they were in 0.3.3.  The main changes from
0.3.3. to are localization. I can't see anything that
they are doing wrong. Here is the main portion of the signing

putIntoFile(tmpPASS, password); // DON'T MOVE THIS LINE !
try { runCommand(tmpRun,
   '' + this.getGPGCommand() + '' +  " " + tmpStdOut +
   " --quiet --no-tty --no-verbose --status-fd 1 --armor --batch" +
   " --default-key " + keyID +
   " --output " + tmpOutput +
   " --passphrase-file " + tmpPASS + "" +
           getGPGCommentArgument() + getGPGAgentArgument() +
   " --clearsign " + tmpInput); } catch (e) { }
removeFile(tmpPASS);  // DON'T MOVE THIS LINE !

You can find the plugin on 'nix with:

$ find ~/.mozilla/firefox -type f -name firegpg.jar -print

After you copy the file some place else and unzip it using unzip
or your choice of zip program, the files containing the commands

content/cgpglin.js	Linux / Unix  (all tests done w. Linux)
content/cgpgwin.js	Windows

I don't like closed sections so, I changed the VIM directives
at the end of the file using MicroEMACS to:

// vim:ai:sw=4:ts=4:

Your mileage will vary, and if you don't use VIM, it won't
matter.  After that change in all the files I used vim to look
at the files.

The baseline was Thunderbird where all messages signed in
Thunderbird verified in Thunderbird, and all messages encrypted
in Thunderbird decrypted in Thunderbird.

In all WebMail services signing, verifying, encrypting and
decrypting, were always done by selecting the text and then
doing a ^C despite X copying automatically.  But it seemed
to make no difference whether I did that or not.

SIGNING /VERIFYING can only be INLINE. But the results are all
over the wall and you can't trust them! The snatching of the text
is fine, but I suspect that after the message is signed, the webmail
mucks around with the spacing characters or plays around with
some hidden characters.  But if it was hidden characters I could
never see them in the file after saving from Evolution which makes
no attempt to interpret INLINE signed or encrypted messages or other
strange extended characters. All of my tests were done with line
lengths of approximately 64 characters to make sure I didn't have
forced wraps, but I think I got a few of them anyway, primarily with
HotMail. I don't think there is anything that they can do about
the signing failure but if the rest of you can look at the code
maybe you can deduce what is going wrong.  I couldn't deduce a pattern
of when it worked and when it failed for me to try to zero in on what
was going wrong.  It was extremely exasperating to get one result on
the command line and a different one in the WebMail or Thunderbird
I saved the message from.  I shifted to SHA1 for some additional
tests with signing and it made NO DIFFERENCE.  Results were still
all over the wall.  I didn't save those tests.

ENCRYPTION is INLINE but it ALWAYS worked for me!  If you are using
Mac's Mail App, Evolution, or some other mail client that only
understands OpenPGP/MIME encryption, then you will have to save
the message to a file and decrypt it manually.  I was able to get
FireGPG to decrypt on OpenPGP/MIME encrypted message from Thunderbird
but it only did it once so I would stick with INLINE.

WARNINGS:  Always be sure to clean your buffer cache after using
FireGPG.  Do a Tools -> Clear Private Data in both closing the
browser and the next time you open the browser. The authors are
native French speakers (one lives in Morocco) so if you want to
converse with them individually by all means shift to Francais
and they will appreciate it and you will get much faster results


Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


More information about the Gnupg-users mailing list