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

modif: keep users group unless nou2f is used #6664

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

northboot
Copy link

To make hardware tokens available for ordinary users, some distributions include a udev rule to make the corresponding entry in /dev/... available for users belonging to a specific group.

The options noroot and nogroups currently break this behavior.

This PR implements a fix that checks whether browser-disable-u2f is set to no in order to disable these two options.

@kmk3 kmk3 changed the title Fix U2F for Firefox/Chromium profiles: fix u2f for firefox/chromium Feb 25, 2025
Copy link
Collaborator

@kmk3 kmk3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make hardware tokens available for ordinary users, some distributions
include a udev rule to make the corresponding entry in /dev/... available for
users belonging to a specific group.

Which group?

It would likely be better to just whitelist the group(s) if nou2f is not
used.

For example, see:

Also, does the issue still happen with
firejail-git?

@northboot northboot force-pushed the master branch 2 times, most recently from 9ffcbfc to aa0a69a Compare February 25, 2025 03:12
@northboot
Copy link
Author

northboot commented Feb 25, 2025

Thanks for the feedback. The group in question is "users" on Void Linux.

The issue is also present on the latest build, but based on your example I've implemented a fix to keep that group: 8576b7d

This group is used on Void Linux to enable members to access hardware
tokens used for U2F.
@kmk3 kmk3 changed the title profiles: fix u2f for firefox/chromium modif: keep users group unless nou2f is used Feb 25, 2025
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

Successfully merging this pull request may close these issues.

2 participants