Cant export secret key

Hi Guys,
any help with this would be apprecaited, apologies in advance if its been answered before - couldnt find anything. I’m having a bunch of problems getting my head around the program, this is the first! I’m getting this error as I’m trying to create a key pair.


kleopatra error.png


That error happened for some users with an older version, but should be fixed in recent versions. Are you using Gpg4win-3.1.1?

Best regards,

Thanks for the reply - much appreciated! Confirming I am using version 3.1.1

That is strange. There is currently no known issue that would cause this.

Maybe the data directory of GnuPG is corrupted somehow. That could lead to any kind of strange errors.

Could you try to rename the folder %APPDATA%\gnupg to something like gnupg-broken and then try again?

(That path expands to something like c:\users<yourusername>\AppData\Roaming\gnupg )

If it still does not work after that I’ll take a look at the code on how to best debug this.