mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
profiles: keepassxc: add new socket location (#6391)
The KeePassXC browser extension looks for the KeePassXC socket at
`${RUNUSER}/app/org.keepassxc.KeePassXC`[1].
But `${RUNUSER}/app` seems to be blacklisted in disable-common.inc under the
flatpak section[2], so the KeePassXC extension cannot connect to it.
Fixes #5447.
Relates to #3984.
[1] 6b1ab1a5ed/src/browser/BrowserShared.cpp (L41)
[2] b89ec81892/etc/inc/disable-common.inc (L667)
This commit is contained in:
parent
92f4820256
commit
c2cd8b72c6
4 changed files with 9 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ include chromium-common.local
|
|||
# chromium-common.local.
|
||||
# Note: Start KeePassXC before the web browser and keep it open to allow
|
||||
# communication between them.
|
||||
#noblacklist ${RUNUSER}/app
|
||||
#whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC
|
||||
#whitelist ${RUNUSER}/kpxc_server
|
||||
#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ include firefox-common-addons.local
|
|||
|
||||
# Prevent whitelisting in ${RUNUSER}
|
||||
ignore whitelist ${RUNUSER}/*firefox*
|
||||
ignore whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC
|
||||
ignore whitelist ${RUNUSER}/psd/*firefox*
|
||||
ignore whitelist ${RUNUSER}/kpxc_server
|
||||
ignore whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ include firefox-common.local
|
|||
# firefox-common.local.
|
||||
# Note: Start KeePassXC before the web browser and keep it open to allow
|
||||
# communication between them.
|
||||
#noblacklist ${RUNUSER}/app
|
||||
#whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC
|
||||
#whitelist ${RUNUSER}/kpxc_server
|
||||
#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ noblacklist ${HOME}/.config/keepassxc
|
|||
noblacklist ${HOME}/.config/KeePassXCrc
|
||||
noblacklist ${HOME}/.keepassxc
|
||||
noblacklist ${DOCUMENTS}
|
||||
noblacklist ${RUNUSER}/app
|
||||
|
||||
# Allow browser profiles, required for browser integration.
|
||||
noblacklist ${HOME}/.config/BraveSoftware
|
||||
|
|
@ -62,8 +63,11 @@ include disable-xdg.inc
|
|||
#whitelist ${HOME}/.config/KeePassXCrc
|
||||
#include whitelist-common.inc
|
||||
|
||||
mkdir ${RUNUSER}/app/org.keepassxc.KeePassXC
|
||||
whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC
|
||||
whitelist /usr/share/keepassxc
|
||||
include whitelist-run-common.inc
|
||||
include whitelist-runuser-common.inc
|
||||
include whitelist-usr-share-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue