-
-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-Snap Firefox does not connect to Flatpak KeePassXC unless AppArmor is disabled #2176
Comments
Do the paths differ in the guide compared to your system? |
Which paths? I assume they don't, since the
|
Same issue here. It seems we need to adapt the |
I can now confirm that the AppArmor rules outlined in the troubleshooting guide work fine with the non-FlatPak version of KeePassXC. |
Ok, but how does this resolve the problem with the flatpak version of KeePassXC? After all, this is what the issue is all about 🤔 |
I put this to a test and adding the following line to the config file worked like a charm for me: Can you confirm it works? Adding this to the guide. Thanks. |
Thanks for the quick response. For me (Ubuntu 22.04) the corresponding file location is |
The other AppArmor rules are identical to the ones in the Troubleshooting Guide. Gotta re-verify this though. EDIT: Ok, it still doesn't work. Enforcing the profile on while Firefox is active does not work properly. A restart was needed -> then it did not work (as expected). |
The flatpak uses a script to call the right binary, you may need to white-list the script as well |
That didn't help either. Added all these three and it still doesn't work:
|
Tried some more steps, this time using absolute paths instead of the symlinks. Btw, Added these to the rules because AppArmor complained even for
After this |
Expected Behavior
The extension should be able to connect to KeePassXC without issue.
Current Behavior
"Key exchange was not successful." is shown instead.
Possible Solution
Disabling AppArmor completely works around the issue, but isn't ideal.
Steps to Reproduce (for bugs)
sudo aa-disable /etc/apparmor.d/usr.bin.firefox
(may require theapparmor-utils
package)Debug info
KeePassXC - 2.7.7 (Flatpak)
KeePassXC-Browser - 1.9.0.3
Operating system: Linux (KDE neon / Ubuntu)
Browser: Firefox (not the Snap version)
Additionally, I tried what was recommended in the troubleshooting guide for AppArmor (link), but it made no difference. Even changing
/usr/bin/keepassxc-proxy ixr,
to/var/lib/flatpak/exports/bin/org.keepassxc.KeePassXC ixr,
didn't help.The text was updated successfully, but these errors were encountered: