-
Notifications
You must be signed in to change notification settings - Fork 17
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
Flatpak version not recognised by official KeePassXC-Browser #13
Comments
Thank you for reporting this, I suspect you are correct about permissions and did the right thing informing me here. KeePassXC 2.3 brought a lot of changes to the optional features in the application. Unfortunately, due to a lack of time, I could not test them all at the time. I will look closer into this, and see if it is possible to get it to work. |
Thanks for your answer @AsavarTzeth. I'll use deb version until there.
Please mention @diogogomes if you need any help to test on xubuntu 16.04, it will be my pleasure. Thanks |
I tried the command that @Alexander-Wilms suggested and I got multiple errors. Do you need the entire log or only the errors? I also got |
This seems to be an unrelated bug that needs to be patched. The application id is Edit: I tried using the correct id and it works. The wiki is simply not updated. Since the wiki is not accessible to the public I will file an issue. |
So after a lot of research, trial and error I have managed to get this working, with some manual workarounds. Unfortunately I cannot make this work automatically out of the box, but I can patch things so some of these steps are not necessary.
Unless I have missed something, the only way I could even possibly make this work out of the box is by shipping At this time what I can do is push a patch that fixes the UNIX socket location, but that is about it. |
I have also come across this problem and have searched for a solution. When I could find no solution I found this forum - thanks for clarifying the issue. As a hobbyist I am not sure I fully understand your workaround but will look forward to any progress made on this issue. Thanks. |
Well this isn't meant to be a self-help guide for anyone inexperienced with flatpak. It´s mainly meant for myself and other flatpak maintainers. I simply meant to document the issue in more detail. If you are familiar with building and maintaining a flatpak, is there any section in particular you found unclear? Perhaps I could improve it? |
This allows KeePassXC to configure browser extensions, providing that a supported browser is either installed without sandboxing or shares the required configuration directories outside of its sandbox. In addition to this, KeePassXC is patched to use the correct runtime directory location for its UNIX socket (kpxc_server). Ultimately, with this change and some other manual workarounds it is possible to get KeePassXC-Browser working. For more information, see: #13
Thank you for the quick response. I am not familiar with maintaining a flatpak, but was pleased that the problem I encountered has been recognized and thought about. In the meantime, like diogogomes , I will stick with the deb version - just a shame that the deb install is only at version 2.3.0 and not 2.3.1. |
@AsavarTzeth Thank you for your effort trying to solve this problem. I've found that most of the issues can be related to the extension because I'm having the same problem with the Deb package. You can close it if you want and I open another one if this problem persists after Deb package is fixed. |
That is strange, most if not all, issues listed here actually are specific to a sandboxed environment. It should not occur with a regular debian package. In any case, I would like this issue to remain open. Feel free to inform me if they make any greater or fundamental redesigns of the extension. |
@AsavarTzeth I use containerised tabs on Firefox (I forgot to mention). Maybe that it's the reason for my issues with the extension. I'll provide more updates about this issue. Thank you |
Just to leave here the issue of KeePassXC that may be related to this: |
@AsavarTzeth, after last updates on deb version and Firefox plugin, the integration started worked without any issues but this situation persists on the Flatpak version. |
Fixed in 934f25a. Things should just work most of the time. However there are some conditions (see commit message). By default Flatpak uses the system-wide install ( If one installs the app with Let me know if you have any issues. |
By default Firefox will start KeePassXC which is not the correct behaviour. The solution is basically the same one at step 4 #13 (comment). |
FYI, for everyone following: I have found a working around involving some manual steps you need to do though for KeePassXC<->Firefox communication, if Firefox is flatpaked/sandboxed (works if KeePassXC is sandboxed or not). Read the full write-up/tutorial here. |
Version: 2.3.0
**OS:**Xubuntu 16.04
Error:
Timeout or not connected to KeePassXC
Description:
KeePassXC is dropping support to KeePassHTTP-Connector and implementing KeePassXC-Browser.
KeePassHTTP-Connector worked like expected on flatpak version but KeePassXC-Browser do not recognise that flatpak version is open.
(Sorry create this issue here but I think that is related with flatpak container permissions. Tell me if I should open an issue on KeePassXC-Browser browser. Thanks)
The text was updated successfully, but these errors were encountered: