yubiswitch icon indicating copy to clipboard operation
yubiswitch copied to clipboard

"Automatically switch off Yubikey" turns on Yubikey after lockscreen

Open WilliamYuhangLee opened this issue 3 years ago • 1 comments

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:

  1. Turn all the settings off
  2. Enable the "Automatically switch off Yubikey" option
  3. Enable the Yubikey manually (if it is not already enabled)
  4. Disable the Yubikey manually (before the Yubikey is automatically switched off after certain amount of time determined by preferences setting)
  5. Lock the screen / make the laptop sleeps
  6. Wake up the laptop and login
  7. Now the Yubikey is enabled again, despite the user having not asked it to

WilliamYuhangLee avatar Aug 31 '21 17:08 WilliamYuhangLee

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!

likethesky avatar Jun 19 '22 23:06 likethesky

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.

davidrothera avatar Sep 29 '22 08:09 davidrothera