Subject: bug#37266: gnupg/pinentry not aware of each other

From: Martin Becze <[email-masked]>
Date: Wed, 18 Sep 2019 02:41:11 -0700

On 2019-09-02 04:56, [email-masked] wrote:
> $ gpg --full-generate-key
> <snip>
> Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
> We need to generate a lot of random bytes. It is a good idea to perform
> some other action (type on the keyboard, move the mouse, utilize the
> disks) during the prime generation; this gives the random number
> generator a better chance to gain enough entropy.
> gpg: agent_genkey failed: No pinentry
> Key generation failed: No pinentry
> $ which pinentry
> /run/current-system/profile/bin/pinentry

try added `pinentry-program /home/USER/.guix-profile/bin/pinentry-gtk-2`
to `~/.gnupg/gpg-agent.conf`
let me know if that works. I also encountered this.