Webauthn and x11 browser
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!
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 ...]]