From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#24076: gnupg [-agent]: when signing [commits], it claims that there is no pinentry - but there is Date: Thu, 28 Jul 2016 14:04:41 +0200 Message-ID: <20160728140441.5e8a0db0@scratchpost.org> References: <20160726180507.21e5e8e0@scratchpost.org> <87poq016rt.fsf@gnu.org> <20160727115405.704f02ac@scratchpost.org> <878twnz6o4.fsf@gnu.org> <87popy13x6.fsf@gmail.com> <87shuuj7y4.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]:33760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSk3n-00050U-GH for bug-guix@gnu.org; Thu, 28 Jul 2016 08:05:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSk3i-0004SP-9M for bug-guix@gnu.org; Thu, 28 Jul 2016 08:05:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSk3i-0004SL-6J for bug-guix@gnu.org; Thu, 28 Jul 2016 08:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bSk3i-000439-0f for bug-guix@gnu.org; Thu, 28 Jul 2016 08:05:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87shuuj7y4.fsf@gnu.org> 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: Alex Kost , 24076@debbugs.gnu.org > Another option would be to change =E2=80=98gnupg_module_name=E2=80=99, in= homedir.c, from: >=20 > --8<---------------cut here---------------start------------->8--- > case GNUPG_MODULE_NAME_PINENTRY: > #ifdef GNUPG_DEFAULT_PINENTRY > return GNUPG_DEFAULT_PINENTRY; > #else > X(bindir, "pinentry"); > #endif > --8<---------------cut here---------------end--------------->8--- >=20 > to something like: >=20 > --8<---------------cut here---------------start------------->8--- > case GNUPG_MODULE_NAME_PINENTRY: > X(homedir, ".guix-profile/bin/pinentry); > --8<---------------cut here---------------end--------------->8--- >=20 > =E2=80=A6 in which case GnuPG would default to the user-installed pinentr= y, if > available. Not perfect either, but closer to what other distros do. I would like that, yes. It's not like the X(bindir, "pinentry") would ever = work in GuixSD anyway - so no loss.