I have KeePass (.kbdx
) database with key file (.keyx
) that was created with KeePass2 on Windows. I'm able to open the database on Windows (KeePass2) or Mac (strongbox). However, on Ubuntu 20.04, which is a dual boot with the Windows machine and the databse is stored in a shared mount, I am unable to unlock.
In KeePassXC I get a an invalid credentials error which states that if this reoccurs the file may be corrupted; KeeWeb just refuses to open it. I can confirm the file is not corrupted as I can open after the error in Windows and am certain the password/keyfile are correct.
Also, I can open a different shared .kdbx
with no .keyx
in Ubuntu or Windows.
I believe the files should be cross-platform. Is there a reason a .keyx
generated in Windows won't work in Ubuntu?
Edit I'm using the UI so I don't have exact commands to show but here is the process:
- Open KeepPassXC UI
- Select .kbdx
- Select .keyx
- Enter password
Obviously this looks like user error, but the same database password/keyx combo works in Windows.
I am not sure why this happens but on both KeePassXC and KeePass2 it says:
Failed to load specific file! The composite key is invalid! make sure the composite key is correct and try again...
I am using the exact same key file from windows and it even works on my android, just not in Ubuntu 20.04
– BrianBlaze Jul 13 '21 at 20:36