Skip to content

GPG: No pinentry #35464

Description

@ysndr

Issue description

Changing pinentry-program to an alternative pinentry in ~/.gnupg/gpg-agent.conf results in gpg not being able to find the pinentry.
I specifically tried with pinentry-kwallet and pinentry-qt

Steps to reproduce

add

...
pinentry-program /home/<user>/.nix-profile/bin/pinentry-kwallet
...

to ~/.gnupg/gpg-agent.conf

(I don't really know which of these is actually necessary)

$ gpgconf --reload gpg-agent
$ gpg-connect-agent /bye

$ gpg-connect-agent <<EOT
GET_CONFIRMATION Hello
EOT

> ERR 67108949 No pinentry <GPG Agent>

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.9.82, NixOS, 17.09.3031.d09e425aea3 (Hummingbird)
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 1.11.16
  • channels(root): "nixos-unstable-18.03pre127921.9b25b9347d9, nixos-17.09.3031.d09e425aea3"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions