I've got multiple devices accessing the same DB through the "cloud" and
am concerned that since each instance of KeepPass works with a ram
version of the DB, the DB file can get out of sync if another device
writes to it.
A search in the forums talks about using file locks to protect the DB
from this type of situation (Why does KeePass "not recommend" this in
the configuration GUI?) however I think that means only one device has
the ability to write -- an inconvenience if that other devices need to
save a password update but the first device is not easily accessible to
save any changes and close out the DB.
I was wondering if any thought was put into and of these ideas:
Any time there is an attempt to save, client checks a "version"
variable stored in the DB first and only writes if its in-ram version
matches, otherwise re-read DB, merge entry changes, and save. Maybe have
a setting to auto-read DB in specified intervals for changes?
Or keep the current lock system but If lock exists and client
is not the client that holds the lock, client writes to a separate file
that the write-enabled KeePass can merge back into the DB upon its
writing (Maybe with the ability to accept/reject?).
Or keep a "history" of changes, by appends data to the end of
the DB instead of overwriting existing fields upon saving. Have an
ability to eventually "compact" DB.
Or ability to use a DBMS instead of a file.
Of course all of these choices are merely options one can enable or
disable without removing the current way things are done.
Based on your post I suspect you are using KeePass 1.x. KeePass 2.x is the feature rich version and is better suited for cloud or multiple-access situations. A feature comparison is at http://keepass.info/compare.html. The two editions are not database file compatible.
Concerning the issue you raised:
Log in to post a comment.