GPG2 hangs the system if I activate another window

gnupg at lists.grepular.com gnupg at lists.grepular.com
Tue Feb 7 11:11:33 CET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/02/12 01:09, Raffaele Ricciardi wrote:

> I've downloaded and compiled GPG2 on Debian Linux (Gnome).
> 
> When GPG2 opens a popup to ask for a password, I can't switch to
> another window without locking up the desktop.  Neither the mouse
> nor any key works anymore, not even the power button, and I have to
> keep it pressed for 6 seconds to force power-off.
> 
> Is there any way around this? I need to switch to another window
> because I keep my passwords in a password database application I
> may need to open, and on a laptop with a touchpad, a click can be
> fired off inadvertently anyway.

I think this is by design. See the following option in the man page
for gpg-agent and make sure you understand the security implications
before using it:

- --no-grab: Tell the pinentry not to grab the keyboard and mouse.  This
option should in general not be used to avoid X-sniffing attacks.

- -- 
Mike Cardwell  https://grepular.com/     http://cardwellit.com/
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1  BF1B 295C 3C78 3EF1 46B4
-----BEGIN PGP SIGNATURE-----

iQGGBAEBAgBwBQJPMPjVMBSAAAAAACAAB3ByZWZlcnJlZC1lbWFpbC1lbmNvZGlu
Z0BwZ3AuY29tcGdwbWltZTgUgAAAAAAVABpwa2EtYWRkcmVzc0BnbnVwZy5vcmdt
aWtlLmNhcmR3ZWxsQGdyZXB1bGFyLmNvbQAKCRCdJiMBwdHnBEryCACo0HhMurM/
XSvSA9S0gssjIherkf628zFY+1oZBu7c9Hj/tri+vZXco0K2TYlEU98+0FL3m5ls
ovscAWV0MW6clhp7NfemPSD4su9eVs562Qu+ksFN7ATEwVHZsfMa42zr6Ad+uYCs
gBcs0j+l2HnZ6ookwcpmm7K+BcC314y6ydnZiDw5iqvLPMTd51yEdHZFmge1/rNq
sraNXeHtWG5mEuGvzUkkYeNE4YUoWQrVi22oRnO40vC2W4UIroWRUfmUPF3X5jFR
DGjtwKPEEMZoCw+MiJKXi6FKO6uBKuf1dG/+ruxY2lxzon8Dhqp0fN8u+Ujs3k83
Gllmfm2Bg80u
=0Vne
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list