[Enigmail] official protocol for external helper program

Patrick Brunschwig patrick at mozilla-enigmail.org
Fri Dec 21 02:46:22 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrzej Filip wrote:
> Patrick Brunschwig wrote:
>> Andrzej Filip wrote:
>>> Patrick Brunschwig wrote:
>>>> Andrzej Filip wrote:
>>>>> Is there any chance for enigmail to support some official protocol for
>>>>> messages signing/encrypting and verification of message signature?
>>>>> I have asked for support of "X-PGP-Sig:" but I will be happy to use more
>>>>> general solution.
>>>>> [e.g. execute external program, feed it XML via its stdin, read XML it
>>>>> produces via stdout and error/report via stderr.
>>>> There are a few add-ons for Mozilla available that deal in general with
>>>> reading/writing complete messages (i.e. incl. headers), however AFAIK
>>>> there is none that would offer a generic interface to just feed data to
>>>> stdout and read something from stdin. The main problem is that this is a
>>>> particularly difficult task to do in Thunderbird, and only very few
>>>> people know how to do it at all.
>>>> -Patrick
>>> Is there another "communication protocol/method" better fitted to
>>> Thunderbird architecture/limitations?
>> No, there isn't. There is no limitation of Thunderbird in this area, the
>> problem is just that creating an extension for tasks like the one you
>> would like to accomplish is difficult, and thus so far only a few people
>> dared to make the effort.
> 
>> -Patrick
> 
> So you have asked for one more final (re)try. :-)
> 
> On my installation I can filter/rewrite messages before Thunderbird has
> a chance to see them. Is there any "after rewriting format" that can
> make Thunderbird capable to display x-pgp-sig "verified OK"/"broken
> signature"?
> 
> [ x-pgp-sig sign  signs message body (usually text/plain) and a few
> chosen headers.

If you can do it completely externally, you could inject a header
telling the status of the signature verification. Then you could display
the additional header by adding your new header to the preference
"mailnews.headers.extraExpandedHeaders" (with about:config).

- -Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBR2uZfncOpHodsOiwAQLDJAgAtr6rUAKePxxZpadJ9ifIy4rzQoE8alQK
M3zQU9DF5RqS9BJ+zn0Gv70lRQmRQW/HJLhAE7dryp+9DqSeymVDIuzDzeV3YSZH
3u0JqJ9Bg/1tv3lW/BiHatz9HEFZfG9MZQBUR6VNvb5aAHGj0ZCmWsDlIUB5TFQu
z3s3Dk8IS96rGYQtfV+9QhyuumcjQp9jlzxJtKIjMzEPBZ0BC/oGeRgyMhBY12SU
S/WRv8rxtBJq03BvLyDnGLucoNP6BW84928ZGP7p6qMqeKWT5/0bSwhkqhwmN2W/
zqD4wuF1Pz3EHu2BiCWGUZUM969jUdCoTbD2CbF3bEx7UeYaChm5ag==
=FCV2
-----END PGP SIGNATURE-----


More information about the Enigmail mailing list