Bug 714041 - pinentry-gtk called by gnupg2/gpg-agent does not work with scim-bridge input method
Summary: pinentry-gtk called by gnupg2/gpg-agent does not work with scim-bridge input ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnupg2
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-17 08:11 UTC by Petr Pisar
Modified: 2016-07-19 10:04 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 10:04:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2011-06-17 08:11:29 UTC

Comment 1 Petr Pisar 2011-06-17 08:35:47 UTC
If scim-bridge is used as GTK input method engine (GTK_IM_MODULE=scim-bridge) and pinetry-gtk is installed and gpg-agent is running, gnupg2 will use GTK pinentry to ask for a passphrase and following bug occurs:

I get following error messages to syslog:

Jun 17 10:05:38 dhcp-0-146 scim-bridge: Failed to allocate the current display
Jun 17 10:05:38 dhcp-0-146 scim-bridge: Failed to allocate the agent. Exitting...

and I cannot type any characters into pinetry-gtk input box (no dots appear and gnupg does not obtain any passphrase). Although I can submit the empty passphrase by pressing Enter.

This bug can be reproduced by command:

$ GTK_IM_MODULE=scim-bridge gpg --decrypt file.gpg

I thought it's bug in pinentry-gtk, but simple test with pinetry-gtk:

$ echo 'GETPIN' | GTK_IM_MODULE=scim-bridge pinentry-gtk
OK Your orders please

(pinentry-gtk:7335): GLib-GObject-CRITICAL **: Object class GtkSecureEntry doesn't implement property 'editing-canceled' from interface 'GtkCellEditable'
D foo
OK

works. Also I'm able to compose characters through the scim and pass them to pinetry.

If I use plain `scim' as input method for GTK (GTK_IM_MODULE=scim), I does not observe this bug. I've started to use scim-bridge instead of scim because Firefox 4 does not work with plain scim.

I'm not sure where is the bug exactly, so I assign it to gnupg2 as this is the only way I can reproduce it.

My packages:

gnupg2-2.0.17-1.fc15.x86_64
gtk2-2.24.4-2.fc15.x86_64
scim-1.4.9-8.fc15.x86_64
scim-bridge-0.4.16-6.fc15.x86_64
pinentry-gtk-0.8.1-3.fc15.x86_64

Comment 2 Tomas Mraz 2011-06-17 12:42:07 UTC
Unfortunately I am unable to setup scim and scim-bridge input methods to not behave completely erratically on my F15 testing setup.

Although I can mostly reproducable run it with other gtk2 programs, pinentry-gtk doesn't work at all regardless of whether it is run directly from command-line or from gpg-agent as consequence of running a gpg2 command.

Pinentry-gtk always sticks to the regular non-scim input method for me.

Comment 3 Petr Pisar 2011-06-17 12:58:53 UTC
Does it mean you can input standard X11 keys (the ones not composed via SCIM) into pinentry-gtk2 launched via gpg2 alwaws, or you can see the same bug as me, i.e you cannot input any (e.g. latin) characters?

If you have problems to get pinentry working with scim, reassign this bug to pinentry component. Its owner could help.

Comment 4 Tomas Mraz 2011-06-17 14:22:42 UTC
Yes, I can always input standard X11 keys into pinentry-gtk2 launched via gpg2.

Comment 5 Fedora End Of Life 2012-08-07 18:08:21 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Petr Pisar 2012-08-08 08:57:41 UTC
Still valid.

F17 does not distinguish between `scim' and `scim-bridge' and invokes `scim-bridge' always. The only solution is to to modify /usr/bin/pinentry to unset the GTK_IM_MODULE variable:

# otherwise test if pinentry-gtk-2 is installed
elif [ -x /usr/bin/pinentry-gtk-2 ]
then
→   unset GTK_IM_MODULE
    export PINENTRY_BINARY="/usr/bin/pinentry-gtk-2"
# otherwise test if pinentry-qt4 is installed

Comment 7 Fedora End Of Life 2013-01-17 00:15:09 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Fedora End Of Life 2013-07-04 06:29:07 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Petr Pisar 2013-07-04 11:30:20 UTC
Still issue in F18.

Comment 10 Anonymous account 2013-08-11 16:54:33 UTC
Yeah still on F18. Is this ever going to be fixed?

Comment 11 Fedora End Of Life 2013-12-21 14:56:18 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Petr Pisar 2014-01-02 16:07:40 UTC
Still issue in F19 (pinentry-0.8.1-10.fc19.x86_64).

Comment 13 Fedora End Of Life 2015-01-09 21:50:29 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 14 Fedora End Of Life 2015-05-29 08:39:36 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 15 Petr Pisar 2015-05-29 08:51:41 UTC
Still issue in F21 (pinentry-0.8.3-7.fc21.x86_64).

Comment 16 Fedora End Of Life 2015-11-04 15:32:39 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 17 Petr Pisar 2015-11-04 16:08:57 UTC
Still issue with pinentry-0.9.2-1.fc22.x86_64.

Comment 18 Fedora End Of Life 2016-07-19 10:04:26 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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