yubiswitch
yubiswitch copied to clipboard
"Automatically switch off Yubikey" turns on Yubikey after lockscreen
Issue: if the "Automatically switch off Yubikey" option is selected, and the Yubikey is manually disabled (before it is automatically switched off), and the laptop locks screen/sleeps, when it wakes up, the Yubikey will be re-enabled, despite the "Enable Yubikey when system locks/sleeps" is not checked.
Reproduction:
- Turn all the settings off
- Enable the "Automatically switch off Yubikey" option
- Enable the Yubikey manually (if it is not already enabled)
- Disable the Yubikey manually (before the Yubikey is automatically switched off after certain amount of time determined by preferences setting)
- Lock the screen / make the laptop sleeps
- Wake up the laptop and login
- Now the Yubikey is enabled again, despite the user having not asked it to
I believe https://github.com/pallotron/yubiswitch/pull/108 fixes this issue. I've made a friendly ping to @pallotron to see if he has an M1 Mac now and is able to build new binaries with that PR from @reaperhulk incorporated. Fingers crossed!
I am unable to repro with v0.14, @WilliamYuhangLee please update to the new version and re-open if you are still seeing this issue.