yubiswitch
yubiswitch copied to clipboard
Incorrect toggling behavior with "auto switch off Yubikey" enabled
I've been experiencing a bug with the toggling behavior when "Automatically switch off Yubikey" is enabled.
Reproduction steps:
- Configure with the “Auto switch off yubikey” option
- Enable manually with "Enable Yubikey" or hotkey
- Yubikey is enabled and works
- Disable manually by unchecking"Enable Yubikey" or using hotkey
- Yubikey is disabled and does not emit one time passords
- After 10 seconds the auto-disable happens, which actually re-enables the key (though visual indicator shows disabled)
- Yubikey is enabled again and will send out one time passwords
- Note that the toolbar icon remains in disabled grey state even as the Yubikey continues to work
Workaround:
- Manually enable with "Enable Yubikey" or hotkey
- Yubikey remains enabled, this seems to have "reset" things
- Wait for the auto-disable
- Yubikey is disabled and will not send out one time passwords
- Never manually disable Yubikey