Package: gpg-agent Version: 2.2.40-1.1 Severity: important 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.
With just pinentry-gnome3 installed, this makes emacs completely hang when opening a .gpg file. Replacing pinentry-gnome3 by pinentry-curses and pinentry-gtk2 solves the issue. -- System Information: Debian Release: 12.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-13-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gpg-agent depends on: ii gpgconf 2.2.40-1.1 ii init-system-helpers 1.65.2 ii libassuan0 2.5.5-5 ii libc6 2.36-9+deb12u3 ii libgcrypt20 1.10.1-3 ii libgpg-error0 1.46-1 ii libnpth0 1.6-3 ii pinentry-curses [pinentry] 1.2.1-1 ii pinentry-gtk2 [pinentry] 1.2.1-1 Versions of packages gpg-agent recommends: ii gnupg 2.2.40-1.1 Versions of packages gpg-agent suggests: ii dbus-user-session 1.14.10-1~deb12u1 ii libpam-systemd 252.17-1~deb12u1 pn pinentry-gnome3 <none> pn scdaemon <none> -- no debconf information -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)