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.29k stars 260 forks source link

KeepassDX doesn't open my .kdbx file #1808

Closed Zarvis12 closed 2 months ago

Zarvis12 commented 2 months ago

The KeepassDX app closes the .kdbx file after opening it

I try to open the .kdbx file by entering the password but it returns to the password screen again or it just gets stuck loading. It briefly shows me the groups and passwords inside it and returns to the master password screen.

Tried to open the kdbx file with Keepass2Android app and it opens it just fine. Also tried to open the file in the Samsung Galaxy Tab S8 on the KeepassDX app and it opens.

To Reproduce

https://github.com/Kunzisoft/KeePassDX/assets/36318260/0b5a36ec-3480-4349-ab16-313590a79ebd

Additional information

Previous I used the biometric unlocking to unlock the .kdbx (worked fine) and now with this bug/crash happening I removed it, to see if it works, but it didn't.

Expected behavior

I expect to open the database and access my passwords stored in there

KeePass Database

KeePassDX:

Android:

J-Jamet commented 2 months ago

I see several possible problems:

Zarvis12 commented 2 months ago

I see several possible problems:

  • Either the system detects a foreground service and kills it immediately for no reason, check that you don't have permissions overridden by the OS.
  • Or you've set a timeout somewhere around zero
  • Your database is badly formatted. Try exporting it in XML and then re-importing it from a KeePass computer program.

Thanks bro, I have recently installed an app called "Regain" to minimise my phone usage, one of its features is it blocks the notifications and only let's them access at particular hours of the day. It blocked the KeepassDX notifications so the app was not working. Now I have Whitelisted the app, the app is up and working.

Zarvis12 commented 2 months ago

Resolved