unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36784: Cannot generate key pair with GnuPG
@ 2019-07-24 10:00 Raghav Gururajan
       [not found] ` <handler.36784.B.156397839227294.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Raghav Gururajan @ 2019-07-24 10:00 UTC (permalink / raw)
  To: 36784

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#36784: Cannot generate key pair with GnuPG
       [not found] ` <handler.36784.B.156397839227294.ack@debbugs.gnu.org>
@ 2019-07-25  0:58   ` Raghav Gururajan
  2019-07-25 13:01     ` Ricardo Wurmus
  0 siblings, 1 reply; 6+ messages in thread
From: Raghav Gururajan @ 2019-07-25  0:58 UTC (permalink / raw)
  To: 36784

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#36784: Cannot generate key pair with GnuPG
  2019-07-25  0:58   ` Raghav Gururajan
@ 2019-07-25 13:01     ` Ricardo Wurmus
  2019-07-25 13:08       ` Raghav Gururajan
  0 siblings, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2019-07-25 13:01 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 36784


Raghav Gururajan <raghavgururajan@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#36784: Cannot generate key pair with GnuPG
  2019-07-25 13:01     ` Ricardo Wurmus
@ 2019-07-25 13:08       ` Raghav Gururajan
  2019-07-25 13:34         ` Ricardo Wurmus
  0 siblings, 1 reply; 6+ messages in thread
From: Raghav Gururajan @ 2019-07-25 13:08 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 36784


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#36784: Cannot generate key pair with GnuPG
  2019-07-25 13:08       ` Raghav Gururajan
@ 2019-07-25 13:34         ` Ricardo Wurmus
  2019-07-25 13:36           ` Raghav Gururajan
  0 siblings, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2019-07-25 13:34 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 36784


Raghav Gururajan <raghavgururajan@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#36784: Cannot generate key pair with GnuPG
  2019-07-25 13:34         ` Ricardo Wurmus
@ 2019-07-25 13:36           ` Raghav Gururajan
  0 siblings, 0 replies; 6+ messages in thread
From: Raghav Gururajan @ 2019-07-25 13:36 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 36784


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

That would actually be wise.

Regards,
RG.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-25 13:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-24 10:00 bug#36784: Cannot generate key pair with GnuPG Raghav Gururajan
     [not found] ` <handler.36784.B.156397839227294.ack@debbugs.gnu.org>
2019-07-25  0:58   ` Raghav Gururajan
2019-07-25 13:01     ` Ricardo Wurmus
2019-07-25 13:08       ` Raghav Gururajan
2019-07-25 13:34         ` Ricardo Wurmus
2019-07-25 13:36           ` Raghav Gururajan

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).