saturneric / GpgFrontend

A free, open-source, robust yet user-friendly, compact and cross-platform tool for OpenPGP encryption. It stands out as an exceptional GUI frontend for the modern GnuPG (gpg).
https://gpgfrontend.bktus.com
GNU General Public License v3.0
518 stars 51 forks source link

Unable to generate a new keypair, GPGME error #179

Open ejm554 opened 2 months ago

ejm554 commented 2 months ago

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.
saturneric commented 1 month ago

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

Aipathon commented 1 week ago

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

saturneric commented 1 week ago

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

saturneric commented 1 week ago

and the version of gpg should be greater than 2.1.0