Keepass extension works partially

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?

  1. Download KeePassXC and install the extension to the browser.
  2. Run both and connect them
  3. Shut down computer and start it back up. (Don’t pick the “restart” option)
  4. Start up Brave and KeePassXC
  5. 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

2 Likes

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:

  1. Downloaded/installed KeePassXC desktop app and browser extension
  2. Created a test database in desktop app
  3. 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)
  4. 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
  5. Shut down Windows machine
  6. Booted Windows and KPXC started at launch and prompted me to re-enter my database password, which I did
  7. 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?

2 Likes

I have to manually enter the master password everytime the PC starts.

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.

1 Like

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.

1 Like

The program and syncnorisation works flawlessly on Chrome. I have tried multiple times.

1 Like

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?

:backhand_index_pointing_up: 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 just tried with @@localhost and localhost:19455, neither one worked.

Thanks for checking. Can you try @@||localhost^ as well?

If that doesn’t work I’ll keep digging on this, appreciate your patience.

Yo, no worries, I want this to work, no matter how long it takes. :stuck_out_tongue:

I tried like this now

Thank you for checking. Will reply back here as soon as I have more information/more suggestions.

1 Like

Shields shouldn’t touch extensions, its specifically for websites only

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.

@aitchbeesea when you installed brave, did you reply “Yes” to the UAC prompt giving Brave admin privileges on install?

I don’t know, but if I know myself, then yes.