yubiswitch icon indicating copy to clipboard operation
yubiswitch copied to clipboard

Incorrect toggling behavior with "auto switch off Yubikey" enabled

Open cruisercohen opened this issue 5 years ago • 0 comments

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

cruisercohen avatar Sep 30 '20 16:09 cruisercohen