--- Begin Message ---
Subject: |
Cannot generate key pair with GnuPG |
Date: |
Wed, 24 Jul 2019 06:00:44 -0400 |
Hello Guix!
The current gnupg package in guix has "pinentry" as a missing
dependency.
Because of this, GnuPG throws the following error upon attempting to
generate key pairs:
gpg: agent_genkey failed: No pinentry
gpg: key generation failed: No pinentry
So it appears, unless the above mentioned dependency issue is fixed,
one cannot create gpg key pairs. :(
Regards,
RG.
--- 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 ---