Skip to content

Making a connection to a copied database fails #640

Closed
keepassxreboot/keepassxc
#4315
@varjolintu

Description

Expected Behavior

  1. Two databases are open in KeePassXC, and the second one is a copy of the first
  2. Connect the first one to the extension
  3. Connect the second one to the extension

Current Behavior

  1. Two databases are open in KeePassXC, and the second one is a copy of the first
  2. Connect the first one to the extension
  3. Second connection fails. Connect button doesn't do anything.

Possible Solution

Database hashes are calculated using root group UUID. A copy of a database doesn't change this UUID, so the database hash calculated by the extension stays identical. We need to find a way to know if a database is a copy without breaking the hash calculation.

The only workaround for this is to make a fresh database and copy entries to it.

Debug info

KeePassXC - Any
KeePassXC-Browser - 1.5.2
Operating system: Mac/Win/Linux
Browser: Chrome/Firefox/Vivaldi/Chromium

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions