On 26.11.18 11:50, Werner Koch wrote: > On Mon, 26 Nov 2018 09:48, patr...@enigmail.net said: > >> its focus. In other words, Enigmail does not ask you for your passphrase >> - that's fully controlled by GnuPG. > > Not really. For security reasons Windows has strict rules on which > process can put itself into the focus. Enigmail needs to tell Pinentry, > via gpg, that it may take the focus and request input. This is > implemented by a callback mechanism all the way from Pinentry, via > gpg-agent and gpg up to the calling process (Thunderbird here). > > In the case of Enigmail, it needs to call AllowSetForegroundWindow with > the process handle of the just created gpg process. In turn, gpg > detects the Pinentry launch and calls AllowSetForegroundWindow on the > Process handle of the started Pinentry. Only then then Pinentry may > display itself. Further, when calling AllowSetForegroundWindow the > process must have its Window already in the foregorund.
Thanks for the hint - I wasn't aware of that. I'll try to add this to Enigmail. -Patrick
signature.asc
Description: OpenPGP digital signature
_______________________________________________ enigmail-users mailing list enigmail-users@enigmail.net To unsubscribe or make changes to your subscription click here: https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net