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

gpg: Key generation failed: No pinentry #390319

Closed
3 tasks done
robert-elles opened this issue Mar 16, 2025 · 1 comment
Closed
3 tasks done

gpg: Key generation failed: No pinentry #390319

robert-elles opened this issue Mar 16, 2025 · 1 comment
Labels
0.kind: bug Something is broken

Comments

@robert-elles
Copy link
Contributor

Nixpkgs version

  • Unstable (25.05)

Describe the bug

running gpg --full-gen-key results in:

gpg: agent_genkey failed: No pinentry
Key generation failed: No pinentry

Steps to reproduce

run gpg --full-gen-key

Expected behaviour

keys are generated

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.18, NixOS, 25.05 (Warbler), 25.05pre-git
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • nixpkgs: /nix/store/g4ppspdl4fy7hnp4jgjl4ll03v7i08w3-source

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@robert-elles robert-elles added the 0.kind: bug Something is broken label Mar 16, 2025
@eclairevoyant
Copy link
Contributor

Try setting programs.gnupg.agent.pinentryPackage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants