pykong / YubiGuard

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

Update YubiGuard.py #7

Closed todlo closed 7 years ago

todlo commented 7 years ago

Yubikey is getting locked before it can finish typing full key (was only getting first 4 or 5 characters; the 'c' preamble). This change gives it enough time to complete.

pykong commented 7 years ago

Thank you, todlo!

Indeed have I noticed that YubiGuard may close while input is still in progress. This happens very rarely though and hence I was not able to consistently reproduce that behavior on my machine. Your addition may very well abolish this odd behavior. I merge as your contribution does hold promise and it does not otherwise negatively affect YubiGuard's workings. Still I can not confirm it indeed solves the premature closing problem, as I was not able to adequately reproduce the problem in the first place.

And if you like YubiGuard, you may want to star this repository. :)

todlo commented 7 years ago

No worries! Thank you! :)