-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Firefox Snap & KeePassXC AppImage does not work with Ubuntu #1828
Comments
Probably duplicate of: #1426. Check your Snap stuff. |
Hi |
Hi |
I don't know the details here. Is the Firefox installed as Snap (it's default in Ubuntu). Ubuntu just recently fixed Native Messaging (the API that the extension uses for message transferring) for Snap Firefox, so they've probably broken it? Things you can try:
|
I have re-read the thread, but I don't see anything helpful or too technical. I have re-read the thread, but I don't see anything helpful or too technical.
It looks good to me. |
If the connection just broke when Ubuntu updates its Firefox, it's very probable that it's Snap's fault. Can you try to downgrade? |
HI I'd like to run Firefox (snap) with KeepassXC (appimage) to have a portable version on a key! Yes I can make suggestions, I have another one ;-) |
Does the Native Messaging scripts in Snap Firefox point to your AppImage? |
Hi |
Hi |
The Snap helper script only helps if you are using KeePassXC as a Snap. I'll have to test this myself when I have the time. |
Ok I'm waiting and hoping for a more stable version under Ubuntu 22.10 for firefox/snap + keepassXC/snap |
I can, with a modified topic. But if this is clearly a Firefox Snap issue, there's nothing we can do about it. |
Both KeePassXC Flatpak and Appimage are having the same problem with Firefox Snap: The browser is trying to start the |
Hello |
Possible solutions, to fix this:
|
This would be a HUGE security vulnerability.
That just isn't possible |
Care to elaborate? Are the Ubuntu Firefox snap maintainers not reachable? It is technically impossible? (I doubt that.)
You can definitely do that, and that would be the very minimum to do. Have you considered using other communication mechanisms between addon and app? As is, it looks like a bug in KeePass addon to the end user. |
firefox snap and keepassxc worked for me in Ubuntu 22.04 after initialising webextensions. -- KeePassXC-Browser - 1.9.4 KeePassXC - Version 2.7.9 Activated extensions:
Kryptographische Bibliotheken:
|
@fossil-free This is probably purely Ubuntu/Snap issue. |
Firefox snap's console is giving following error when trying to connect to the keepassxc database by pushing the respective buttons:
keepassxc-proxy is existent though, and also flagged as executable. Might the file permissions make a difference here? Though root:root seems legit to me for bin files. Firefox addon shows key exchange not successful. Meanwhile
keepassxc-proxy shows no communication with firefox:
The configuration path in keepassxc settings > broswer integration > advanced correctly (?) points to my current snap: App Armor is not denying traffic. To me it does seem like a keepassxc-proxy connection problem. (Besides, I am somewhat confused by the existence of the apt package webext-keepassxc-browser found in the docs. Installing it didn't make any difference though. Why does it exist in parallel to the firefox and chromium addons?) |
This is 100% on the Firefox Snap, please file a bug with them.
Flatpak and snap are completely different. You should also not be configuring an advanced custom browser. Just check the Firefox checkbox. The snap Firefox (is supposed to) look in the ~/.mozilla directory for the native messaging. By placing the config inside the snap directory, Firefox may be trying to find the keepassxc proxy from within the sandbox which it obviously won't find. |
I filed a mozilla bug now, thanks for pointing me there: As far as I can recall, the snap profile configuration folder was actually set automatically to the snap directory (I just checked it via the advanced tab; if not, it has been working for over a year now with the snap profile). I now tried the ~/.mozilla directory as well and will keep it in mind checking both options. In the keepassxc-browser troubleshooting guide the flatpak permission point is mentioned as necessary in 5) Ubuntu snap... and indeed this had been necessary for me to get keepassxc-browser working in Ubuntu 22.04. |
The firefox bug exists in snap firefox 133 + 134. It can be solved by this workaround until the patch goes live in 135 or so:
My keepass works flawlessly again with this hotfix. |
This is the beta channel for Firefox, the current stable release for snap is 132.0.1-2. I also saw the bug in 132. Either way, this is disheartening to say the least. |
hello
I have set up Keepass correctly according to https://keepassxc.org/docs/KeePassXC_GettingStarted.html#_setup_browser_integration
Everything works fine with brave.
It does not work with Firefox 108.2
I removed (then reinstalled) the browser addon and re-run the keepassxc-snap-helper.sh script then re-run the browsers.
When I click on the KeepassXC icon, nothing happens
No databases connected in the browser settings page
the KeepassXC database is open and has the focus
Debug info
Capture d’écran du 2023-01-18 12-44-37
I don't see the little green button next to the input.
KeePassXC appImage- 2.7.4
KeePassXC-Browser - 1.8.4
Operating system:Ubuntu 22.10
Browser: Firefox 109 nOK !! - Brave Version 1.46.153 : Ok
The text was updated successfully, but these errors were encountered: