I'm trying to connect keepassxc-browser in Firefox to two databases. I can connect to and use a single database fine. I cannot fully connect and use a second database.
A second DB connection should be connected and maintained.
When I go into keepassxc-browser settings, I can connect to a second database if its tab is selected in keepassxc. Both databases are show on the DB connections page in keepassxc-browser, however refreshing that DB connections page results in the first DB connection being removed.
None I could find
KeePassXC - 2.5.3
keepassxc-browser: 1.5.4
Libraries:
Operating system: Windows 10
CPU architecture: Intel x64
Enabled extensions:
Are you using unique names for your connections?
Is your second database a clone from the first one? You can verify this by viewing the Root group properties and check the Uuid.
EDIT: There's already issue made for this particural bug with cloned databases.
I am using unique names for the connections.
It is possible that the second database was originally created from a copy of the first database. The purpose of the two databases was to split all logins into two DBs (Personal vs Work).
I'll look for the bug with cloned databases.
I should add, my ultimate objective is to allow searching across both databases. In keepassxv, I have enabled "Search across all open databases, but keepassxc-browser still returns entries from only the DB whose tab is selected in keepassxc. If I'm off base how I'm trying to do this, all feedback is appreciated!
Creating a new database and merging/importing credentials from your old database should do the trick.
Creating a new database and merging/importing credentials from your old database should do the trick.
Thanks @varjolintu. That solved it!
I created a new "second DB", merged all entries from the old instance and created a new connection key. Both DB keys remain when I refresh the keepassxc-browser options and I can now search properly across multiple DBs.
Many thanks for the help from all those that replied. Please let me know if I should do anything to add to the existing cloned-DB bug report.
We should probably add a button to the database browser settings page to "Refresh Database ID" or similar which would create a new UUID for the database.
The same has been suggested in the original issue thread: https://github.com/keepassxreboot/keepassxc-browser/issues/640