hrvach / deskhop

Fast Desktop Switching Device
GNU General Public License v3.0
6.22k stars 177 forks source link

HID passthrough #163

Open p3lim opened 1 month ago

p3lim commented 1 month ago

We've got a use-case where we would like to use the two ports for:

The logitech receiver works just fine, it'll handle multiple devices since they're just HID keyboard/mouse.

The yubikey however only seem to support the HID keyboard it emulates for OTP, but FIDO2/U2F doesn't seem to work at all. This is not really surprising, as deskhop's job is to just repeat the HID inputs, not facilitate two-way communication needed for FIDO2/U2F (e.g. generic HID).

Is this something that could be possible though? I saw yubikeys were mentioned in #58.

hrvach commented 3 weeks ago

I'll put this on the potential feature list after doing some exploratory work to figure out how much complexity would this add. It's probably doable, but not sure how many people would actually be using it. It's a pity FIDO2 tokens are not more widespread, we all definitely need more security. :) Thanks for the suggestion, I'll let you know after doing some research.