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

Better sandbox USB access #26

Open
v1993 opened this issue Dec 26, 2024 · 0 comments
Open

Better sandbox USB access #26

v1993 opened this issue Dec 26, 2024 · 0 comments

Comments

@v1993
Copy link
Owner

v1993 commented Dec 26, 2024

Flatpak recently added the --device=usb finish arg and the USB portal. Both are still in beta as of now.

  • The former is still somewhat fresh and will have no effect on earlier Flatpak versions, effectively breaking compatibility. It can replace the existing --device=all without any need for further changes, but has slightly worse sandboxing compared to using the USB portal.
  • The latter is as of writing this not even in arch repos, so very very fresh, but it allows to be limited to access only the nintendo switch running nxdumptool. Note that it'll require coding in support for it (and it's not even a part of libportal as of now), but it would allow to do optimal sandboxing and also drop the network permission for hotplug (as it'll be handled by the desktop portal).

Sadly, I don't think either will allow me to drop manually installing udev rules, but still, better sandboxing is nice.

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

1 participant