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 20:58:29 +0300 Message-ID: <8737mtr6ey.fsf@gmail.com> 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> <20160728140441.5e8a0db0@scratchpost.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]:35681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSpaM-0003hQ-SA for bug-guix@gnu.org; Thu, 28 Jul 2016 13:59:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSpaI-0005xu-S4 for bug-guix@gnu.org; Thu, 28 Jul 2016 13:59:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSpaI-0005xT-Od for bug-guix@gnu.org; Thu, 28 Jul 2016 13:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bSpaI-0007VX-GR for bug-guix@gnu.org; Thu, 28 Jul 2016 13:59:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160728140441.5e8a0db0@scratchpost.org> (Danny Milosavljevic's message of "Thu, 28 Jul 2016 14:04:41 +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: Danny Milosavljevic Cc: 24076@debbugs.gnu.org Danny Milosavljevic (2016-07-28 15:04 +0300) wrote: >> Another option would be to change =E2=80=98gnupg_module_name=E2=80=99, i= n 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 pinent= ry, 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. (Not only GuixSD, but Guix in general) I agree, this would be better than the current situation. --=20 Alex