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
Issue description
Changing
pinentry-programto an alternative pinentry in~/.gnupg/gpg-agent.confresults in gpg not being able to find the pinentry.I specifically tried with pinentry-kwallet and pinentry-qt
Steps to reproduce
add
to
~/.gnupg/gpg-agent.conf(I don't really know which of these is actually necessary)
Technical details
"x86_64-linux"Linux 4.9.82, NixOS, 17.09.3031.d09e425aea3 (Hummingbird)yesnonix-env (Nix) 1.11.16"nixos-unstable-18.03pre127921.9b25b9347d9, nixos-17.09.3031.d09e425aea3"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs