Skip to content

Commit bb4f668

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. [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 b89ec81 commit bb4f668

6 files changed

+13
-0
lines changed

etc/profile-a-l/cachy-browser.profile

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ whitelist /usr/share/cachy-browser
2121

2222
# To enable KeePassXC Plugin add one of the following lines to your cachy-browser.local.
2323
# Note: Start KeePassXC before CachyBrowser and keep it open to allow communication between them.
24+
#noblacklist ${RUNUSER}/app
25+
#whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC
2426
#whitelist ${RUNUSER}/kpxc_server
2527
#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
2628

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.profile

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ whitelist ${HOME}/.mozilla
3131

3232
# Add one of the following whitelist options to your firefox.local to enable KeePassXC Plugin support.
3333
# Note: Start KeePassXC before Firefox and keep it open to allow communication between them.
34+
#noblacklist ${RUNUSER}/app
35+
#whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC
3436
#whitelist ${RUNUSER}/kpxc_server
3537
#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
3638

etc/profile-a-l/floorp.profile

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ whitelist ${HOME}/.floorp
2020

2121
# To enable KeePassXC Plugin add one of the following lines to your floorp.local.
2222
# Note: Start KeePassXC before floorp and keep it open to allow 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

etc/profile-a-l/librewolf.profile

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ whitelist ${HOME}/.librewolf
2020

2121
# To enable KeePassXC Plugin add one of the following lines to your librewolf.local.
2222
# Note: Start KeePassXC before Librewolf and keep it open to allow 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

0 commit comments

Comments
 (0)