Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if sync is needed at all #68

Open
Hermholtz opened this issue Oct 17, 2022 · 0 comments
Open

Check if sync is needed at all #68

Hermholtz opened this issue Oct 17, 2022 · 0 comments

Comments

@Hermholtz
Copy link

Hermholtz commented Oct 17, 2022

I recently turned on the option "Sync before opening a KeePass database" because I create more and more entries from my smartphone so that to have them at hand on my PC when KeePass starts.

The issue is that using the above setting KPSync always forcefully syncs the database (download/merge/upload) even if it's not needed (when the remote was not updated).

My feature request is that KPSync checks the remote file timestamp before attempting sync and skip sync if it wasn't updated. It will make the KeePass startup time much faster by not doing these "no-op" syncs. According to Drive API the timestamp is a reliable way of knowing if the file on Drive was altered.

The KeePass for Android works that way.

The alternative is to disable the above option and manually sync file when I'm missing the entry I'm sure should exist, but it's not the most optimal and user-friendly way.

Thank you in advance.

EDIT: It also pollutes the file history on Google Drive, so if one unlocks the database often, there will be meaningless history entries, and if ever a recovery is required, the needed version may not be there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant