Bug 1945355 - Since GTK2 is EOL, is it possible to build pinentry-gtk with GTK3?
Summary: Since GTK2 is EOL, is it possible to build pinentry-gtk with GTK3?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pinentry
Version: 33
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Boris Ranto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-31 17:48 UTC by ersen
Modified: 2022-02-26 07:19 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-03-31 18:19:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description ersen 2021-03-31 17:48:59 UTC
Description of problem:
pinentry-gtk subpackage is build with GTK2 and since GTK2 is EOL, is it possible to build it with GTK3?

Version-Release number of selected component (if applicable):
pinentry-gtk    1.1.0-9.fc33

How reproducible:
Always

Steps to Reproduce:
1. Install pinentry-gtk
2.
3.

Actual results:
It is build with GTK2

Expected results:
It will be build with GTK3

Additional info:

Comment 1 Rex Dieter 2021-03-31 18:19:49 UTC
There's already a pinentry-gnome3 package, so yes (just named differently).

Comment 2 ersen 2021-03-31 19:14:48 UTC
I couldn't manage pinentry-gnome3 to work properly on sway. I have "pinentry-program /usr/bin/pinentry-gnome3" in gpg-agent.conf and when I start a program (pass) from terminal, curses based interface appears. When I try to select a password to decrypt with wofi (a dmenu like program), nothing happens visually but when I check running processes from terminal, I can see gpg2 and gpg-agent processes are running. But pinentry-gtk works fine and shows me a graphical dialog box in both cases, that is why I am using it. How can I make pinentry-gnome3 to work on a non-GNOME environment?

Comment 3 Jakub Jelen 2021-04-01 07:13:02 UTC
If you uninstall pinentry-gtk and install pinentry-gnome3 it should get the priority automatically, unless there is some bug in the selection in /bin/pinentry.

You might need to kill the agent first after changing the configuration.

Comment 4 ersen 2022-02-26 07:19:07 UTC
I had pinentry-gnome3 installed but it was falling back to curses with the error message:

No Gcr System Prompter available, falling back to curses
OK Pleased to meet you

After manually installing gcr package, the problem was solved and I got pinentry-gnome3 working.
I am using sway and installing pinentry-gnome3 didn't pull gcr as dependency.


Note You need to log in before you can comment on or make changes to this bug.