keepassxc-browser icon indicating copy to clipboard operation
keepassxc-browser copied to clipboard

Portable mode upgrade breaks integration until I fix the registry key

Open MostFrabjous opened this issue 6 years ago • 5 comments

Expected Behavior

Everything works after replacing the last version of the KeePassXC portable with the current.

Current Behavior

After upgrading to 2.4 (portable) I wasn't able to connect to KeePassXC from the browser extension. I tried a lot of things, even cleared all settings. Following the Troubleshooting guide, I ...

Possible Solution

... discovered that the registry key still pointed to the old KeePass-XC directory (...2.3.6-...). I fixed the key (...2.4.0-...) and everything works again.

Please update the registry key to the current installation directory or provide some information for the poor portable users, that the reg key needs to be manually adjusted.

MostFrabjous avatar Mar 28 '19 10:03 MostFrabjous

This needs to be tested if disabling and re-enabling the browser support is a workaround for this. Of course the registry keys should be updated when necessary.

varjolintu avatar Mar 28 '19 11:03 varjolintu

disabling and re-enabling the browser support

I tested this without success (before I found the outdated reg key). I removed all connected browsers from the database settings and disabled the integration at the KeePassXC settings, removed the browser extension.

After that i enabled/configured everything as documented with a new database. Without success. The moment I fixed the key, I restarted FF and KPXC and everthing works as exepected.

MostFrabjous avatar Mar 28 '19 11:03 MostFrabjous

Good to know. Thanks for testing it out!

varjolintu avatar Mar 28 '19 11:03 varjolintu

Hi, how to find the registry key? I rename the older keepassxc portable dir and I found it broken, so I remove all files and reinstall keepassxc 2.4.1.msi, it not works and reinstall keepassxc 2.4.0.msi, it still not works. so, where is the registry key?

menghuu avatar Apr 16 '19 11:04 menghuu

I may find the registry key location. They are in HKEY_CURRENT_USER\Software\Google\Chrome\NativeMessagingHosts\ , if firefox, it may in xxx\Mozilla\Firefox\NativeMessageingHosts\

since I have already delete the org.keepassxc.keepassxc_browser_xxxxx.json, delete the keepassxc browser addon configuration Databases and I reinstall with .msi(currently 2.4.0), so I cut the deleted json into install dir (also change the proxy.exe file path), and change the registry key above, it seems do not work.


it solved by reinstall chrome/firefox and keepassxc 2.4.1.msi

it seems the registry key should change to: C:\Users\xxxxx\AppData\Local\keepassxc\org.keepassxc.keepassxc_browser_firefox.json for msi installed which the file should generated by keepassxc self

menghuu avatar Apr 16 '19 12:04 menghuu