shtirlic / yubikeylockd

Simple daemon for locking and unlocking macOS with Yubikey
MIT License
103 stars 19 forks source link

Disable lock when modifier key is pressed? #7

Open markchalloner opened 7 years ago

markchalloner commented 7 years ago

Sometimes I need to leave my laptop unlocked when removing the Yubikey (e.g. when transferring it a short distance and unplugging the USB hub). Would it be possible to add a check for a modifier key (e.g. CTRL) is not pressed before locking?

Thanks

shtirlic commented 6 years ago

Yes, sometimes I need this too, but from my point of view this method is destroying security via "keylogging" modifier key.