PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.83k stars 390 forks source link

[BUG] file signature invalid #2355

Open WebworkrNet opened 1 year ago

WebworkrNet commented 1 year ago

Checks

Describe the bug you encountered:

Often the file signature is defective and the database can no longer be opened. My impression is that the frequency has increased significantly with the last app update.

This is particularly annoying because it was not always possible to access the local backup copy at the same time in individual cases. So I had to fall back on an older backup copy from the cloud, data loss included, even if only minimally presumably.

Describe what you expected to happen:

The saving process is carried out properly regardless of the storage location and the last editing status can be opened again at any time without any problems.

What version of Keepass2Android are you using?

1.09e-r7

Which version of Android are you on?

13

WebworkrNet commented 10 months ago

The error now occurs very frequently.

As a workaround, I then have to call up the local backup every time, export it and overwrite the existing database in the cloud with the backup file. In the long run this is quite tedious.

PhilippC commented 10 months ago

which storage type are you using?

WebworkrNet commented 9 months ago

Device: Samsung Galaxy A13 5G (SM-A136B/DSN) Operating System: Android 14 KP2A: Version 1.10-pre

Dropbox is currently in use.

The error still occurs, but not as frequently in the recent past. In most cases it is sufficient to repeat the login attempt and there will no longer be an error message. Two weeks ago, however, I often had to replace the cloud file with the local file, and the next time I saved the errors often reoccurred.

PhilippC commented 8 months ago

if you see the error in the app, does it mean the database file is corrupted (e.g. you can not load it from other tools like KeePass2 on the PC)? or is it that the app is reading it incorrectly?

WebworkrNet commented 8 months ago

I currently only use the Keepass database on my smartphone with KP2A. Since a second login attempt is sometimes enough to log in, I suspect a reading error in the Android app.

bveldkamp commented 7 months ago

Same error here (file signature invalid). I have my keepass file on onedrive, if I copy it from pc to my phone's storage using a USB cable it works. Downloading it with from within the onedrive app does not work.