gpg in windows hanging rarely

Ray Satiro raysatiro at yahoo.com
Sun Nov 26 09:05:25 CET 2017


On 11/26/2017 1:26 AM, Ray Satiro wrote:
> I'm using gpg and I notice rarely I will run a command and it will just
> hang. What could be the reasons for that? The two commands I've noticed
> it happening are --import and --delete-keys. I've noticed it in my
> regular key database and was able to reproduce it once when I set
> GNUPGHOME to an empty directory to make a new database (unfortunately I
> did not have the foresight to run --debug-all at that time).
>
> gpg (GnuPG) 2.2.1
> libgcrypt 1.8.1
>
> In an attempt to coax out the hang I imported in a loop a few thousand
> times, but it didn't hang.
>
> cd foo
> set GNUPGHOME=.
>
> then I run a batch file ..\a.bat that does the loop:
>
> :restart
> gpg --debug-all --import c:\fedora.gpg
> rm -rf *
> goto restart
>
> One thing I did notice was I ended up with a number of gpg-agent
> processes that did not immediately terminate. After a minute they did
> though. I also notice there's 4 gpg-agent processes still running from
> earlier in the day.

https://dev.gnupg.org/T3378 might be it. Let me know if I can be of any
assistance.




More information about the Gnupg-users mailing list