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

Nextcloud Offline File Takes too Long to Load #1692

Closed alexknop closed 10 months ago

alexknop commented 10 months ago

Describe the bug

When offline and unable to reach my Keepass database file stored in Nextcloud, the timeout to fall back to a known offline version is about 45 seconds. This should be shortened if not a near instant adjustment to go to a known offline version. I would understand the timeout if the file was not already synced and saved offline.

To Reproduce

  1. Have nextcloud client for Android
  2. Save Keepass database file offline in Nextcloud so that a local copy is also stored on your device
  3. Open this file in KeepassDX and try to unlock while offline
  4. Keepass will say "Loading database" for about 45 seconds (too long) before saying "File cannot be synced. Showing latest available version" and then the Database loads fine.

Expected behavior

A quicker load of DB

KeePass Database

KeePassDX:

Android:

Additional context

Add any other context about the problem here.

J-Jamet commented 10 months ago

KeePassDX doesn't handle file synchronization, and only uses the file provider's SAF, in this case the NextCloud application.

"File cannot be synced. Showing latest available version" is not a wording contained in KeePassDX but a Nextcloud error. You should therefore simply open this issue in the correct project.

alexknop commented 10 months ago

Got it. Will open in Nextcloud