x11docker icon indicating copy to clipboard operation
x11docker copied to clipboard

Webauthn and x11 browser

Open jcalfee opened this issue 2 years ago • 1 comments

Have you every tried to configure a container running a browser to support a 2nd factor authentication device like the YubiKey? I'm finding a maze of acronyms and protocols and history and a complete lack of the basics: what is this ports? drivers? No idea really how this browsers is hooking up with compatible devices and this use-case is pretty unique to x11docker type app setups. My test shows it is not working when the browser is in a docker container. Do you already have an idea on how this might work or should I keep digging for this information? Thank you!

jcalfee avatar Feb 12 '23 15:02 jcalfee

I have no experience with YubiKey or similar things. As a first attempt, you could try to run with --privileged. If that works, you'll likely need to share some special device files in /dev. Add --privileged as a custom docker option as in

x11docker [OPTIONS] -- CUSTOM_RUN_OPTIONS -- IMAGE [COMMAND [ARG1 ARG2 ...]]

mviereck avatar Feb 15 '23 14:02 mviereck