Skip to content
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

Open
HDInfautre opened this issue Jan 18, 2023 · 16 comments
Open

Firefox Snap & KeePassXC AppImage does not work with Ubuntu #1828

HDInfautre opened this issue Jan 18, 2023 · 16 comments
Labels
duplicate software packages & sandboxes AppImage, Snap, Flatpack etc.

Comments

@HDInfautre
Copy link

HDInfautre commented Jan 18, 2023

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

@varjolintu
Copy link
Member

Probably duplicate of: #1426. Check your Snap stuff.

@varjolintu varjolintu closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2023
@HDInfautre
Copy link
Author

Hi
Thank you for your quick response
I forgot to say that last week I managed to get it to work several times. I didn't make any changes.
However, I see that Firefox is now 109 after my re-launch
Could this be a new problem with KeePassXC - Version 2.7.4 AppImage

@HDInfautre
Copy link
Author

Hi
Ok no worries about coming back here if you read.
Did you understand that it worked for a few days and that the only change comes after the change from 108.2 to 109
That's why I think it's the same problem (and therefore not a spam), it's the 1st time I don't even see the keepass icon next to the input fields
If not, please tell me what I should do precisely? or wait for a new version for Firefox 109?

@varjolintu
Copy link
Member

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:

@HDInfautre
Copy link
Author

HDInfautre commented Jan 18, 2023

I have re-read the thread, but I don't see anything helpful or too technical.
I had the same problem as some in previous years when deleting snap. i feel like keeping it.
Here is the feedback
If I understand correctly, this would be an ubuntu problem?
Can't you do anything?

I have re-read the thread, but I don't see anything helpful or too technical.
I had the same problem as some in previous years when deleting snap. i feel like keeping it.
Here is the feedback:

flatpak permissions webextensions
Table         Object                          App          Permissions Data
webextensions org.keepassxc.keepassxc_browser snap.firefox yes         0x00
webextensions mozillavpn                      snap.firefox yes         0x00

It looks good to me.

@varjolintu
Copy link
Member

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?

@HDInfautre
Copy link
Author

HI
I think I understood. I've tried a lot of different configurations.
The only one that works on ubuntu 22.10 is Firefox (snap) with KeepassXC (snap)!

I'd like to run Firefox (snap) with KeepassXC (appimage) to have a portable version on a key!
I hope this helps to solve !?

Yes I can make suggestions, I have another one ;-)

@varjolintu
Copy link
Member

Does the Native Messaging scripts in Snap Firefox point to your AppImage?

@HDInfautre
Copy link
Author

Hi
I don't know, I'm not a ubuntu geek.
For clarification (which may block).
I had seen, with another person here a long time ago, putting the configuration in xxx.home to make a portable application (see picture)
Can you tell me the simple check/change to do on this system?
Capture d’écran du 2023-01-20 14-32-41

@HDInfautre
Copy link
Author

HDInfautre commented Jan 25, 2023

Hi
It works with firefox/snap and keepassxc/snap
But, I would prefer keepassxc/ appImage
Were you able to reproduce the problem with an appImage?
Or if so is it possible to fix?

@HDInfautre
Copy link
Author

Hi
This morning, after a week of correct operation, it is again impossible to connect keepassbrowser (firefox v109) with keepassXC. the computer was switched off at the weekend.
I have restarted the keepassxc-snap-helper.sh program without success.
Would you mind reopening the ticket?
Do you have a simple test to move you towards a solution?

@varjolintu
Copy link
Member

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.

@HDInfautre
Copy link
Author

Ok I'm waiting and hoping for a more stable version under Ubuntu 22.10 for firefox/snap + keepassXC/snap
Thanks for looking at firefox/snap + keepassXC/appimage as I loved this possibility to have a portable version of keepassXC?
but can you reopen this ticket for public follow up?
Thank you
regards

@varjolintu
Copy link
Member

varjolintu commented Jan 30, 2023

I can, with a modified topic. But if this is clearly a Firefox Snap issue, there's nothing we can do about it.

@varjolintu varjolintu reopened this Jan 30, 2023
@varjolintu varjolintu changed the title The key exchange failed. Firefox Snap & KeePassXC AppImage does not work with Ubuntu Jan 30, 2023
@varjolintu varjolintu added the software packages & sandboxes AppImage, Snap, Flatpack etc. label Feb 22, 2023
@varjolintu
Copy link
Member

Both KeePassXC Flatpak and Appimage are having the same problem with Firefox Snap: The browser is trying to start the keepassxc process inside the image instead of keepassxc-proxy. So maybe the Firefox Snap is starting something differently with Native Messaging and KeePassXC cannot identify if the process is trying to start the proxy or the main application.

@HDInfautre
Copy link
Author

Hello
Thank you for trying.
I had already followed the many messages about the container aspect (appimage) and the difficulty of "messaging" :-(
I thought some progress had been made.
I guess you couldn't do much about it.
Nevertheless, have you reported this to the responsible developers? ubuntu? what are the perspectives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate software packages & sandboxes AppImage, Snap, Flatpack etc.
Projects
None yet
Development

No branches or pull requests

2 participants