RE: Decryption error after moving Kleopatra to a new device

Angela Hernandez <[email protected]> Tue, 10 Dec 2024 18:34:16 +0000
Newsgroups gmane.comp.kde.users.pim
Message-ID <MW3PR18MB3529725BA46EB2BC6C1A6EB3D93D2@MW3PR18MB3529.namprd18.prod.outlook.com>
I have performed the following steps below:

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.



I had to remove the common.conf and I was able to enter the passphrase. I get this error now:

[cid:[email protected]]

Business owners get frustrated when computers and phones don’t work right. Network Services Group’s team keeps your technology running smooth, giving you peace of mind. Connect with an Expert<https://www.nsgdv.com/#contact>

Angela Hernandez
Systems Administrator
N2 Team Lead

Email: [email protected]<mailto:%7BE-mail%7D>
Support: TicketSend<https://app.nsgdv.com/>
                [cid:NSG_Logo_odns2_7210e1ba-a702-469c-a2b7-10dc6b80f463.png]
5105 McClanahan Drive Suite J-3
North Little Rock, AR 72116

www.nsgdv.com<https://www.nsgdv.com/> | 501-758-6058

-----Original Message-----
From: Ingo Klöcker <[email protected]>
Sent: Monday, November 25, 2024 4:10 AM
To: [email protected]
Cc: Angela Hernandez <[email protected]>
Subject: Re: Decryption error after moving Kleopatra to a new device



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:[email protected]]

>

> 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?
image001.png (image/png, 123.2 KB) - not displayed
NSG_Logo_odns2_7210e1ba-a702-469c-a2b7-10dc6b80f463.png (image/png, 25.6 KB) - not displayed