Keepassxc: Credentials not returned when unconnected database is in focus

Created on 6 Aug 2020  路  13Comments  路  Source: keepassxreboot/keepassxc

Thank you for KeePassXC-Browser! :blue_heart:

Expected Behavior

When I have multiple databases, and my browser is connected to a subset of them, the extension should search the ones it is attached to regardless of which is in focus in KeePassXC.

Current Behavior

I have multiple databases. I use several instances of Firefox and connect each to one database. If the database for the browser I'm using is not in focus in KeePassXC, KeePassXC-browser reports no logins found. If the relevant database is in focus, it works as expected.

Steps to Reproduce (for bugs)

  1. Open multiple databases in KeePassXC and unlock them (ensure they are not copies/clones, and that "Search in all opened databases for matching credentials" is checked)
  2. Connect one of them to a browser instance
  3. Save a credential in this database
  4. Switch to a different database tab in KeePassXC
  5. Attempt to login to the same site again (KeePassXC reports no logins found)

Debug info

Browser: Firefox 79 (not snap)

KeePassXC - Version 2.6.0
Revision: 0765954

Qt 5.9.5
Debugging mode is disabled.

Operating system: Ubuntu 18.04.4 LTS
CPU architecture: x86_64
Kernel: linux 4.15.0-36-generic

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (signed and unsigned sharing)
  • YubiKey
  • Secret Service Integration

Cryptographic libraries:
libgcrypt 1.8.1

bug Browser integration

Most helpful comment

@gaensler It's an unhandled situation. Gotta fix that.

All 13 comments

KeePassXC settings -> Browser Integration -> [x] Search in all opened databases for matching credentials.

@varjolintu Thanks for the reply. I mentioned that option was checked in the original report. I'd appreciate any further suggestions you might have.

I'm certain that feature works, I tested it on numerous occasions in 2.6.0

@droidmonkey Yep, I'm sure it does or there'd be more tickets about it surely. If you have any suggestions as to what might be interfering in my case I'd be much obliged! Cheers.

I just tested this and it worked fine. I have no ideas since it works when the db is focused.

Okay, thank you @droidmonkey!

After further testing it seems to search other databases if the one in focus has been connected to, but not otherwise. I'm wondering if that's expected behavior and my original post wasn't clear enough?

No that's not expected so there is a bug here potentially.

@garymoon Sorry, my tired eyes missed the option mention in your option report. Is your second database a copy/clone of your first one? Try this: go to Database Settings -> Browser Integration, click the button saying "Refresh database root group ID".

@varjolintu No worries mate, thanks for the reply! :+1:

They're not copies, I'd checked the root IDs on both databases after seeing tickets related to that. I'll try that anyway and report back.

Unfortunately refreshing the root group ID hasn't changed the situation.

@varjolintu thanks for pointing me to this issue from #2409
As mentioned there i have the same issue when the focused database is not connected to the browser plugin.
Additionally checked that both database have different root IDs.

Does this seem to be a general problem or just in single cases like @garymoon's and mine? Sorry for asking, this was not clear to me from the previous conversation.

@gaensler It's an unhandled situation. Gotta fix that.

Was this page helpful?
0 / 5 - 0 ratings