mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6700] librewolf: failed to detect pkcs11 opensc smartcard #3342
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#3342
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 @marek22k on GitHub (Apr 4, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6700
Description
I would like to use my Nitrokey as a smartcard in Firefox. To do this, I added it to https://github.com/OpenSC/OpenSC/wiki/Installing-OpenSC-PKCS11-Module-in-Firefox,-Step-by-Step. It is displayed without Firejail, but not with it.
Steps to Reproduce
LC_ALL=C firejail /usr/bin/librewolfExpected behavior
Actual behavior
Behavior without a profile
The Nitrokey is displayed.
Environment
uname -srm):Linux 6.13.7-hardened1-1-hardened x86_64mesa 1:24.3.3-2"): librewolf 136.0.4-1
firejail --version):firejail version 0.9.74Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.Log
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/programhttps://gist.github.com/marek22k/0266574e8874bfe47762e790ec7abdd7
@marek22k commented on GitHub (Apr 4, 2025):
Same for my internal tpm device:
@kmk3 commented on GitHub (Apr 18, 2025):
Does it work with
ignore nou2forignore private-dev?Where does the device appear in /dev?
What is the output of the following:
Considering #6704, does it work with
firejail-git?
@marek22k commented on GitHub (Apr 18, 2025):
does not work.
I think
/dev/hidraw2.No, it doesn't work.
@kmk3 commented on GitHub (Apr 18, 2025):
Can you try to verify this for sure?
What is the output with firejail-git and the following?
What is the output of each of the following commands?
@marek22k commented on GitHub (Apr 18, 2025):
It is at least the device that appears when I insert the Nitrokey.
Also doesn't work.
The changes to the
.localare automatically applied the next time LibreWolf is started, right?And without
.localmodifications:@kmk3 commented on GitHub (Apr 19, 2025):
Alright, makes sense to me.
Yes, see:
Considering the
tssgroup, the issue could be related tonoroot/nogroups.Nice, this confirms that the following commands affect the output:
I see that
whitelist /usr/share/p11-kitis already inwhitelist-usr-share-common.inc.
To narrow the issue down, can you try commenting librewolf.profile /
firefox-common.profile until it works?