GpgFrontend icon indicating copy to clipboard operation
GpgFrontend copied to clipboard

Don't work function Adding a New Key Database

Open bohorok opened this issue 6 months ago • 4 comments

Very thanks for Your program. However, I have problem with him. Applies to the version: GpgFrontend v.2.19 I am trying add a new key database in another location (sdhc card). I use official documentation (multikeys database section): https://gpgfrontend.bktus.com/advanced/key-database/ After doing all steps key database is not create and I cannot switch to the new key database because it is not displayed. Could you tell me how I can solve this problem, what I do wrong.
Thank you in advance for any hints.

bohorok avatar Aug 08 '25 15:08 bohorok

Can you check whether GpgFrontend has the write permission to that key db path?

saturneric avatar Sep 01 '25 21:09 saturneric

File system this path is extfat. I trying also settings path in home directory. It didn't solve the problem. I finally set the environmental variable:

GNUPGHOME=/my/path

And this solusion worked for me. However, this is only a bypass. It would be better to change the path in the program. But a new problem arisen. Pinentry problem when i generate a new pair keys. I wrote about it in a new issue.

bohorok avatar Sep 20 '25 12:09 bohorok

Thanks for reporting this issue. I’ll try to reproduce it on my side. Could you please provide more details about your environment (e.g., operating system, GnuPG version, and how you installed GpgFrontend)? That will help me quickly identify the cause and work on a fix.

saturneric avatar Oct 01 '25 05:10 saturneric

Platform : archlinux gpg version: 2.4.8 pinentry version: pinentry-gtk2 (pinentry) 1.3.2 gpgfrontend version: v2.1.9 (main branch) method install: AUR (compilation)

The version with this error is the version installed using pkbuild files from AUR resources.

I tested also version 2.1.9 of appimage from the develop branch. Creating a database in other locations: works Adding an existing keyring from other locations: works Switching between databases: works However, the program does not read gpg environment variables and does not set the default database at startup.

bohorok avatar Oct 16 '25 21:10 bohorok