Skip to content

Changing the name of database file renders it unable to be opened with YubiKey #1584

@L0rdBootysniffer

Description

@L0rdBootysniffer

I made a test file with random characters for trying out 2.3.0. I then manually moved my passwords into that database file for permanent usage. Afterwards, I changed the filename to passwords.kdbx, and now I cannot unlock it with my YubiKey. I get "Unable to open the database. Wrong key or database file is corrupt. (HMAC mismatch)"

Expected Behavior

I expected the YubiKey to work on the database because I only changed the filename.

Current Behavior

I changed the filename this morning to passwords.kdbx, and now I cannot unlock it with my YubiKey. I get "Unable to open the database. Wrong key or database file is corrupt. (HMAC mismatch)"

Steps to Reproduce (for bugs)

  1. Create KDBX4 database file with YubiKey authentication
  2. Make some changes to it
  3. Save it
  4. Rename the file to something else

Debug Info

KeePassXC - Version 2.3.0
Revision: 4c0ed74

Libraries:

  • Qt 5.10.1
  • libgcrypt 1.8.2

Operating system: Windows 10 (10.0)
CPU architecture: x86_64
Kernel: winnt 10.0.16299

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • Legacy Browser Integration (KeePassHTTP)
  • SSH Agent
  • YubiKey

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions