GNU bug report logs - #36784
GnuPG lacks a default pinentry program

Previous Next

Package: guix;

Reported by: Raghav Gururajan <raghavgururajan <at> disroot.org>

Date: Wed, 24 Jul 2019 14:27:02 UTC

Severity: important

Merged with 24076, 37266

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36784 in the body.
You can then email your comments to 36784 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#36784; Package guix. (Wed, 24 Jul 2019 14:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raghav Gururajan <raghavgururajan <at> disroot.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 24 Jul 2019 14:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Raghav Gururajan <raghavgururajan <at> disroot.org>
To: bug-guix <at> gnu.org
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.




Information forwarded to bug-guix <at> gnu.org:
bug#36784; Package guix. (Thu, 25 Jul 2019 01:20:01 GMT) Full text and rfc822 format available.

Message #8 received at 36784 <at> debbugs.gnu.org (full text, mbox):

From: Raghav Gururajan <raghavgururajan <at> disroot.org>
To: 36784 <at> debbugs.gnu.org
Subject: Re: Cannot generate key pair with GnuPG
Date: Wed, 24 Jul 2019 20:58:30 -0400
Hello Guix!

After brief discussion on IRC channel, I found out that adding
"pinentry-program /home/user/.guix-profile/bin/pinentry-program" to
"gpg-agent.conf" in "/home/user/.gnupg", was able to temproarily
resolve the situation. Thanks to Ricardo (rekado).

I still suggest that there should be a default/fallback option for
this. After reviewing guix repository, I found pinentry, emacs-
pinentry, pinentry-tty, pinentry-qt, pinentry-gtk2, pinentry-gnome3,
pinentry-emacs and pinentry-efl, as available pinentry programs.

Out of all, I suggest pinentry to be set as default/fallback option for
gnupg in guix, as it is platform-independent and provides both CUI
(console) and GUI.

Thank you!

Regards,
RG.




Severity set to 'important' from 'normal' Request was from Raghav Gururajan <raghavgururajan <at> disroot.org> to control <at> debbugs.gnu.org. (Thu, 25 Jul 2019 01:20:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#36784; Package guix. (Thu, 25 Jul 2019 13:03:03 GMT) Full text and rfc822 format available.

Message #13 received at 36784 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Raghav Gururajan <raghavgururajan <at> disroot.org>
Cc: 36784 <at> debbugs.gnu.org
Subject: Re: bug#36784: Cannot generate key pair with GnuPG
Date: Thu, 25 Jul 2019 15:01:59 +0200
Raghav Gururajan <raghavgururajan <at> disroot.org> writes:

> I still suggest that there should be a default/fallback option for
> this. After reviewing guix repository, I found pinentry, emacs-
> pinentry, pinentry-tty, pinentry-qt, pinentry-gtk2, pinentry-gnome3,
> pinentry-emacs and pinentry-efl, as available pinentry programs.
>
> Out of all, I suggest pinentry to be set as default/fallback option for
> gnupg in guix, as it is platform-independent and provides both CUI
> (console) and GUI.

I think it would be good to have a sensible default.  Is there a good
reason not to include pinentry-tty or somemthing similarly small?

-- 
Ricardo





Information forwarded to bug-guix <at> gnu.org:
bug#36784; Package guix. (Thu, 25 Jul 2019 13:09:03 GMT) Full text and rfc822 format available.

Message #16 received at 36784 <at> debbugs.gnu.org (full text, mbox):

From: Raghav Gururajan <raghavgururajan <at> disroot.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 36784 <at> debbugs.gnu.org
Subject: Re: bug#36784: Cannot generate key pair with GnuPG
Date: Thu, 25 Jul 2019 09:08:15 -0400
> Is there a good
> reason not to include pinentry-tty or somemthing similarly small?

It appears pinentry-tty is only console-based. If graphical
applications like MUA, Key Managers etc require pinentry-program, it
usually uses pop-up (gui) for passphrase input. Since pinentry provides
both console and gui, I suggested it as it will be well-rounded
solution. :)

Regards,
RG.




Information forwarded to bug-guix <at> gnu.org:
bug#36784; Package guix. (Thu, 25 Jul 2019 13:35:02 GMT) Full text and rfc822 format available.

Message #19 received at 36784 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Raghav Gururajan <raghavgururajan <at> disroot.org>
Cc: 36784 <at> debbugs.gnu.org
Subject: Re: bug#36784: Cannot generate key pair with GnuPG
Date: Thu, 25 Jul 2019 15:34:07 +0200
Raghav Gururajan <raghavgururajan <at> disroot.org> writes:

>> Is there a good
>> reason not to include pinentry-tty or somemthing similarly small?
>
> It appears pinentry-tty is only console-based. If graphical
> applications like MUA, Key Managers etc require pinentry-program, it
> usually uses pop-up (gui) for passphrase input. Since pinentry provides
> both console and gui, I suggested it as it will be well-rounded
> solution. :)

I guess the reason for not adding a graphical pinentry is that this
would increase the package closure of the gnupg package.

Perhaps we should add gnupg-minimal for use in other package
definitions.

--
Ricardo





Information forwarded to bug-guix <at> gnu.org:
bug#36784; Package guix. (Thu, 25 Jul 2019 13:37:01 GMT) Full text and rfc822 format available.

Message #22 received at 36784 <at> debbugs.gnu.org (full text, mbox):

From: Raghav Gururajan <raghavgururajan <at> disroot.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 36784 <at> debbugs.gnu.org
Subject: Re: bug#36784: Cannot generate key pair with GnuPG
Date: Thu, 25 Jul 2019 09:36:37 -0400
> Perhaps we should add gnupg-minimal for use in other package
> definitions.

That would actually be wise.

Regards,
RG.




Changed bug title to 'GnuPG lacks a default pinentry program' from 'Cannot generate key pair with GnuPG' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 24 Aug 2019 20:17:05 GMT) Full text and rfc822 format available.

Merged 36784 37266. Request was from Brice Waegeneire <brice <at> waegenei.re> to control <at> debbugs.gnu.org. (Fri, 20 Mar 2020 16:01:02 GMT) Full text and rfc822 format available.

Merged 24076 36784 37266. Request was from Brice Waegeneire <brice <at> waegenei.re> to control <at> debbugs.gnu.org. (Fri, 20 Mar 2020 20:37:01 GMT) Full text and rfc822 format available.

Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 30 Mar 2020 02:36:45 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Apr 2020 11:24:06 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Alexandre Hannud Abdo <abdo <at> member.fsf.org> to control <at> debbugs.gnu.org. (Thu, 22 Apr 2021 21:45:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 21 May 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.