workspaces-issues icon indicating copy to clipboard operation
workspaces-issues copied to clipboard

WebSerial/WebUSB Support?

Open lanrat opened this issue 3 years ago • 5 comments

Would it be possible to implement WebSerial and/or WebUSB support?

This could allow users to share serial or some USB devices with Kasm images while they are using them just with their browser?

lanrat avatar Aug 05 '22 23:08 lanrat

We are working on adding additional device pass through to the platform. Game pad and webcam are in the works. Arbitrary USB device support is much harder though

mmcclaskey avatar Aug 06 '22 10:08 mmcclaskey

The use case I was specifically thinking of was for programming microcontrollers. Most use serial so WebSerial would work great. Some may use DFU or other methods that would require full WebUSB support.

lanrat avatar Aug 07 '22 05:08 lanrat

Our company uses usb security key's for quite a number of services. It would be great if we can use webusb, and start a POC for kasm workspaces.

echo-devnull avatar Sep 08 '23 05:09 echo-devnull

@echo-devnull unfortunately, webusb does not allow the use of security keys, for security measures. It would allow any site to impersonate other sites if so.

lanrat avatar Sep 08 '23 15:09 lanrat

@echo-devnull unfortunately, webusb does not allow the use of security keys, for security measures. It would allow any site to impersonate other sites if so.

Hmm that's a good point. So all that is left is to authenticate to KASM using keys, and the rest should trust this network or something along those lines...

echo-devnull avatar Sep 13 '23 05:09 echo-devnull