Bug 2334705

Summary: Browser integration in Fedora Flatpak of KeePassXC broken
Product: [Fedora] Fedora Reporter: nebulon42 <nebulon42>
Component: keepassxcAssignee: Germano Massullo (Thetra) <germano.massullo>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 41CC: daniel, germano.massullo, mikel, nixuser, nonamedotc, redhat
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-28 22:42:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description nebulon42 2024-12-28 13:02:09 UTC
Concerns the Fedora Flatpak (from registry.fedoraproject.org). The Flathub Flatpak works.

The problem might be due to the Fedora Flatpak being build from the RPM. In the Flathub Flatpak of KeePassXC a wrapper script decides whether to start the KeePassXC proxy or the application itself. It does this based on command line parameters coming in.

In the Fedora Flatpak the wrapper script does not exist within /app/bin and thus it is always tried to start a new KeePassXC instance instead of the proxy when the browser initiates a connection. This then results in the message that a instance of KeePassXC is already running.

Reproducible: Always

Steps to Reproduce:
1. Install KeePassXC Flatpak from registry.fedoraproject.org.
2. Install the KeePassXC Browser extension in Firefox.
3. Open a database file in KeePassXC and activate Browser integration in the settings (select Firefox as browser).
4. Click on the Addon symbol in the browser and click "Reload".
Actual Results:  
The browser plugin reports "Key exchange was not successful." and the log shows "Another instance of KeePassXC is already running.".

Expected Results:  
Browser to KeePassXC Flatpak communication should work.

See also https://github.com/keepassxreboot/keepassxc/discussions/11598 for more detailed information.

Comment 1 Mikel Olasagasti Uranga 2024-12-28 22:42:33 UTC

*** This bug has been marked as a duplicate of bug 2334647 ***