Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

U2F support. #51

Open
jcgruenhage opened this issue Nov 19, 2017 · 4 comments
Open

U2F support. #51

jcgruenhage opened this issue Nov 19, 2017 · 4 comments

Comments

@jcgruenhage
Copy link

Firefox has U2F support hidden behind a config flag. I've just tried it with Firefox 57 on Fedora 27, it worked, but it didn't work in the Flatpak Nightly version.

@xhorak
Copy link
Owner

xhorak commented Nov 21, 2017

@alexlarsson The implementation needs to use libudev.so.1, I guess it's hardly doable ATM, right?

@alexlarsson
Copy link

Its possible to build libudev in a flatapak. Whether it works depends on how the app uses it. If you grant --device=all permission then all the devices will appear in /dev, and libudev can see them + /sys and do some stuff.

However, the host side udev database which is build by udevd is not visible in the sandbox, and the upstream claims it is not abi stable so we can't expose it.

I'd say, try it.

@rugk
Copy link

rugk commented Mar 19, 2019

Obviously (for isolation/sandboxing reasons, i.e. security reasons) one does not want to expose all USB devices to a browser application.

So I decided to tackle this issue, where it can (I think) be solved: In flatpak.

Here is a new issue:
flatpak/xdg-desktop-portal#989

@jtagcat
Copy link

jtagcat commented Mar 25, 2020

A permanent temporary solution would be to run sudo flatpak override --device=all org.mozilla.FirefoxDevEdition (and revert withsudo flatpak override --reset org.mozilla.FirefoxDevEdition) (and optionally replace sudo with --user).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants