http://bugzilla.opensuse.org/show_bug.cgi?id=997274 Bug ID: 997274 Summary: /usr/bin/pinentry delegates to pinentry-curses rather than pinentry-qt4 when running under KDE Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: steve@srevilak.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 690869 --> http://bugzilla.opensuse.org/attachment.cgi?id=690869&action=edit Patch to /usr/bin/pinentry I'm filing this report against the pinentry package in OpenSUSE 42.1, aka 0 sunny:~$ cat /etc/os-release NAME="openSUSE Leap" VERSION="42.1" VERSION_ID="42.1" PRETTY_NAME="openSUSE Leap 42.1 (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:42.1" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse" Since upgrading from OpenSUSE 13.2 to 42.1, I've noticed that gpg-agent uses a curses-based pinentry, rather that a Qt-based pinentry program. /usr/bin/pinentry examines KDE_SESSION_VERSION in an attempt to determine which version of kde is being used; if version 4, then pinentry execs pinentry-qt4. In my case, KDE_SESSION_VERSION seems to have the value 5. 0 sunny:bin$ echo $KDE_SESSION_VERSION 5 The full kde version information for my installation: 0 sunny:bin$ kde4-config --version Qt: 4.8.6 KDE Development Platform: 4.14.18 kde4-config: 1.0 And the pinentry package: 0 sunny:~$ rpm -q --file /usr/bin/pinentry pinentry-0.8.3-3.3.x86_64 I'll attach a patch that replaces the "kde_ver == 4" test with a "kde_ver >= 4" test. With this patch applied, pinentry will delegate to pinentry-qt4. -- You are receiving this mail because: You are on the CC list for the bug.