Bug 523488

Summary: pinentry-qt4 broken
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: pinentryAssignee: Rex Dieter <rdieter>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: axel.thimm, fedora, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-30 15:00:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rex Dieter 2009-09-15 17:29:32 UTC
Posted to upstream list,
http://lists.gnupg.org/pipermail/gnupg-devel/2009-September/025353.html

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 
pinentry
gpg-agent[27662.7] DBG: -> ERR

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

Comment 2 Rex Dieter 2009-09-16 17:22:57 UTC
%changelog
* Wed Sep 13 2009 Rex Dieter <rdieter> - 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
easy, 

rpm -e pinentry-qt 

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