keepassxc
keepassxc copied to clipboard
Search in all opened databases for matching credentials does not work
Overview
The Option "Search in all opened databases for matching credentials" in the Browser-integration does not work.
Steps to Reproduce
- Enable "Search in all opened databases for matching credentials"
- Open and unlock a database that is connected to the browser extension (A.kdbx)
- Open and unlock a database that is not connected to the browser extension (B.kdbx)
- open a website in chrome where you have credentials in A.kdbx
Expected Behavior
The extension should provide credentials from A.kdbx
Actual Behavior
The extension does not provide credentials from A.kdbx. I have to open keepassXC and switch tab to "A.kdbx", reload webpage then the auto completion in chrome works as expected.
Context
This is no new problem. I use keepassxc since about one year with multiple databases and it never worked as expected.
KeePassXC - Version 2.6.6 Revision: 9c108b9
Qt 5.15.2 Debugging mode is disabled.
Operating system: Ubuntu 21.10 CPU architecture: x86_64 Kernel: linux 5.13.11-051311-generic
Enabled extensions:
- Auto-Type
- Browser Integration
- SSH Agent
- KeeShare (signed and unsigned sharing)
- YubiKey
- Secret Service Integration
Cryptographic libraries:
- libgcrypt 1.8.8
Desktop Env: Gnome Windowing System: Wayland
I agree the focused tab condition is very confusing to users. Recommend an update to that @varjolintu
@droidmonkey I'm working on it, but it needs a lot of changes.
Instead of breaking the current protocol, I'm trying to add all connected databases to a separate array for some responses, so we can still detect them even if the active database is not connected to the extension.
Related issue: https://github.com/keepassxreboot/keepassxc-browser/issues/1275
Yah I think we discussed this before that the database and the extension connection were too tightly bound. Need to add a shim in between to allow for the "search everywhere even if only one database is registered to extension".
It seems to be the same issue with DBus secret service requests. I have multiple databases with secret service enabled. Lookup only finds entries in the database that is currently focused in the keepassxc window.
any update about this? is there a way to work with two databases without entering every time in the one you need?
@fcana It's already fixed for the next protocol update, but it's coming with KeePassXC 2.8.0 so it's gonna take a while.
Duplicate of #5238