S/MIME support was recently added to mozilla. look at how that was done (start by looking at mozilla/mailnews/extensions/smime). The compose UI is done using overlays and XPCOM tricks.
The only hacked in part was to the mime back end. We'd (the mailnews owners) would be receptive to similar changes to mime for PGP, if they followed the way S/MIME hacked into mime. But it might not be trivial. see http://bugzilla.mozilla.org/show_bug.cgi?id=74157, and the bugs it depends on for additional information about the S/MIME extension. I don't know how http://enigma.mozdev.org works, so I can't comment I do know how the NAI PGP plugin works, and it was not done right. I'm so tired of hearing about it. For some out of date discussions on that, see http://www.mozilla.org/mailnews/compose_send_plugin_arch_notes.html and http://www.mozilla.org/mailnews/mozmail-5-23-log.html. I'll update http://www.mozilla.org/mailnews/arch/index.html to point to some documents about how the S/MIME extension was implemented. -Seth Ben Bucksch wrote: > Vibhor Chowdhary wrote: > >> I'm working on a pgp plugin for mozilla mail for a college project. >> once its >> comeplete i want to release as a plugin for everyone out there. >> >> I was wondering where I can start or get information. I have some >> ideas on >> what needs to be done, but if anyone has ideas or functionality, >> please let >> me know. >> > NAI, the owners of PGP, created a plugin some time ago, which looks > good to me. Unfortunately, it has been rejected. > > <http://bugzilla.mozilla.org/show_bug.cgi?id=22687 >
