Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 609678

Summary: app-crypt/pinentry-1.0.0: gtk+2 pinentry broken on AwesomeWM
Product: Gentoo Linux Reporter: Robin Johnson <robbat2>
Component: Current packagesAssignee: Kristian Fiskerstrand (RETIRED) <k_f>
Status: RESOLVED FIXED    
Severity: normal CC: crypto+disabled, pacho
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://lists.gnupg.org/pipermail/gnupg-devel/2017-February/032608.html
See Also: https://bugs.debian.org/850708
https://dev.gnupg.org/T3297
Whiteboard:
Package list:
Runtime testing required: ---

Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-02-17 23:14:26 UTC
commit f4b5049c68a79d5e4faba06447db5440936cefeb breaks pinentry-gtk+2 on AwesomeWM.

Testcase & Output:
===
$ pinentry-gtk-2 <<< GETPIN
OK Pleased to meet you
** (pinentry-gtk-2:2746): CRITICAL **: could not grab keyboard: not viewable (3)
** (pinentry-gtk-2:2746): WARNING **: it took 4097 tries to grab the keyboard
** (pinentry-gtk-2:2746): CRITICAL **: could not grab pointer: not viewable (3)
** (pinentry-gtk-2:2746): WARNING **: it took 4097 tries to grab the pointer
ERR 83886179 Operation cancelled <Pinentry>
===

A window will flash by very quickly.

As discussed w/ K_F, this should block 1.0.0 from going stable.
Comment 2 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-09-08 10:15:50 UTC
gnupg defaults to no-grab in later versions, so this issue isn't valid once that reaches stable (iirc it was changed in 2.1.23, so fixed in 2.2.0 as well)
Comment 3 Pacho Ramos gentoo-dev 2017-09-08 10:19:02 UTC
Ah, thanks for the info :)
Comment 4 Larry the Git Cow gentoo-dev 2017-10-16 21:14:52 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fabf9cabaf1f4bab9f924afa116d1c7d84680b9

commit 2fabf9cabaf1f4bab9f924afa116d1c7d84680b9
Author:     Kristian Fiskerstrand <k_f@gentoo.org>
AuthorDate: 2017-10-16 21:14:28 +0000
Commit:     Kristian Fiskerstrand <k_f@gentoo.org>
CommitDate: 2017-10-16 21:14:43 +0000

    app-crypt/pinentry: Fix grabbing issue in awesomewm
    
    Bug: https://bugs.gentoo.org/609678
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 ...isable-tooltips-in-keyboard-grabbing-mode.patch | 47 ++++++++++++++++++++++
 ...nentry-1.0.0-gtk2-Fix-a-problem-with-fvwm.patch | 47 ++++++++++++++++++++++
 ...ry-1.0.0-r1.ebuild => pinentry-1.0.0-r2.ebuild} |  2 +
 3 files changed, 96 insertions(+)}