Open maicol07 opened 2 years ago
I can't repro your issue.
Also, I do not understand step 4 "Wait the pinentry timeout". There is no timeout. The dialog box asking for the password will infinitely wait. I waited 5 minutes and then pressed cancel.
I believe what "Wait the pinentry timeout" means to wait so that the gpg-agent no longer has the passphrase cached, this can be skipped by setting ttl to 0 in the gpg-agent settings for example.
I had a similar issue with the dialog appearing in the background from the second time it appears onward, but this seems to have be resolved with an update to Windows 11. [edit: ] I was wrong, the problem still sometimes occurs in Windows 11, though I can't seem to make it happen reliably.
Description
The prompt dialog starts in the background, behind the GUI application that calls GPG (editor/IDE). It's better if the dialog starts in the foreground
Setup
Steps to reproduce
Try to sign something with GPG, either from a terminal or IDE (I've tested this with Jetbrains IDEs and Windows Terminal). For example:
echo "test" | gpg --clearsign
Actual Result
The prompt dialog starts in the background
Expected Result
The prompt dialog starts in the foreground, above the window that calls GPG (editor/IDE).
Workarounds
None
GPG-agent log file