Master password doesn't work
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
Hello. Today my master password stopped working.
I know the password is correct because my backup months old copy of the keepass DB still works , and I never changed the master password. I suspect that the problem arose when my computer was forced to shutdown/restart by a windows 10 BSOD while the file was open. I'm not sure how to fix this. I don't have the option of reverting the file via windows to an earlier version because I never set that up.
What is the error message?
When you started KeePass after the BSOD, did KeePass remember the location of your database or did you have to navigate to it?
"Failed to load the specified file!
The composite key is invalid!
Make sure the composite key is correct and try again. “
No it remembered the location, I didn’t have to navigate back to it.
--I'm copy / pasting the password in from a text file. It works on the old DB and not the most recent one
--Only the Master Password box is checked
--Not sure how to confirm . the last modified time for the most recent DB is 17dec2018 @ 18:45.
The windows crashed occurred at 18:49:05 accorrding to my windows event log (edited, misread event log)
--Is the size of the database reasonable, i.e. similar to older copies of your database?
yes. The new version is 22.9kb, the old version is 19.0kb
--Is your database stored locally or is it in the cloud?
local
--Have you checked to see if there are any previous versions of your database file? To check for previous versions: right click on the database, select properties from the context menu, select the "Previous Versions"
none exist
Last edit: shaun wood 2018-12-18
Verify that you haven't copied some non-printable characters, e.g. trailing spaces. I suggest you type the password carefully.
OK
A BSOD is a disorderly crash, it probably doesn't have a event log entry so the event is probably an error that occured before the BSOD or during recovery.
OK
That was a hail mary, but ouch.
Since KeePass remembered the database location, the KeePass configuration file was not damaged. Assuming you were using default settings KeePass would have remebered if the Master Key included other key components. Consequently there is high probility that Master Key of the database file that KeePass is trying to open consists of master password only.
A BSOD is unlikely to damage a KeePass database unless the database file is in the act of closing during the BSOD. This is becasue the database file is only accessed when it is read into memory or during saving. The file is not kept open while it is in use. A BSOD is unlikely to damage a static file that is simply at rest on the disk drive.
'The composite key is invalid!' error message indicates that the master key is incorrect, not that the file is damaged. Since your composite key appears to be a master password only, the error means that you are either trying to open the wrong database or are making a mistake entering the password.
KeePass database files whose Master Key consists solely of a master password are fully portable. If you suspect that the KeePass program itself is damaged by the BSOD, you can try opening the database on a different computer.
Since nothing suggests that the database file was damaged and there seems to be evidence that the you have successfully opened the exact file before the BSOD, then the only possibility (beside what I have mentioned above) is that you are still entering the wrong master password. Verify that you are entering the correct password
Going forward regularly backup your database.
Last edit: wellread1 2018-12-18