Decryption error after moving Kleopatra to a new device

Ingo Klöcker kloecker at kde.org
Mon Nov 25 10:09:34 GMT 2024


Hi,

new installations of Gpg4win store the user's certificates in a database (using 
a component called keyboxd) instead of in a simple file. For details see the 
second point in the release notes of Gpg4win Version 4.2.0 at
https://gpg4win.org/change-history.html

Next to kleopatra.exe you should find two batch files:
gpg-enable-keyboxd.bat
gpg-disable-keyboxd.bat

The first batch file migrates all certificates from the file to the database and 
enables the use of the database. Running this batch file should fix the problem.

If this doesn't help then delete the file %APPDATA%\GnuPG\common.conf (which 
should just contain the line "use-keyboxd" and some comments). This will 
disable the use of the database so that GnuPG and Kleopatra use the files that 
you transferred from the old system.

Regards,
Ingo

On Freitag, 22. November 2024 22:57:08 CET Angela Hernandez wrote:
> Hi,
> 
> I am looking for support. We have one user who is having issues after they
> got a new laptop. They have used Kleopatra on the old device for a few
> years and we transferred the folder: C:\Users\xxxxxx\AppData\GnuPG to
> the new computer. We get this error: [cid:image001.png at 01DB3CF6.FA02CAF0]
> 
> They are not able to decrypt files. We made sure the user profile was set
> the same and still got the same issues. Does the hard drive on the old
> laptop need to be in the new laptop?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20241125/88cfd4f3/attachment.sig>


More information about the kdepim-users mailing list