[pkg-gnupg-maint] Bug#831626: Bug#831626: pinentry-gtk2 locks Xfce4 with Alt-Tab

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sun Jul 17 23:11:04 UTC 2016


Control: affects 831626 xfce4
Control: tags 831626 + moreinfo

On Sun 2016-07-17 22:19:10 +0200, Alain wrote:
> Package: pinentry-gtk2
> Version: 0.9.7-5~bpo8+1
> Severity: important
 [...]
> First, prepare an encrypted file with gpg that I call myfile.gpg.
> To reproduce this bug, I do :
> 1. Open two windows of xfce4-terminal
> 2. Type F11 to put one terminal in full screen.
> 3. Alt-Tab to return in the other terminal.
> 4. Run : gpg -d myfile.gpg
> 5. pinentry is launched automatically.
> 6. Type Alt-Tab to return on the other terminal.
> Now it is impossible to launch any command or to select another window.
> X is locked.
>
> Only a "kill -9" from a non-graphic console is possible and after that,
> Alt-Tab or F11 is possible again.
>
> I think that Alt-Tab should be forbidden when pinentry-gtk2 is displayed.

I'm surprised to hear that this happens in xfce4.  Maybe the xfce4
maintainers (cc'ed here) want to comment on this?  On the window manager
i'm most used to (openbox) my meta-key combination to tab-cycle windows
doesn't work when pinentry is invoked.

Alain, can you replicate this problem using only pinentry?  You can
avoid using gpg entirely yet still launch pinentry-gtk-2 with:

  (echo getpin && sleep 1 && echo bye) | pinentry-gtk-2

NOTE: this will print whatever passphrase you enter to the terminal, so
do not type a real passphrase here.

Alain, if you encounter this problem, does hitting the "escape" key or
"enter" dismiss the pinentry dialog and restore the functionality of
your session without needing to switch to a non-graphical console?

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20160718/6b5a2495/attachment.sig>


More information about the pkg-gnupg-maint mailing list