Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to generate a new keypair, GPGME error #179

Open
ejm554 opened this issue Sep 6, 2024 · 6 comments
Open

Unable to generate a new keypair, GPGME error #179

ejm554 opened this issue Sep 6, 2024 · 6 comments
Labels
wait for reply Answered, but the user did not reply.

Comments

@ejm554
Copy link

ejm554 commented Sep 6, 2024

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
Copy link
Owner

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

@saturneric saturneric added the wait for reply Answered, but the user did not reply. label Oct 4, 2024
@Aipathon
Copy link

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

@saturneric
Copy link
Owner

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

@saturneric
Copy link
Owner

and the version of gpg should be greater than 2.1.0

@Aipathon
Copy link

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.

@saturneric
Copy link
Owner

saturneric commented Nov 28, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wait for reply Answered, but the user did not reply.
Projects
None yet
Development

No branches or pull requests

3 participants