I updated my master password using KeePass 2.32. I'm using a composite key. I tried to create a new synchronization file by copying the database to the appropriate network drive.
Any attempt to synchronize gives the "The composite key is invalid. Make sure that the two databases use the same composite master key". However, I can open the copied kdbx without any problem using the same key file.
What am I missing here?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am guessing you copied your working database to the synchronization location after you changed the working database's Master Key but before saving it. A database is not automatically saved when you change its Master Key.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hm, I explicitly saved the kdbx and checked the mod date to make sure, before copying. And I exited and restarted keepass2 to make sure.
But to your point: I tried to replicate the error by copying the kdbx to the synchronization file and confirmed that it worked. So, maybe I did end up with an old copy on my first attempt . . . thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As an aside. I recommend the precautionary steps of making a copy of the original database (if you don't have backups) before changing the Master Key, and imediately after changing it, saving closing and reopening a database before taking any other action. It is easier to recover if you recognize a problem as soon as it occurs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I updated my master password using KeePass 2.32. I'm using a composite key. I tried to create a new synchronization file by copying the database to the appropriate network drive.
Any attempt to synchronize gives the "The composite key is invalid. Make sure that the two databases use the same composite master key". However, I can open the copied kdbx without any problem using the same key file.
What am I missing here?
Okay, it seems that the solution is to do "Files->Save As->Save to copy" in the syncrhonization file location. Then it works.
Can someone explain this why I need to save from within the app rather than simply copy the file? I'd like to understand this.
I am guessing you copied your working database to the synchronization location after you changed the working database's Master Key but before saving it. A database is not automatically saved when you change its Master Key.
Hm, I explicitly saved the kdbx and checked the mod date to make sure, before copying. And I exited and restarted keepass2 to make sure.
But to your point: I tried to replicate the error by copying the kdbx to the synchronization file and confirmed that it worked. So, maybe I did end up with an old copy on my first attempt . . . thanks.
As an aside. I recommend the precautionary steps of making a copy of the original database (if you don't have backups) before changing the Master Key, and imediately after changing it, saving closing and reopening a database before taking any other action. It is easier to recover if you recognize a problem as soon as it occurs.
An excellent bit of advice!
[I did that before changing the master password . . .]