I have a Proxmox VE server in my homelab with a newly-deployed Windows VM that I need to attach a Yubikey USB device to. The VM used to be a VMWare Workstation VM and the Yubikey works fine while plugged into the desktop where Workstation is installed. I exported the Workstation VM to OVA (after removing VMWare Tools) and imported it into my Proxmox VE server; Windows boots up just fine. When I try to connect the Yubikey via Spice USB driver, I get an error message: "USB redirection error: Could not redirect Yubico.com Yubikey 4/5 OTP+UTF+CCID: could not claim interface 2 (configuration 1): LIBUSB_ERROR_NOT_SUPPORTED".
I originally installed the VirtIO drivers downloaded directly from the website (virtio-win-gt-x64.msi, created 11/3/2024) prior to exporting the OVA. Today I tried downloading the latest VirtIO iso (virtio-win-0.1.271.iso) and installing virtio-win-gt-x64.msi, created 4/7/2025, as well as the VirtIO guest tools. Spice is now forcing me to hit Ctrl Alt R to release the mouse, (which I very much do not like and might uninstall the Spice tools unless I figure out how to disable that), but otherwise it doesn't seem to have improved the Yubikey redirection issue.
I've done some searching and people seem to be able to use Yubikey with their Proxmox VM via Spice. Can anyone point me in the right direction for what I need to change to get mine working?
I originally installed the VirtIO drivers downloaded directly from the website (virtio-win-gt-x64.msi, created 11/3/2024) prior to exporting the OVA. Today I tried downloading the latest VirtIO iso (virtio-win-0.1.271.iso) and installing virtio-win-gt-x64.msi, created 4/7/2025, as well as the VirtIO guest tools. Spice is now forcing me to hit Ctrl Alt R to release the mouse, (which I very much do not like and might uninstall the Spice tools unless I figure out how to disable that), but otherwise it doesn't seem to have improved the Yubikey redirection issue.
I've done some searching and people seem to be able to use Yubikey with their Proxmox VM via Spice. Can anyone point me in the right direction for what I need to change to get mine working?