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

Creating a database without a key or password makes it imposible to unlock #1767

Closed kylian-002 closed 4 months ago

kylian-002 commented 4 months ago

Describe the bug

When creating a database and not setting any password or key, it successfully creates. Adding passwords works fine, but after locking, it becomes impossible to unlock it again. The "unlock" option remains greyed out unless you toggle one of the unlock methods, such as the password one. However, when leaving the password blank and not filling in any credentials, you receive the error message "Could not read credentials," even though nothing was initially set. I encountered this issue when I had to quickly save a few passwords and accounts without using a text file, only to later find that I couldn't unlock the database again.

To Reproduce

Steps to reproduce the behavior:

  1. create a database,
  2. do not set any security method
  3. Press ok when it asks "Continue without encryption key"
  4. Lock the database
  5. open the created database
  6. toggle the password option and leave the password blank
  7. Press unlock

Expected behavior

Unlock the database even when no password is used

KeePass Database

KeePassDX:

J-Jamet commented 4 months ago

Settings - App settings - Allow no master key