From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#24076: gnupg [-agent]: when signing [commits], it claims that there is no pinentry - but there is Date: Thu, 28 Jul 2016 12:56:53 +0300 Message-ID: <87popy13x6.fsf@gmail.com> References: <20160726180507.21e5e8e0@scratchpost.org> <87poq016rt.fsf@gnu.org> <20160727115405.704f02ac@scratchpost.org> <878twnz6o4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSi3v-0005kJ-1s for bug-guix@gnu.org; Thu, 28 Jul 2016 05:57:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSi3q-0004lm-U4 for bug-guix@gnu.org; Thu, 28 Jul 2016 05:57:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSi3q-0004le-Pq for bug-guix@gnu.org; Thu, 28 Jul 2016 05:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bSi3q-0006Et-FM for bug-guix@gnu.org; Thu, 28 Jul 2016 05:57:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878twnz6o4.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 27 Jul 2016 13:01:15 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 24076@debbugs.gnu.org Ludovic Court=C3=A8s (2016-07-27 14:01 +0300) wrote: > Hi, > > Danny Milosavljevic skribis: > >>> My ~/.gnupg/gpg-agent.conf file reads this: >>>=20 >>> --8<---------------cut here---------------start------------->8--- >>> pinentry-program /home/ludo/.guix-profile/bin/pinentry-gtk-2 >>> --8<---------------cut here---------------end--------------->8--- >> >> Yes, the file didn't exist. I created it and it works now. > > Great. > >> I did install the pinentry package, though. >> >> Do you think it would make sense to put this in the skeleton for new use= r accounts? > > Maybe. Ideally, this would be addressed by GnuPG itself, which should > somehow make it easier to set it up, because there=E2=80=99s nothing > GuixSD-specific here AFAICS. What do other distros do to help? My guess: other distros do nothing, because GnuPG searches for pinentries in a default bindir, I mean in a dir where gpg is placed (/usr/bin or whatever). IMO this is Guix-specific, as you have to run gpg-agent with --pinentry-program option (or specify it in the "gpg-agent.conf" file). --=20 Alex