-
Risking that this has been asked several times already (I did search for similar topics), but I'm stuck and need some advice on how to proceed. I recently switched to Fedora Silverblue 41 and had been using Ubuntu and Pop! OS before where KeePassXC worked very well (thank you). Mentioning this because I'm still a bit unfamiliar with that new system base. Given that Silverblue is immutable I'm running almost everything as Flatpak and KeePassXC is no exception. It is important to note though that Firefox 133 on my system is not a Flatpak but ships with the base system. When trying to connect via the Addon I get the "Key exchange was not successful" message. I read the troubleshooting guide. The native-messaging JSON exists and seems to be correct. Using strace and looking into the journal I see that there is the message "Another instance of KeePassXC is already running.". I found a discussion from a few years ago about the same problem stating that the Flatpak was "broken" and was not maintained by this project. This seems to have changed if I have seen this correctly? I have excluded the possibility that this has something to do with SELinux + Firefox. I temporarily switched off SELinux but the problem was the same. Do you have any hints on what causes this another instance running message (if that is even the problem) and what else I could try to look for? Maybe there are also some more things in the Troubleshooting guide I have overlooked but at least it does not seem to specifically cover KeePassXC running in a Flatpak. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
This indicates Firefox isn't sending the expected command line parameters so that we start the proxy executable instead of the main application. Flatpak relies on a wrapper script that decides what to start based on the parameters. This can happen if Firefox has a bug, silverblue is stripping the call, or something else entirely is happening. This could also be caused by apparmor or fire jail on Firefox side. |
Beta Was this translation helpful? Give feedback.
Thanks, that pointed me in the right direction. In
strace
I see the following:According to what is in the wrapper script this then should start the proxy.
I then executed
flatpak run --command=bash org.keepassxc.KeePassXC
and had a look into/app/bin
but there was nokeepassxc-wrapper
as defined in the Flatpak manifest. I then double-checked and I had installed the Flatpak fromregistry.fedo…