GpgFrontend icon indicating copy to clipboard operation
GpgFrontend copied to clipboard

Unable to generate a new keypair, GPGME error

Open ejm554 opened this issue 1 year ago • 1 comments

I'm a first-time user of GpgFrontend. When attempting to create a new keypair, I received an "General Error" message that referenced GPGME, which I assume is the GnuPG Made Easy library. See screenshot.

I tried adjusting a few values on the Generate Key window, but it didn't make a difference. I looked to see if this issue was reported earlier, but I couldn't find anything.

I checked one of the logs, and I do see a line that may provide a clue:

[21:39:38.593] [T:5984366] [ core ] [ error ] [GpgCoreInit.cpp:191] [InitGpgME] -> gpgme env check failed, abort (+2413us)

(For reference, see the full copy of the core.log.)

FYI, I installed the previous release of GpgFrontend (2.1.3) because the newest release isn't compatible with my macOS (11.7.10, Big Sur).

A screenshot of an error message that appeared when attempting to generate a key using the Key Pair Management feature. The error says, 'Gpg Operation failed. Error code: 1; Source: GPGME; Description: General error.

ejm554 avatar Sep 06 '24 15:09 ejm554

Have you installed GnuPG correctly in your computer? This is crucial for GpgFrontend.

saturneric avatar Oct 03 '24 10:10 saturneric

@saturneric This Error still Occurs on Fedora, Arch and Windows. I also checked and installed GnuPG.

Aipathon avatar Nov 12 '24 06:11 Aipathon

What is the path where "gpg" and "gpgconf" is installed? Is it in PATH? It looks like GpgME can't find it.

saturneric avatar Nov 16 '24 19:11 saturneric

and the version of gpg should be greater than 2.1.0

saturneric avatar Nov 16 '24 19:11 saturneric

Ok so I checked and as described in the Arch wiki gpg frontend is installed is installed via flatpak under /var/lib/flatpak/exports/bin. My Version is 2.1.4. This was tested on Arch Linux.

Aipathon avatar Nov 28 '24 11:11 Aipathon

Ok. Emmm... Can you try the nightly build (AppImage)? It has a new option "-e". Starting with "./GpgFrontend.AppImage -e", GpgFrontend will print all the necessary Environment Information. This will help us to discover the bug before v2.1.6.

Nightly Build: https://github.com/saturneric/GpgFrontend/releases/tag/nightly

saturneric avatar Nov 28 '24 11:11 saturneric

Havn't got a reply for quite a long time. I plan to close this isues first. You can reopen it if necessary.

saturneric avatar Apr 01 '25 13:04 saturneric