-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
database wont open! #313
Comments
Well, I suppose you mistyped your password? Or maybe have capslock on? Or wrong keyboard layout? |
Assuming you are typing the password incorrectly, you could try reinstalling keepassxc. Alternatively you could try the Repair Database option under |
Hi to all of you and thank you for your help. For the password I usually copy/paste it, after verifying I was not able to log in getting the same message. Today when I wanted to open my database I got this [Unable to open the database. Wrong key or database file is corrupt.] After a couple of try I finally could log in. The same thing happened with KeepassX by the way. The whole experience make that tool not really reliable to me. |
This really makes no sense and I suspect external reasons. The decryption process is deterministic, so given the same input (password and file), it always produces the same output (file can be decrypted or not).
|
I can't imagine this to be a program error. Have yoy tried making a brand new database file to see if you can replicate the issue? |
@Vegan-us Has your problem been solved? Would be nice to hear what the problem was. |
@phoerious |
Alright, I'll keep this closed then. |
I met this problem too. Here were what i didi (kdbx file is in dropbox folder):
Fortunately, I can find those passwords in mac os's keychain. |
It's a corruption issue, that means the database becomes unusable. 2.2.4 fixed the reason why this happens, but it cannot make a previously corrupted database readable again. |
BTW this more likely related to #1113 |
@phoerious thanks for your reply~ |
Just faced same issue, database corrupted and wont repair. Backup file looks to be corrupted too. |
thx god google drive keeps backup of each version, but keepassxc prove to be unreliable, not sure how to trust it any more after this incident. |
@chernetskynick what version are you using? 2.2.4 is the latest stable release and it's fixed. |
I just opened backup with version 2.2.2 and seems like it got corrupted as well. Now I can't open it with 2.2.2 neither with 2.2.4. |
If it's corrupted, you won't be able to open it with any version. But 2.2.4 should have fixed the cause for corruption. If 2.2.4 still keeps corrupting your DB, it would be great if you could explain in detail how we can reproduce the problem. |
Hi, i have the same problem even on 2.2.4 (Linux).
I hope this helps. |
Faced the same issue on MacOS on both KeePassX and KeePassXC. The database does not open. On ubuntu everything works fine. Double checked and copy-pasted my password from the editor. |
If you can open your DB on Ubuntu it is highly unlikely that we have a KeePassXC bug here. The code is exactly the same for all platforms. Check you password encoding, check location and contents of your key files. |
Everyone I know gets this problem on Mac Os X, and so do I. Database opens perfectly on Windows. Thanks, Jon |
Can you please try if it happens with a new database well? Also please try our 2.3 beta version. |
New databases are fine though, works great. It's just any existing Windows databases are always corrupt when I open them. I'm using powershell to back it up constantly because I'm pretty sure it will just become corrupt again. |
Have found out a reason for this strange behavior on MacOS. I have special signs in my password, so clicking on 6 with command key will give you sign ˆ with an underscore. If you will continue to type your password, it will be something like â sign. And if you will not type a letter after compose+6, but type left arrow key - it will be ˆ sign (that's why I had an issue). And only after typing a combination of compose+6 and break after I got a right sign ^. On Ubuntu keyboard works in another way. It produces ^ with shift+6 keys. So, be aware! |
I just downloaded KeepassXC on Mac OSX running macOS High Sierra version 10.13.4. I created a new database and setup both password and keyfile login. When I lock the db with no entires and try to login again using either my password or the keyfile I get the error message below. I have tried to create a new database multiple times and in the beginning I keep getting the same error message without adding any entries. Error message: |
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. |
@phoerious You are correct. It works! I thought the reason for having the two different authentication methods was to provide two different ways to unlock the database. I was coming from the original Keypass site and saw in their documentation that you can use one or the other to sign in. Maybe they were referring to what you were saying. Thank you for your help. |
I landed here with the same error. Somehow I had checked the |
I had the same error. @phoerious Your hint about the "Key File" box helped. Thanks! To me, this is a GUI design issue. I thought that in the "Key File" field, I had to choose the KeePass file that I want to open (the file that contains all my keys - the ones I want to access). I was not aware that the master key / password may be provided using a "key file". |
@notand looks like the GUI is still misleading you. The key file is not for storing your database password, it is part of the total "key" that is used to decrypt your database. Your database is encrypted using an additive combination of {Password} + {Key File Binary Data} + {Yubikey Challenge Response}. When you check the checkbox, it is telling KeePassXC to use that information to form the master key, even if it is blank. |
@phoerious Thanks for the info. In my case, all I need to know is that I must not check the "Key File" box, because my organization does not use this method. My point is that changing the GUI design would help many users out there who just want to access a password without understanding much about key formation. Just after I posted my comment, a colleague of mine told me about having had the same problem. |
@droidmonkey Great, thanks! |
I faced the same issues on version 2.4.1, and by not checking the "Key FIle" box, as @notand suggested, I was able to open the database. |
This comment has been minimized.
This comment has been minimized.
I encountered this same problem after doing a forced Mac Update. Is there a solution? I know I have the right password as I have been using the program for years now. |
Please read the post. You need to uncheck everything except for the master password box. |
OMG! That worked. Thank you! How ridiculous!
Randy Thomas
…On Thu, Sep 26, 2019 at 2:44 PM Jonathan White ***@***.***> wrote:
Please read the post. You need to uncheck everything except for the master
password box.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#313?email_source=notifications&email_token=AAGRKXVRKOKMZZQDLQTGE2LQLUGH7A5CNFSM4DAOBFC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7WXYWI#issuecomment-535657561>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGRKXVGCWCNJIN2DYEICV3QLUGH7ANCNFSM4DAOBFCQ>
.
|
Thanks, you saved my life :) |
ohhh great..! 👍 you saved my time. |
This. It's still a thing end of 2021 even with being such an easy fix. Just bad usability :D |
This has been fixed since 2.5.0, two years ago. Current version is 2.6.6. |
Ok wow, I have to talk to our Filewave-Admin then 😅 Sorry for the wrong accusation! |
Hi there from 2022, had the same problem twice already. First time it was fixed by itself after some time. Waiting what happens this time, but no way I'm using KeepassXC again. Version 2.7.1, Mac OS 11.4 UPD. Problem fixed after the following: close all previously opened pages with databases, reopen the app, add databases one more time. |
Same here |
You guys should open a new issue with all the relevant details. It's not likely to be the same bug that was tracked by this issue. |
Please don't open a new issue, we cannot help you when your database is unopenable. |
I can open database only every other time.
Expected Behavior
Current Behavior
[Unable to open the database. Wrong key or database file is corrupt.] I keep receiving this message after being able to open it...
Possible Solution
I wish I knew
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: