emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24076: closed (gnupg [-agent]: when signing [commits], it claims tha


From: GNU bug Tracking System
Subject: bug#24076: closed (gnupg [-agent]: when signing [commits], it claims that there is no pinentry - but there is)
Date: Mon, 30 Mar 2020 17:31:02 +0000

Your message dated Sun, 29 Mar 2020 15:27:46 -0400
with message-id <address@hidden>
and subject line Re: bug#24076: [PATCH] gnu: GnuPG: Really use 
~/.guix-profile/bin/pinentry by default.
has caused the debbugs.gnu.org bug report #24076,
regarding gnupg [-agent]: when signing [commits], it claims that there is no 
pinentry - but there is
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
24076: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24076
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: gnupg [-agent]: when signing [commits], it claims that there is no pinentry - but there is Date: Tue, 26 Jul 2016 18:05:07 +0200
dannym@dayas ~/src/guix$ strace -f  git commit -S -m "x" 
gnu/packages/databases.scm 2>&1 |grep pinentry
[pid 32548] write(4, "OPTION allow-pinentry-notify", 28) = 28
[pid 32548] read(4, "ERR 67108949 No pinentry <GPG Ag"..., 1002) = 37
[pid 32548] write(2, "gpg: signing failed: No pinentry", 32gpg: signing failed: 
No pinentry) = 32
[pid 32548] write(2, "gpg: signing failed: No pinentry", 32gpg: signing failed: 
No pinentry) = 32

dannym@dayas ~$ which pinentry
/home/dannym/.guix-profile/bin/pinentry
dannym@dayas ~$ pinen<TAB>
pinentry         pinentry-curses  pinentry-gtk-2   pinentry-tty
dannym@dayas ~$ pinentry
OK Pleased to meet you




--- 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 ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]