Bug 523488 - pinentry-qt4 broken
Summary: pinentry-qt4 broken
Alias: None
Product: Fedora
Classification: Fedora
Component: pinentry
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2009-09-15 17:29 UTC by Rex Dieter
Modified: 2009-10-30 16:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-10-30 15:00:58 UTC
Type: ---

Attachments (Terms of Use)

Description Rex Dieter 2009-09-15 17:29:32 UTC
Posted to upstream list,

Not sure, could have sworn this worked at one point, but can't get it to work for the life of me.

Both -qt and -gtk-2 seems to work ok, but as soon as I try -qt4, gpg-agent fails, my debug-level advanced
output includes:

2009-09-13 14:24:55 gpg-agent[27662] starting a new PIN Entry
gpg-agent[27662]: can't connect server: ec=4.16383
2009-09-13 14:24:56 gpg-agent[27662] can't connect to the PIN entry module: 
End of file
2009-09-13 14:24:56 gpg-agent[27662] command get_passphrase failed: No 
gpg-agent[27662.7] DBG: -> ERR

Comment 1 Rex Dieter 2009-09-15 17:29:59 UTC
$ rpm -q pinentry-qt

Comment 2 Rex Dieter 2009-09-16 17:22:57 UTC
* Wed Sep 13 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.7.6-3
- drop alternatives, use app-wrapper instead (borrowed from opensuse)
- -qt4 experimental subpkg, -qt includes qt3 version again  (#523488)

further upstream exchanges/testing, seems the problem lies with gpg-agent/pinentry-qt4 interaction.  Running pinentry-qt4 by hand seems to work ok.

Comment 3 Ben Boeckel 2009-09-22 21:43:26 UTC
I get the Qt4 version by default here. Not sure what caused the change though (I was getting the Qt3 for a while then Qt4 just started getting used).

Comment 4 Ben Boeckel 2009-10-24 19:01:42 UTC
KNode is using Qt4 and KMail is using Qt3, not sure why (they share env since they're both in Kontact).

Comment 5 Rex Dieter 2009-10-24 19:55:33 UTC
It should be consistently using the value of
pinentry-program ...
in ~/.gnupg/gpg-agent.conf

Comment 6 Rex Dieter 2009-10-30 15:00:58 UTC
Creepy, installed f12, works fine now, and can no longer reproduce errors.

Comment 7 Ben Boeckel 2009-10-30 15:30:02 UTC
Odd. I installed F12 and things started to move back to the non-Qt4 one :( .

Comment 8 Rex Dieter 2009-10-30 16:00:58 UTC

rpm -e pinentry-qt 

(and make sure you're preferred one, like pinentry-qt4 *is* installed).

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