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

Bug: WebDAV sync issues overwriting old data #23

Open
martin-rueegg opened this issue Sep 6, 2023 · 1 comment
Open

Bug: WebDAV sync issues overwriting old data #23

martin-rueegg opened this issue Sep 6, 2023 · 1 comment

Comments

@martin-rueegg
Copy link

This was already reported on Discord Forum on 25.08.2023 with no reaction whatsoever.

Sync issues overwriting old data

(My friend) is using KyPass together with nextcloud as sync-backend (using webdav). The issue is, that KyPass does not always corretly evaluate the most recent version and keeps uploading the version stored on the ios device, overwriting the newer version on the server. And it keeps doing so until I reset the sync.

Now, unfortunately, this is not a one-time issue. I have - thanks to the file history on nextcloud - analyzed 61 versions of the file and compared them by sha1 hash. Turns out, that it happened 8 times already. Needless to say this is a disaster and, while appreciating it is the best KeePass client on iOS, it's also the most expensive one and one would expect there is a proper procedure in place to not overwrite any diverging version.

According to my observations, this is happening once a entry is added/changed on the device. But then, it is also happening when there was no change on the device and one just re-opens the app.

As an immediate remedy I would urgently suggest to download the remote file first and do a proper verification (e.g. hash comparison) before any version is uploaded.

Keepass4Android seems to have better verification measures in place and allows to merge the files, like KeePassXC on the Desktop does.

I don't know if the app produces any logs I can provide?

(...)

Looking forward to hearing back form the devs!

Thank you in advance,
Martin.

@doomi
Copy link

doomi commented Dec 21, 2023

I have the same configuration (Nextcloud over webdav) and can confirm this issue.

@martin-rueegg martin-rueegg changed the title Bub: WebDAV sync issues overwriting old data Bug: WebDAV sync issues overwriting old data Jan 30, 2024
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

2 participants