FS#66741 - [pinentry] Missing dependency gtk2 (or qt?) to use GnuPG with Evolution

Attached to Project: Arch Linux
Opened by Franz (enbQao) - Friday, 22 May 2020, 15:04 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:14 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Levente Polyak (anthraxx)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Is is not possible to use GnuPG with Evolution if the gtk2 (or a version of qt) package is not installed since Evolution only works with GnuPG with a graphical version of pinentry (which are pinentry-gtk-2, pinentry-qt or pinentry-gnome3, the latter only working with gkt2 instlled aswell).
It would be great if gtk2 (or qt, but I am not entirely sure which version/packages would be needed) could be added as an optional dependency so that it is possible to use GnuPG with Evolution.

Steps to reproduce:
Uninstall gtk2 (if possible) and since there is no graphical prompt for pinentry anymore, it is not properly to use GnuPG with Evolution anymore, e.g. decrypting E-Mails.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:14 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/pinentry/issues/1
Comment by Jan de Groot (JGC) - Monday, 25 May 2020, 12:33 GMT
This is a bug in pinentry. The default installed script for pinentry checks if gtk2 libs are present and then launches pinentry-gtk2. Fallback is pinentry-curses.

The script should check for $XDG_CURRENT_DESKTOP and decide if it wants to launch gnome, Qt, gtk2 or curses.

Comment by Franz (enbQao) - Thursday, 28 May 2020, 17:11 GMT
It might be a bug of the default installed script for pinentry, but would'nt it still be good to at least list gtk2 (or qt) as optional dependency since pinentry only works properly with graphical backends?
Comment by Balló György (City-busz) - Thursday, 08 June 2023, 17:29 GMT
I think it would be more convenient if pinentry would try to exec pinentry-gnome3 and pinentry-qt by default, so the users wouldn't need to enable these lines manually:
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.