Skip to content

Commit a56d34a

Browse files
qdiikmk3
authored andcommitted
profiles: keepassxc: add new socket location
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] https://github.com/keepassxreboot/keepassxc/blob/6b1ab1a5edd66ac10706a2fb5af34ec9458a901d/src/browser/BrowserShared.cpp#L41 [2] https://github.com/netblue30/firejail/blob/b89ec818926b4bcd3a58bb4e2a67b68a8090ba1c/etc/inc/disable-common.inc#L667
1 parent 92f4820 commit a56d34a

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

etc/profile-a-l/chromium-common.profile

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ include chromium-common.local
1313
# chromium-common.local.
1414
# Note: Start KeePassXC before the web browser and keep it open to allow
1515
# communication between them.
16+
#noblacklist ${RUNUSER}/app
17+
#whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC
1618
#whitelist ${RUNUSER}/kpxc_server
1719
#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
1820

etc/profile-a-l/firefox-common-addons.profile

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ include firefox-common-addons.local
44

55
# Prevent whitelisting in ${RUNUSER}
66
ignore whitelist ${RUNUSER}/*firefox*
7+
ignore whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC
78
ignore whitelist ${RUNUSER}/psd/*firefox*
89
ignore whitelist ${RUNUSER}/kpxc_server
910
ignore whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer

etc/profile-a-l/firefox-common.profile

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ include firefox-common.local
2020
# firefox-common.local.
2121
# Note: Start KeePassXC before the web browser and keep it open to allow
2222
# communication between them.
23+
#noblacklist ${RUNUSER}/app
24+
#whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC
2325
#whitelist ${RUNUSER}/kpxc_server
2426
#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
2527

etc/profile-a-l/keepassxc.profile

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ noblacklist ${HOME}/.config/keepassxc
1313
noblacklist ${HOME}/.config/KeePassXCrc
1414
noblacklist ${HOME}/.keepassxc
1515
noblacklist ${DOCUMENTS}
16+
noblacklist ${RUNUSER}/app
1617

1718
# Allow browser profiles, required for browser integration.
1819
noblacklist ${HOME}/.config/BraveSoftware
@@ -62,8 +63,11 @@ include disable-xdg.inc
6263
#whitelist ${HOME}/.config/KeePassXCrc
6364
#include whitelist-common.inc
6465

66+
mkdir ${RUNUSER}/app/org.keepassxc.KeePassXC
67+
whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC
6568
whitelist /usr/share/keepassxc
6669
include whitelist-run-common.inc
70+
include whitelist-runuser-common.inc
6771
include whitelist-usr-share-common.inc
6872
include whitelist-var-common.inc
6973

0 commit comments

Comments
 (0)