mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5447] firefox: cannot communicate with keepassxc #2998
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#2998
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 @neuroretransmit on GitHub (Nov 2, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5447
Description
KeePassXC-Browser fails to communicate with KeePassXC (2.7.1-1, 2.7.4-1) using Firefox 106.0.3-1. Firefox 106.0.2-1 was working just fine.
Versions of KeePassXC tested : 2.7.1-1, 2.7.4-1
Steps to Reproduce
Running either of the versions of KeePassXC listed above, run Firefox 106.0.3-1 (I'm on Arch Linux, I'd assume behavior is the same elsewhere).
LC_ALL=C firejail keepassxcLC_ALL=C firejail firefoxLC_ALL=C firejail --noprofile firefoxafter closing the previous instance - communication will succeed.Expected behavior
Successful key exchange/native-messaging-hosts transmission via keepassxc-proxy
Actual behavior
Key exchange failure/no transmission of username/password.
Behavior without a profile
KeePassXC is fine to run with a profile, Firefox is not. Using
--noprofileon Firefox allows the communication from KeePassXC to KeePassXC-BrowserAdditional context
Any other detail that may help to understand/debug the problem
Environment
All KeePassXC-Browser relevant options enabled in
firefox.profile(+ private-etc),firefox-common.profile(for private-etc),firefox-common-addons.profile,keepassxc.profile,Checklist
/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 firefoxOutput of `Debug Addon` console
@gellnerm commented on GitHub (Nov 2, 2022):
Confirmed. Here is some further information:
So it cannot mkdir("/run/user/1000/app/org.keepassxc.KeePassXC", 0777) because access denied.
Here is my firefox.profile:
I tried to add
whitelist ${RUNUSER}/app/org.keepassxc.KeePassXCbut that gives the same errors.
@rusty-snake commented on GitHub (Nov 2, 2022):
#5444
@neuroretransmit commented on GitHub (Nov 2, 2022):
Closing. @gellnerm - @rusty-snake's latest comment in #5444 is the solution. No other edits to
firefox.local/keepasxc.localare required. That reply simplified my config significantly.@rusty-snake commented on GitHub (Nov 3, 2022):
Reopening as reminder to fix this for the next release.
@WhyNotHugo commented on GitHub (Nov 5, 2022):
noblacklist ${RUNUSRR]/appis required.