[GH-ISSUE #3940] brave: u2f does not work #2462

Closed
opened 2026-05-05 09:08:42 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @NightProwler-dc on GitHub (Feb 1, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3940

U2F device doesn't work when using firejail to start brave-browser

U2f device is plugged in before starting the browser, having "BROWSER_DISABLE_U2F no" in brave-browser.local. but services can't detect my plugged in u2f device. If I don't use firejail to start brave-browser then u2f can work.

It seems I missed something but I can't find how am I supposed to enable u2f devices. I also saw something like
?BROWSER_DISABLE_U2F: nou2f in chromium-common.profile but ain't it supposed to be 'no' instead of 'nou2f'?

Thanks for any help.

Originally created by @NightProwler-dc on GitHub (Feb 1, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/3940 U2F device doesn't work when using firejail to start brave-browser U2f device is plugged in before starting the browser, having "BROWSER_DISABLE_U2F no" in brave-browser.local. but services can't detect my plugged in u2f device. If I don't use firejail to start brave-browser then u2f can work. It seems I missed something but I can't find how am I supposed to enable u2f devices. I also saw something like `?BROWSER_DISABLE_U2F: nou2f `in chromium-common.profile but ain't it supposed to be 'no' instead of 'nou2f'? Thanks for any help.
Author
Owner

@SkewedZeppelin commented on GitHub (Feb 1, 2021):

https://github.com/netblue30/firejail/issues/3939#issuecomment-770764222

<!-- gh-comment-id:770765435 --> @SkewedZeppelin commented on GitHub (Feb 1, 2021): https://github.com/netblue30/firejail/issues/3939#issuecomment-770764222
Author
Owner

@NightProwler-dc commented on GitHub (Feb 1, 2021):

#3939 (comment)

It looks like this in firejail.config now:

# Disable U2F in browsers, default enabled.
# browser-disable-u2f yes

Should I change it to
browser-disable-u2f no
?

What if I only want to enable U2F for a certain program like brave-browser?

<!-- gh-comment-id:770769103 --> @NightProwler-dc commented on GitHub (Feb 1, 2021): > [#3939 (comment)](https://github.com/netblue30/firejail/issues/3939#issuecomment-770764222) It looks like this in firejail.config now: ``` # Disable U2F in browsers, default enabled. # browser-disable-u2f yes ``` Should I change it to `browser-disable-u2f no` ? What if I only want to enable U2F for a certain program like brave-browser?
Author
Owner

@rusty-snake commented on GitHub (Feb 1, 2021):

Should I change it to
browser-disable-u2f no
?

yes

What if I only want to enable U2F for a certain program like brave-browser?

brave-browser.local:

ignore nou2f
ignore private-dev
<!-- gh-comment-id:770771983 --> @rusty-snake commented on GitHub (Feb 1, 2021): > Should I change it to browser-disable-u2f no ? yes > What if I only want to enable U2F for a certain program like brave-browser? `brave-browser.local`: ``` ignore nou2f ignore private-dev ```
Author
Owner

@NightProwler-dc commented on GitHub (Feb 1, 2021):

Many thanks. I hope this question be added in FAQ maybe.

<!-- gh-comment-id:770775468 --> @NightProwler-dc commented on GitHub (Feb 1, 2021): Many thanks. I hope this question be added in FAQ maybe.
Author
Owner

@NightProwler-dc commented on GitHub (Feb 1, 2021):

Should I change it to
browser-disable-u2f no
?

yes

What if I only want to enable U2F for a certain program like brave-browser?

brave-browser.local:

ignore nou2f
ignore private-dev

This actually doesn't work.

What I tested:
Keep the default firejail.config (comment on #browser-disable-u2f no)
add in brave-browser.local

ignore nou2f
ignore private-dev

connect u2f device and then start the browser

u2f device does not work

<!-- gh-comment-id:770884345 --> @NightProwler-dc commented on GitHub (Feb 1, 2021): > > Should I change it to > > browser-disable-u2f no > > ? > > yes > > > What if I only want to enable U2F for a certain program like brave-browser? > > `brave-browser.local`: > > ``` > ignore nou2f > ignore private-dev > ``` This actually doesn't work. What I tested: Keep the default firejail.config (comment on #browser-disable-u2f no) add in brave-browser.local ``` ignore nou2f ignore private-dev ``` connect u2f device and then start the browser u2f device does not work
Author
Owner

@rusty-snake commented on GitHub (Feb 1, 2021):

Gotcha! We need brave.local my mistake.

<!-- gh-comment-id:770971054 --> @rusty-snake commented on GitHub (Feb 1, 2021): Gotcha! We need `brave.local` my mistake.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2462
No description provided.