[pkg-gnupg-maint] Bug#1054985: Bug#1054985: gpg-agent: missing dependency on pinentry-curses or pinentry-gtk2

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Mar 5 20:07:42 GMT 2025


On Sun 2023-10-29 00:20:09 +0200, in https://bugs.debian.org/1054985, Vincent Lefevre wrote:

> gpg-agent needs a working pinentry program. As pinentry-gnome3
> (installed by default) doesn't work on non-GNOME environments, it
> should depend on pinentry-curses or pinentry-gtk2.

I'm confused by this report.  It looks to me like gpg-agent has depended
on "pinentry-curses | pinentry" for years, well before this report was opened:

```
0 dkg at bob:~$ apt-cache show gpg-agent | grep ^Depends:
Depends: gpgconf (= 2.4.7-6), pinentry-curses | pinentry, init-system-helpers (>= 1.52), libassuan9 (>= 2.5.1), libc6 (>= 2.38), libgcrypt20 (>= 1.11.0), libgpg-error0 (>= 1.49), libnpth0t64 (>= 1.2)
Depends: gpgconf (= 2.4.7-4), pinentry-curses | pinentry, init-system-helpers (>= 1.52), libassuan9 (>= 2.5.1), libc6 (>= 2.38), libgcrypt20 (>= 1.11.0), libgpg-error0 (>= 1.49), libnpth0t64 (>= 1.2)
Depends: gpgconf (= 2.2.46-2), pinentry-curses | pinentry, init-system-helpers (>= 1.52), libassuan9 (>= 2.5.1), libc6 (>= 2.38), libgcrypt20 (>= 1.11.0), libgpg-error0 (>= 1.48), libnpth0t64 (>= 1.2)
Depends: gpgconf (= 2.2.46-1+b1), pinentry-curses | pinentry, init-system-helpers (>= 1.52), libassuan9 (>= 2.5.1), libc6 (>= 2.38), libgcrypt20 (>= 1.11.0), libgpg-error0 (>= 1.48), libnpth0t64 (>= 1.2)
0 dkg at bob:~$ 
```

pinentry-gnome3 definitely offers a better user experience on most
desktop systems today, including in non-gnome environments (i'm using it
under sway on a wayland-only system).  If pinentry-gnome3 isn't working
for you on your setup, maybe that's something to report against either
pinentry-gnome3 or against whatever environment you're using.

If you have a specific patch you want to propose for gpg-agent, feel free to re-open
this report.

Regards,

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnupg-maint/attachments/20250305/a3155990/attachment.sig>


More information about the pkg-gnupg-maint mailing list