-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Saving Database fails with Yubikey 2FA Challenge-Response #531
Copy link
Copy link
Closed
Description
I have a database with Yubikey 2FA Challenge-Response enabled.
If I remove the yubikey from the USB port and re-insert it, then saving the database fails with
Writing the database failed.
Unable to issue challenge-response.
This error also occurs, after the OS woke up from the suspend-to-ram state.
Expected Behavior
Database is always saved
Current Behavior
Database is only saved, when Yubikey has never been removed before.
Possible Solution
Scan for Yubikey before Saving Database
Steps to Reproduce (for bugs)
- Create a database and enable Challenge-Response with Yubikey inserted
- Add entry
- Save database --> success
- Remove Yubikey from USB port
- Add entry
- Re-Insert Yubikey to USB port
- Save database
Result: Error
Writing the database failed.
Unable to issue challenge-response.
Workaround
- ...
- ...
- ...
- ...
- ...
- Re-Insert Yubikey to USB port
- Open "Change master key" dialog
- Activate "Challenge Response" checkbox
- Cancel "Change master key" dialog
- Save database
Context
Build: -DWITH_XC_YUBIKEY=ON
Your Environment
Debian Linux Jessie
KeePassXC - Version 2.1.4
Revision: ad79162
Libraries:
- Qt 5.3.2
- libgcrypt 1.6.3
Enabled extensions:
- KeePassHTTP
- Auto-Type
- YubiKey
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels