-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 17.08.13 19:53, Max Maass wrote: > On 08/17/2013 07:30 PM, Patrick Brunschwig wrote: >>> Do you see any glaring problems with that idea? Technically, I >>> assume I have to use encryptAttachment from enigmail.js to >>> encrypt the attachment before attaching it. > >> This would certainly work, but I'd say it would be a lot easier >> to use PGP/MIME. > The reason I am not using that is that I know that the "normal" > (inline PGP) method is always possible, just like attaching > encrypted files or detached signatures is always possible and > works. PGP/MIME may look better, but it may result in weird > behaviour with some clients, or so I've heard. So, I'm staying on > the safe side and use the regular method.
[...] > So, which method would you prefer to see implemented? If > X-Enigmail-Draft-Status can be used to make the client encrypt the > mail (I assume by setting it to "nsIEnigmail.SEND_ENCRYPTED"?), > the whole Inline vs PGP/MIME-Debate can be avoided by just using > the users preferences, so it's probably best to use that. I'd say go ahead using X-Enigmail-Draft-Status and leave it up to the user to decide for inline-PGP vs. PGP/MIME. And yes, you'll need to set it to nsIEnigmail.SEND_ENCRYPTED. But looking at the code, I think you also need to add functionality to enable encrypted messages (see getMsgPropertiesCb). - -Patrick -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEVAwUBUhCeNck25cDiHiw+AQhktwf9FRVwM6CMwWkVe3ISSH8USKsBAzPzODg+ kuS06i4vni5c/OzjH+ecJn6qODZZSJ+6wlkpra5s2dA/CGTEFD8iapC1jlI+J3Rb NKgxfjnhWXH5JjB/NqR9cja423aE0zCD/patwgBeS607MmPPIyQ9ZS2o5oBnFbVg /hRCK4AWL7wplUCCOiTh1xyWZPdZU8ShhMIedTzcE2nZ23HgGQgKh+5lxxGZfu/g ZawzDwt2fVOy4cL8Nrnpcia1fAwtkSEpM+y4v7TgxuBW6G169Q+/ytfw5Ah1bQAt ZBLK7O97X26QIFTs+laq48mIT7ubJ4PtOwrkodF8jL8fU9rDMQzRHg== =qYOG -----END PGP SIGNATURE----- _______________________________________________ enigmail-users mailing list [email protected] https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
