-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Unable to connect ("Key exchange was not successful.") using browser installed via Snap #689
Comments
The Chromium installed via snap is the problem. It doesn't allow the Native Messaging API to launch another program outside the sandbox, meaning keepassxc-proxy. |
Many have reported this issue, so I'm gonna take a look if there's something we can configure to get Chromium to access the proxy. |
I see. Sorry, I did not realise that others have reported this issue before. Indeed, it seems they are moving to snap for good and we can't opt out. Thanks for the prompt reply as I've been trying several things, thinking it's my fault. |
No choice but to use outdated KeepassXC |
@Q3p6v9j7PX7XBjSj9xgC5LJViFxuKqg5cpfg93x Not so fast. You can always install your browser without snap or flatpak using the package manager and then everything works. |
@Q3p6v9j7PX7XBjSj9xgC5LJViFxuKqg5cpfg93x @varjolintu Another "option" is to give up on Chromium. I've switched over to Google Chrome, which is installed by apt still. It's not a solution to the problem, but at least I am fine with this solution. Hopefully that doesn't move to snap (I'm not sure if they are phasing out apt in favour of snap?). Thank you both for your thoughts! |
Just for anyone who wants to install Chromium from Snap and wishes to use keepass in Chromium, there is an alternative solution. sudo apt install keepass2 keepass2-plugin-keepasshttp -y Then open the keepass database and install |
Ubuntu 22.04 includes Firefox as a Snap app by default so there is this issue... Installing Firefox as a .deb keepassxc-browser works correctly. Info:
|
Related comment: EDIT: Actually, let's use that thread to follow the issue. |
Expected Behavior
I am unable to connect to the KeePassXC database.
Current Behavior
After opening KeePassXC and entering my password, I start Chromium. I click on the icon and then "Reload" and I get the error "Key exchange was not successful."
Previously, it worked. This problem started happening after I upgraded my Ubuntu OS from 19.04 to 19.10 . During this period, I was using the Ubuntu package for keepassxc. I am now using the official PPA -- version 2.5.1 . And it still doesn't work yet.
I have gone through the troubleshooting guide. I can confirm:
path
variable points to an executable which does existI do not see a
keepassxc-proxy
running when I type "ps -aef". I tried running it, but the program exits. Unfortunately, I do not know how to debug the extension; where is the check box for "Developer mode"?Possible Solution
New to Ubuntu 19.10 seems to be Chromium via snap instead of apt. I'm not sure if that's the problem. But if so, it should affect others, too?
I can confirm that it works under Firefox. But that's because before, I never used Firefox (i.e., I just started now to test it). So, I guess it isn't a problem with keepassxc or the connection, but something left over between my upgrade of Ubuntu. Perhaps an additional setting that needs to change?
Steps to Reproduce (for bugs)
As mentioned above,
Debug info
KeePassXC - unknown
KeePassXC-Browser - 1.5.3
Operating system: Linux x86_64
Browser: Chrome/Chromium 78.0.3904.97
The text was updated successfully, but these errors were encountered: