Closed andyli closed 1 month ago
Running into a similar issue. Database made on windows can not be opened on mobile, database on mobile can not be opened on windows.
Using a ubikey 5 NFC Standard Keepass 2 v2.57 install on windows 11 Set length challenge-response programmed in yubikey personalization tool
You are using KeePassDX Version: 4.0.5, upgrade at the latest version 4.0.8
Describe the bug
I have an existing kdbx file. Recently, I enabled YubiKey challenge-response on top of a password, using KeePassXC on Windows. The file can be opened and decrypted by KeePassXC on Windows and KeePassDX on Android, using the same master password and YubiKey. However, once I save it with KeePassDX on Android, even without any changes to the entries, the kdbx file can no longer be decrypted by KeePassXC on Windows, but still decryptable by KeePassDX on Android.
To Reproduce
Here is the kdbx file with all passwords removed: yubikey-sample-kdbx.zip
"password-only.kdbx": Master password is
test
, no hardware key. Can be opened correctly by KeePassXC on Windows and KeePassDX on Android."password-and-yubikey.kdbx": Created from "password-only.kdbx" but with master key changed to include YubiKey challenge-response, using KeePassDX on Android. The YubiKey's slot 2 was configed as HMAC-SHA-1 challenge-response, with secret key
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. The file can be opened correctly by KeePassDX on Android, but not by KeePassXC on Windows.Steps to reproduce the behavior:
test
test
as password, select Yubikey challenge-response.Expected behavior
kdbx files saved in KeePassDX on Android can be opened and decrypted by KeePassXC on Windows.
KeePass Database
content://
URI):content://com.dropbox.android.FileCache/filecache/xxxxxxxxxxx.kdbx
KeePassDX:
Android:
Additional context