Open Bug 1827410 Opened 2 years ago Updated 10 months ago

Security devices not detected inside flatpak after initial scan

Categories

(Core :: DOM: Web Authentication, defect, P3)

defect

Tracking

()

People

(Reporter: msirringhaus, Unassigned)

References

(Blocks 1 open bug)

Details

If we are running in flatpak, security devices (e.g. Yubikeys) are only usable, if they are plugged in before we need to use them. Discovering them (via udev-monitor), while a FIDO-request is already ongoing (i.e. already showing "You can connect one now"), does not work.

This is a generic flatpak-issue which also happens despite using --devices=all-permissions. Chromium-flatpak has the same problem. See also:

https://github.com/flatpak/flatpak/issues/961
and
https://github.com/flatpak/xdg-desktop-portal/issues/227

Possible workaround, to avoid confusion:
If we are running in flatpak, show an additional dialog that prompts the user to plug in their device before we start scanning the device tree.
This probably also needs a user-interaction, otherwise we won't know, when the device has been plugged in.
Or maybe we can hijack the Anonymize-prompt for this.

Severity: -- → S3
Priority: -- → P3
Duplicate of this bug: 1864785
You need to log in before you can comment on or make changes to this bug.