mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2531] firefox: "browser-disable-u2f no" does not enable u2f #1637
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1637
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @njfox on GitHub (Mar 6, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2531
I'm using firejail 0.9.58.2 on Arch Linux with apparmor enabled. I'm using a NitroKey FIDO U2F security key.
The U2F key is not working in FireFox, even after explicitly setting
browser-disable-u2f noin/etc/firejail/firejail.config. The only way to get the key working was to completely comment out the following line in/etc/firejail/firefox-common.profile:More information in the discussion here: #2247
@njfox commented on GitHub (Mar 6, 2019):
Upon further testing, I've noticed that 2 things are required to make the U2F key work in FireFox under firejail:
browser-disable-u2f noin/etc/firejail/firejail.config. Is there some security benefit to disabling U2F keys by default?@ghost commented on GitHub (Mar 6, 2019):
@njfox Have you tried
ignore nou2fin a firefox-common.local file or in your browser start command yet?@SkewedZeppelin commented on GitHub (Mar 6, 2019):
@glitsj16 afaik
ignore nou2fwon't work sinceignorematches the whole line which in this case has a conditional prepended to it.@njfox to confirm, you did uncomment the line in
firejail.config?That will never work, the sandbox has its state set at start and cannot be changed after.
Yes. See the reasoning here https://github.com/netblue30/firejail/issues/2194#issue-369906681
@njfox commented on GitHub (Mar 6, 2019):
Here is my firejail config that makes the key work:
If the other behavior is known/expected then I think we can go ahead and close this issue.
@ghost commented on GitHub (Mar 6, 2019):
@SkewedZeppelin Thanks for explaining. Now you mention ignore matching the
wholeline I should have known that won't work. I have a fewignore ignore blahlines in local overrides and remember being happily surprised firejail is that smart 😄 .