I am using gpg4win with windows 11 and have an issue with starting up kleopatra. The first time I start it up,i get the message “loading certificate cache” and it can take at least 30 seconds to complete. Once it does load, it seems to be ok. I can even shutdown kleopatra from the task bar and it will re open right away without delay, however when I reboot the computer, the “loading certificate cache” delay happens again. I have one certificate and only use this for encrypting files on my pc. I tried another laptop and it experiences the same issue.
Related thread: Loading Certificate Cache
Hi solechisel,
which version of Gpg4win are you using?
Regarding the “loading certificate” issue we have introduced some changes aimed at avoiding deadlocks between competing gpg and gpgsm processes trying to connect to the gpg-agent.
So my advice is to update to Gpg4win 4.4.0 if you are not already on it.
Please report back if you already are on that version, then we’ll try to figure out the cause in your case.
I have tried both version 4.4.0 and the beta version 5.0.0 with the same results. I also don’t have s/mime setup.
OK, there is one observation which can be done easily:
Open a task manager before starting Kleopatra, and see what happens when you start Kleopatra.
There should - among other processes - be one gpg and one gpgsm process. But they should finish fast, if everything goes as planned.
My guess is that you see these 2 processes the whole loading time until some timeout kicks in after 30 seconds.
In that case try killing the gpgsm process (as you do not have S/MIME certificates to load, it won’t return anything anyway).
Does loading then finish immediately?
There are 4 processes with gpg when I start up Kleopatra. They are GnuPGs OpenPGP tool, GnuPGs private key daemon, GnuPG’s config tool and GnuPG’s X.509/CMS tool. Once everything is loaded the only process that remains is GnuPG’s private key daemon. Which process should I end?
If there is only the gpg-agent process remaining, you are fine.
Which of the other processes is running the full 30 seconds?
Do you use any firewall system?