KeePassX "Unable to open the database. Wrong key or database file is corrupt."
5,471
I had the same error. This answer on GitHub was the solution for me:
You always need to use ALL keys you used for creating the database. When you create a database with password and key file, you need to use both to unlock it. Make sure the corresponding checkboxes are ticked on the unlock screen.
Author by
spacemonkey
Updated on September 18, 2022Comments
-
spacemonkey almost 2 years
Trying to open a .kdbx database with correct password gives the following error "Unable to open the database. Wrong key or database file is corrupt". However, it does work on OSX. Repairing does not fix the issue. I remember also having few random successes before but that's about it.
-
davidbaumann over 6 yearsAre you sure you have the proper password? Do you use a keyfile? You should compare the hashes on both machines, or copy again. Also check keyboard layout.
-
EODCraft Staff over 6 yearsAlso Note: Be sure you are coping over the Key file as well. 2 Factor Protection so just anyone can't open your database.
-
spacemonkey over 6 years@davidbaumann yup, checked it all, still the problem persists.
-
user1691145 almost 6 yearsI have the same problem. 100% sure the password is correct.
-
-
Ced over 5 yearsoh my god lol. So I had the wrong checkbox set :) (I had to uncheck the keyfile)
-
David over 2 yearsHow is this an answer to the question? If you have a question ask it in the proper way not trying to slip it in as an answer.
-
ThunderBird over 2 yearsIf you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review