pykong / YubiGuard

Python script to prevent accidental triggering of YubiKeys on Linux.
GNU General Public License v3.0
24 stars 9 forks source link

can not unlock Yubikey #4

Closed freddyb closed 7 years ago

freddyb commented 7 years ago

I tried to debug this myself, but couldn't even figure out how the code works (threading and multi-process make this a tad confusing).

How and where does it listen on "Super Y"? I'd like to change this to Meta+Y, possibly.

pykong commented 7 years ago

You need to make a system shortcut to the script with -t as a parameter. Like so: "/path/to/my/script/YubiGuard.py -t"

You may use any key combination your system allows, if so even Meta + Y.

Here is a short explanation on how to change key bindings under Linux Mint: https://www.lifewire.com/how-to-change-the-linux-mint-cinnamon-keyboard-shortcuts-4064754

I deliberately chose this way of triggering, instead of endowing YubiGuard with an own key listener.

Note also that YubiGuard does work with many, but not on all Linux distributions. See Readme for further information. (Or just ask.)

freddyb commented 7 years ago

Oh, I thought it does that in itself and was super confused because I couldn't find it. My bad.

pykong commented 7 years ago

It might not be your fault. Maybe the Readme needs to be clearer... ;-)

If you have any additional questions regarding the YubiGuard, just feel free to ask.

pykong commented 7 years ago

Closed.