#1698 Extend PwDatabase for a database Uuid

KeePass_2.x
closed
nobody
None
5
2013-06-25
2013-02-14
lspcity
No

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?

Discussion

  • Dominik Reichl
    Dominik Reichl
    2013-06-25

    • status: open --> closed
    • Priority: 7 --> 5
     
  • Dominik Reichl
    Dominik Reichl
    2013-06-25

    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