-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 08/19/2013 06:10 PM, Patrick Brunschwig wrote:
> I just come from finishing my analysis. The problem is that 
> otherRandomHeaders doesn't seem to work - it breaks something in
> the TB function that opens the message composition window.
> 
> However, here is an alternative: instead of setting 
> otherRandomHeaders, you can set the field draftId. If you set it
> to something starting with "enigmail:" you're certain that the mail
> will be from some Enigmail functionality, as this is a special
> URL.
> 
> This way, you  even go a step further. Let's assume you set draftId
> to this: "enigmail:send-encrypted-signed-key/0x12345678"
> 
> Then you can tell the message composition window to attach the key 
> 0x12345678, and set the encryption flags directly during the
> opening process of message composition. You don't even need to
> create the attachment separately and attach it to the message
> before you open the window.
> 
> You'll need to modify composeOpen() to check for 
> gMsgCompose.compFields.draftId and then act accordingly.

Whew. Okay, I'll look into that, but at the moment, I do not really
have enough time to work on big changes to the code like that. On the
plus side, moving the code to the composeOpen()-Function should enable
me to re-use the code you use when selecting OpenPGP => Attach Public Key.

The Group I worked with will probably meet again some time soon, and
on that date at the latest, I will work on finishing up this feature
and, if I have enough time, work on some further ideas we had.

Thank you for your continued help in this matter.

Max
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJSEkWdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4NEM0ODA5N0EzQUY3RDU1MTg5QTc3QUMx
NjlGOTYyNDM0MDg4MjVFAAoJEBafliQ0CIJeIX8QAJOgLdrmSEkHEUvLOM57jDaV
IUMCTI9om4pdvv8Q4sv4Q0CxPaKYsv32WpL19CI7i3o9S9Viyr2hN8oROOd8BDK9
241cbFKP3P+C+anGBzEzwoA9ftLq06ltCCAZX9Az9hgqlOLXreEFZPk9614Xumak
XWlTikcXYOYwO/Xb2+xPUbUpg556CdhQ8LL1M9AadVE2ZYmSeddAt72ZFDSuy4gA
DM5mlcsa8X+RUtly4NrrBGDBC7FVfEjIGiZ0Xh1n9TgH5Ky2UGnn+BeTsibfVOrF
ICmpjl11PUUgJwqcMT4552Q7hN5RMyDuXfOhanDzoWOhMmpTbzkAhnKEsusly9da
niU6nUkvez/n41ibl5KQMyTQDhQwCyqPXwX9uLKXuxAFVgSqfEdlq0EH9DYLgx6W
WDigyUU+ETIPS2otlH5MzLPaX6cmHmRiO7lJAv7jotN/KQNiJnJXC5hm3ez633gP
nT526sem4S0LvOEF9PIvcRbPoW9SsG8OHe2j3ep7Er4TxdQV7FOQTmFRZlF5dUTP
LfNWqbr+1SU10AY5UVMkOyvvPFeXXPU/8RMw5UMzmsw0m59LS2ypw9IgeVxt/Sxm
4WM68uhG8CryWRJGF7FtTT2wfqordbXWrnEA7q9vVucN3qeuD87929/5DnEkNGi6
Jo66vh/WDgtCvHdtHlL2
=c8o5
-----END PGP SIGNATURE-----

_______________________________________________
enigmail-users mailing list
[email protected]
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to