Skip to content

Connecting multiple databases uses the same identification key #257

@varjolintu

Description

@varjolintu

Expected Behavior

When connecting to multiple databases in the same session the public key used for identification should be different every time.

Current Behavior

The current public key is used. This causes multiple entries to show in the popup and autocomplete menu if "Search in all opened databases for matching credentials" is used.

Possible Solution

Generate a new identification key on every connection attempt.

Steps to Reproduce (for bugs)

  1. Open to databases in KeePassXC
  2. Connect to the first one
  3. Connect to the second one
  4. See Connected databases tab in the Settings page. Both entries use the same key

Debug info

KeePassXC - 2.3.3
keepassxc-browser - 1.2.0
Operating system: Mac/Win/Linux
Browser: Chrome/Firefox/Vivaldi/Chromium

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions