Is there a Way to Retrieve a Lost/Forgotten KeePass Password?

14

3

I recently decided to store all of my passwords in KeyPass Password Safe 2. I forgot my password to KeyPass.

Is there anyway to retrieve it? My assumption is no there is not for obvious reasons.

Dan Polites

Posted 2009-12-08T13:53:30.593

Reputation: 243

Answers

28

No.

If you forget this master password, all your other passwords in the database are lost, too. There isn't any backdoor or a key which can open all databases. There is no way of recovering your passwords.

user1686

Posted 2009-12-08T13:53:30.593

Reputation: 283 655

15

If you've forgotten it because you just changed the master password, you can do what I do in the future:

  1. Make a backup copy that uses the old password. Make sure this has the new password in it.
  2. Change the real copy to use your new password
  3. Keep the one that uses the old password around until you know the new one so well you don't even have to think about it. After that, delete it.

Hasn't steered me wrong yet.

Benjamin Oakes

Posted 2009-12-08T13:53:30.593

Reputation: 2 585

3

If its correctly built (and by all accounts it is), your chances of recovering your password are very limited - luck, knowledge about yourself and your behaviour, you may be able to narrow down the key space and brute force it. There are tools to brute force Keepass files - see here. That said, its likely easier and faster to simply reset all your passwords.

davidgo

Posted 2009-12-08T13:53:30.593

Reputation: 49 152

I went to this link but I can't get the way how to run brute force in keepassx. I noticed that the document are not written in English. – alhelal – 2018-07-03T09:27:51.083