--- Begin Message ---
Subject: |
gnupg/pinentry not aware of each other |
Date: |
Mon, 02 Sep 2019 04:56:22 +0000 |
$ 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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#24076: [PATCH] gnu: GnuPG: Really use ~/.guix-profile/bin/pinentry by default. |
Date: |
Sun, 29 Mar 2020 15:27:46 -0400 |
On Sun, Mar 29, 2020 at 04:57:33PM +0200, Ludovic Courtès wrote:
> Here I’d add:
>
> if (dir == NULL)
> {
> struct password *pw;
> pw = getpwuid (getuid ());
> if (pw != NULL)
> dir = pw->pw_dir;
> else
> dir = "/";
> }
>
> Otherwise LGTM!
Thanks, good idea! Pushed as e5b44b06b3fb19c897fb3e430bd41941905e101f
--- End Message ---