Yubico / yubikey-piv-manager

Tool for configuring your PIV-enabled YubiKey
https://developers.yubico.com/yubikey-piv-manager/
GNU General Public License v3.0
39 stars 7 forks source link

YubiKey PIV Manager 1.4.2 can't detect YubiKey 4 in Win10 1709 #27

Closed patrickgardella closed 7 years ago

patrickgardella commented 7 years ago

Good morning!

Due to my work, I'm running a Windows Insider Build on VMWare Fusion using an Apple USB3 adapter. The PIV Manager doesn't detect the YubiKey4. I tried all the steps in the other issue with no success.

Windows 10 Pro version 1709 build 16299.0 PIV Manager 1.4.2c

image

On the Mac side of things, it all works fine:

image

The YubiKey Smart Card is greyed out in the Device Manager. I've tried removing the device and reinstalling it. I've tried removing all the USB devices and restarted. And I've updated the Registry Key as noted in the other issue (which fixed it for the Creators Update).

image

Any ideas?

emlun commented 7 years ago

Thank you for the report. Does YubiKey Manager detect the YubiKey on your machine? If so, can you check if the command line tool can successfully run ykman piv info?

patrickgardella commented 7 years ago

It does not.

The CLI returns: C:\Program Files (x86)\Yubico\YubiKey Manager>ykman piv info Usage: ykman [OPTIONS] COMMAND [ARGS]...

Error: No YubiKey detected!

emlun commented 7 years ago

Does ykman info also output Error: No YubiKey detected? If so, have you checked that your VM engine is set up to forward the USB device through from the host OS to the Windows guest?

patrickgardella commented 7 years ago

ykman info returns Error: No YubiKey detected

It is set up to forward the USB device, and Windows detects it. That's how the item in device manager was created. But when I just looked, the Eject USB from the taskbar lists "Virtual USB CCID". I don't think that's normal, is it?

I'm starting to think this is a VMWare issue, not a Yubico one.

emlun commented 7 years ago

Yes, at least it's not specific to yubikey-piv-manager. I've confirmed it works with this Vagrant VM running in VirtualBox, you're welcome to try it yourself.

I'll close this issue for now. If anything new comes up, please reopen it and let us know!

patrickgardella commented 7 years ago

Thanks for the help!