Kunzisoft / KeePassDX

Lightweight vault and password manager for Android, KeePassDX allows editing encrypted data in a single file in KeePass format and fill in the forms in a secure way.
https://www.keepassdx.com/
GNU General Public License v3.0
4.55k stars 269 forks source link

Old version with Nextcloud app #1741

Closed dupondje closed 5 months ago

dupondje commented 8 months ago

Describe the bug

I have a keepass file on my Nextcloud instance which is synced with my computer and my phone. On my computer I use KeepassXC, and KeepassDX on my phone.

Now I already had at least 2 times that when I add an entry in KeepassDX on my phone, the file gets synced with my computer, but some entries are lost. It seems like KeepassDX still has some older version of the keepass file, and add's the new entry to that one and saves it. Which then overwrites the newer version in Nextcloud. This causes my to lose credentials added since the old/cached version KeepassDX opens.

To Reproduce

Steps to reproduce the behavior:

  1. Open keepass file in KeepassDX
  2. Add new entry
  3. It gets saved
  4. Nextcloud syncs it to the Nextcloud
  5. Some credentials lost (see above)

Expected behavior

Before opening the database, KeepassDX should somehow check if it's the latest version.

KeePass Database

KeePassDX:

Android:

Additional context

Used K2A before, and never had this issue.

J-Jamet commented 8 months ago

KeePassDX doesn't keep any cache, try deleting the NextCloud application cache.

RedFox-Fr commented 5 months ago

Hello.

I have the same problem with Nextcloud client 3.28.1 and KeepassDX 4.0.5 Devices are Samsung Galaxy S9+ and Xiaomi 14 Ultra.

Best regards,

J-Jamet commented 5 months ago

In any case, the problem doesn't lie with KeePassDX here, as there is no file cache. You need to open the ticket on the NextCloud project.

J-Jamet commented 5 months ago

https://github.com/Kunzisoft/KeePassDX/wiki/File-Manager-and-Sync