yubioath-flutter icon indicating copy to clipboard operation
yubioath-flutter copied to clipboard

"CCID connection mode not enabled" message when waking from hibernation

Open corch opened this issue 5 years ago • 10 comments

  • Yubico Authenticator version: 4.3.5
  • Operating system and version: Windows 10 Enterprise build 1803
  • YubiKey model and version: Nano 5
  • Bug description summary: I typically leave my Nano yubikey plugged into my laptop all the time. When I close the lid on my laptop, it goes into hibernation (not sleep). When I wake the device up, the yubikey authenticator app is basically unusable. The symptoms are unpredictable but most commonly I see the "The Authenticator mode is set to CCID but the CCID connection mode is not enabled." message. Other times I see the "connecting to yubikey..." message, but it never actually connects. Sometimes it just says no yubiey detected.

Removing and reinserting the key will fix the problem maybe 30% of the time. Closing and restarting the app doesn't help: clicking the X icon or selecting exit will cause the window to close but the process remains active and must be killed from task manager before it can be restarted without the "authenticator is already running" error. Even when this is done, the CCID mode error persists and often the app freezes when the window comes up and is completely unresponsive. The only thing which seems to reset the key and app to working is a full system reboot / power cycle, but the working state only lasts until I next close the lid on the laptop.

The user experience is so bad I have gone back to using TOTP codes on my phone. The yubikey is otherwise useless since it none of the browsers I use properly support FIDO/U2F. There's no other use case.

Steps to reproduce

Start Windows. Open Yubioath desktop, insert key if necessary Observe TOTP codes displayed. Put device into hibernation. Wake device Open yubioath desktop again. Observe "CCID connection mode not enabled" error.

Expected result

I expect the app to properly detect the yubikey and keep displaying TOTP codes after being woken from hibernation.

Actual results

"CCID connection mode not enabled" error.

corch avatar Jun 11 '19 00:06 corch

Same problem on OSX Mojave 10.14.5 on Macbook Pro. Yubico Authenticator version 4.3.6

larstobi avatar Jul 29 '19 10:07 larstobi

Had this problem today, reinstalling the minidriver, and updating the Authenticator to 4.3.6 solved it for me.

Haven't tried from hibernation yet with the new version though.

ChazSII avatar Jul 30 '19 17:07 ChazSII

I actually tried updating to 4.3.6, didn't help. Then later I rebooted, and then it started working again. Parhaps some bug with OS X and USB handling?

larstobi avatar Jul 30 '19 20:07 larstobi

Can confirm the same issue with:

  • 5C Nano on firmware 5.2.4
  • Authenticator 4.3.6
  • Windows 10

alangrainger avatar Oct 08 '19 00:10 alangrainger

@alangrainger What about with 5.0.0 ?

dagheyman avatar Oct 08 '19 05:10 dagheyman

@dagheyman thanks for the headsup. Will report back if the issue presents itself on 5.x.

alangrainger avatar Oct 08 '19 07:10 alangrainger

I'm having the same problem with my NEO on Linux Mint 19.2 and Windows 10. Rebooting doesn't fix anything. I'm using Authenticator 4.3.6. I'll try reinstalling Authenticator in the package manager but nothing changed.

rtevans01 avatar Oct 13 '19 21:10 rtevans01

@dagheyman After testing for a week, I find this issue today, which is possibly related:

Yubikey 5.x issue

You can see from the system tray that the device is inserted, but it's no longer visible to Yubico app after resuming from sleep.

After restarting the Yubico Authenticator app, the key is visible again. No physical reinsertion required at this time.

alangrainger avatar Oct 15 '19 04:10 alangrainger

I have the same problem with my Neo on macOS 10.14.6, Yubico Authenticator version 4.3.6.

What I've noticed is that during a successful start of the app, the message about CCID mode being disabled flashes for a second and then is replaced by the list of codes. So it's possible that something is crashing and the app never gets "past" the CCID message.

chmac avatar Oct 18 '19 09:10 chmac

Had this issue today on OSX 10.14.6 Removed my USB-C Yubikey and moved it to another port while the app was still ON fixed for me the issue.

yaniveliash avatar Oct 28 '19 12:10 yaniveliash

Yubico Authenticator 6.0 has now been released and uses a new codebase. As such, this issue has been marked with the legacy label, and will be automatically closed in 7 days. If this issue is still relevant to Yubico Authenticator 6, please comment on the issue saying so, and it will be kept open (or be re-opened). Sorry for the inconvenience!

dainnilsson avatar Nov 16 '22 10:11 dainnilsson