Just in case someone else is having similar problems when trying to get both flatpaked Firefox and KeepassXC to work:
Enabling the Communication for the first user on the computer just works the same as in the Tutorials by rugk.[1]
When trying to this for another user on the same system, this How-To will fail on Aurora, as KeepassXC-Browser won’t be able to connect to KeepassXC. To make this work again, the org.keepassxc.keepassxc_browser.json File needs to be edited. The path-Parameter needs to be updated, so it doesn’t run in the path /home/... but /var/home/…:
{
"allowed_extensions": [
"keepassxc-browser@keepassxc.org"
],
"description": "KeePassXC integration with native messaging support, workaround for flatpaked Firefox, see
",
"name": "org.keepassxc.keepassxc_browser",
"path": "/var/home/REPLACE_WITH_USERNAME/.var/app/org.mozilla.firefox/.mozilla/native-messaging-hosts/keepassxc-proxy",
"type": "stdio"
}
The reason for this is unclear to me, as /home should just work like bind-mount and work the same on all users.
Afterwards do all the remaining steps the same way as the How-To by rugk says.
Remember, if your second user isn’t an Adminstrator-Account, when Allowing the Firefox Flatpak Access to the socket, to use the command
$ flatpak override --user --filesystem=xdg-run/kpxc_server:ro org.mozilla.firefox
instead (I’m not sure, whether it is needed after all).