With Linux 6.8 samples/hidraw/hid-example.c, I get $ sudo ./demo start [LOG] Log Level Set: 2 panic: Invalid USB Interface bRequest: 9 goroutine 9 [running]: github.com/bulwarkid/virtual-fido/usbip...
left: Somu (actual FIDO2 device)
right: virtual-fido (so-called emulator)
shit's so ass fr
Noting this down in case anyone else spends a few hours bisecting the issue like I did – this means that, for example: FIDO_EXT_HMAC_SECRET is accepted but doesn't do anything, a cert created with ...
what's worse, I can repro this by replaying this transaxion with
exec 1<>/dev/hidraw0 0<&1
printf "\0\377\377\377\377\206\0\10\244\317\330\221\374f \34\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
head -c 64
OTOH idk if this is real or a QEMU passthrough issue or usbip issue or some hellish combo of all of the above