From 479db2a75dbee9d0c3623ebcc060a07dad98baa8 Mon Sep 17 00:00:00 2001 From: Victor Lavaud Date: Sat, 22 Jun 2024 16:06:58 +0200 Subject: [PATCH] Add comment to include `noblacklist ${RUNUSER}/app` in browser profiles 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. --- etc/profile-a-l/firefox.profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/profile-a-l/firefox.profile b/etc/profile-a-l/firefox.profile index 009a0d11969..4e725019eac 100644 --- a/etc/profile-a-l/firefox.profile +++ b/etc/profile-a-l/firefox.profile @@ -31,6 +31,8 @@ whitelist ${HOME}/.mozilla # Add one of the following whitelist options to your firefox.local to enable KeePassXC Plugin support. # Note: Start KeePassXC before Firefox 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