Extend PwDatabase for a database Uuid
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
Please add a unique ID to the class PwDatabase.
Every PwDatabase should have a real unique ID.
It should be possible to generate a new unique ID or it should be considered what happens if someone copies a kdbx-file, and uses this as a second database.
Maybe an option when changing the master-password?
Maybe checking of same IDs in all opened databases?
I don't see how a database UUID could be defined in a reasonable way. The user can always copy a KDBX file, thus multiple databases could have the same UUID. The user might take a database as starting point for two or more different spawns (which are completely different), thus the UUID couldn't be used for identifying similar databases. By copying groups/entries, two databases with different UUIDs may contain the same data.
Best regards,
Dominik