Kai Engert wrote:
> I'm interested to get this feature in.
Cool!
> I'm not sure whether I'll able to do it (alone), but at least I want to
> learn how much work it would be for me.
>
> As I have not yet read the Mozilla source code I'd appreciate some ideas
> on how to start:
> - which modules / source files should I read to learn where I should
> add the code?
Mailnews.
A few months ago, I posted to these groups about PGP integration in
Mozilla, but I tried to be protocol-independant, so most of it would be
applicable for you, too. I think, it gives a good overview over the
things to do. Feel free to followup to that thread.
> - are there already empty stubs or a "message handling plugin
> architecture"
> which I should use?
Yes. libmime is the MIME handler and parses Mailnews msg bodies. It has
stubs for signed/encrypted msgs, as you can see if you read such a msg
in Mozilla (you'll see a notice in the body).
As this code has been migrated from 4.x, there are MACRO references in
the form of L_XXXX, where XXXX is alphanum., which I believe hook up to
crypto code, which was never reactivated. If you ask nicely, maybe
Netscape release it now. Dunno, if it would be useful.
BTW: IIRC, you can see similar references is several parts of the
Mozilla, but I don't remember where else.
Adding .mail-news to ccs.