Description of the issue: I have recently downloaded KeePassXC to store my passwords safely. On my main computer, the extension on Brave connects to the program and works after I have updated Brave or downgraded Brave. But stops working after a computer restart. How can this issue be reproduced?
Download KeePassXC and install the extension to the browser.
Run both and connect them
Shut down computer and start it back up. (Don’t pick the “restart” option)
Start up Brave and KeePassXC
They should connect automatically, but we get an error stating Message encryption failed. Is KeePassXC running? and Key exchange was not successful.
Expected result: They should connect and work, there should not be any errors
OS: Windows 11 Version: 24H2 Build: 26100.4061
Browser Extension Version: 1.9.8
Brave Version( check About Brave):
Version 1.78.102 Chromium: 136.0.7103.113 (Official Build) (64-bit)
Additional Information: I have spoken to KeePassXC, not a problem on their side they said. Probably on my side
Just tested on my end on Win11 in latest Brave build – I don’t seem to have this issue. Here are the steps I took:
Downloaded/installed KeePassXC desktop app and browser extension
Created a test database in desktop app
Visited Settings --> Browser integration in KeePassXC app and enabled browser integration – checked Chrome, Vivaldi, and Brave checkbox as well as the Chromium check box (probably don’t actually need to do this but no harm)
Launched Brave, clicked on the KeePassXC extension, clicked Reload when database wasn’t detected, then Reconnect – entered my KPXC database master password and extension was connected successfully
Shut down Windows machine
Booted Windows and KPXC started at launch and prompted me to re-enter my database password, which I did
Launched Brave – KPXC extension was connected
I guess the first question I have would be whether or not your KPXC app is automatically unlocked on system start, or if you have to manually enter the master password when you boot your system?
In the KPXC app right? And you’re saying that once you enter that password and then launch the browser, the browser extension needs to be “reconnected” to the app?
It needs to be reconnected but I can’t reconnect it since somewhere between the program and the browser it cuts off. It starts KPXC-Proxy but nothing happens. I get those errors I wrote in the original post.
Would it be possible for you to test this behavior in another browser other than Brave? Ideally another Chromium based browser (MS Edge, Chrome, Chromium, Opera, etc)? Would help to know whether or not the issue is occurring just for Brave or if it is potentially an upstream issue.
Okay so I’m curious if Brave’s Shields are blocking/preventing some connection between the app and the extension. A user here had a similar issue, although not quite the same – can you try this user’s suggestion just to be sure?
Note that a couple users there had success using just @@localhost – so maybe try both formats.
In the meantime I’ll ask some team members if they have any suggestions on what might be going on.
I haven’t used the KeePassXC browser extension in quite a while. I dont remember why I didn’t like it, but I do use KPXC’s AutoType feature every day. Each entry has to be setup to match the appropriate window title(s), but it works everywhere not just in the browser. I have it set to trigger when I press ctrl+alt+v.The setting for that is buried in its settings somewhere less than obvious.