Skip to content

Commit

Permalink
Add comment to include noblacklist ${RUNUSER}/app in browser profiles
Browse files Browse the repository at this point in the history
KeePassXC browser extension look for KeePassXC in the /run/user/app directory (https://github.com/keepassxreboot/keepassxc/blob/6b1ab1a5edd66ac10706a2fb5af34ec9458a901d/src/browser/BrowserShared.cpp\#L41). Unfortunately, /run/user/app seems to be blacklisted in disable-common.inc under the flatpak section (https://github.com/netblue30/firejail/blob/b89ec818926b4bcd3a58bb4e2a67b68a8090ba1c/etc/inc/disable-common.inc\#L667), as a result, KeePassXC extension cannot connect to it.
  • Loading branch information
qdii committed Jun 22, 2024
1 parent 596cea3 commit 26f3d90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions etc/profile-a-l/chromium-common.profile
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,11 @@ blacklist ${PATH}/wget2
# The file dialog needs to work without d-bus.
?HAS_NODBUS: env NO_CHROME_KDE_FILE_DIALOG=1

# Add one of the following whitelist options to your chromium-common.local to enable KeePassXC Plugin support.
# Note: Start KeePassXC before chromium or google-chrome and keep it open to allow communication between them.
#whitelist ${RUNUSER}/kpxc_server
#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
#noblacklist ${RUNUSER}/app

# Redirect
include blink-common.profile
1 change: 1 addition & 0 deletions etc/profile-a-l/firefox.profile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ whitelist ${HOME}/.mozilla
# Note: Start KeePassXC before Firefox and keep it open to allow communication between them.
#whitelist ${RUNUSER}/kpxc_server
#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
#noblacklist ${RUNUSER}/app

whitelist /usr/share/firefox
whitelist /usr/share/gnome-shell/search-providers/firefox-search-provider.ini
Expand Down

0 comments on commit 26f3d90

Please sign in to comment.