Menu

#2950 Mistakes Are Permanent Before Saving

KeePass_2.x
closed
nobody
None
5
2025-10-23
2025-10-23
SewerGoose
No

There is no way to close a KeePass file without saving while having the "Automatically save when closing/locking the database" option turned on in Advanced settings. So, if you accidentally permanently delete an entry, you will be forced to save it as deleted with no way to prevent the deletion even though you never saved. Please add an option to close a KeePass file.

It's also really bad that there is no way to have a KeePass file auto-closed if a KeePass sub-dialog is opened. If someone breaks down your door as you're adding/modifying an entry, they will be able to then look at your keepass file unencrypted even if it takes them days to notice your PC. That makes KeePass unusable to store passwords compared to other password management software, but I know the developer wants it to be insecure in that way.

Discussion

  • SewerGoose

    SewerGoose - 2025-10-23

    By "Please add an option to close a KeePass file.", I meant to say "Please add an option to close a KeePass file without being forced to save it."

     
  • Dominik Reichl

    Dominik Reichl - 2025-10-23
    • status: open --> closed
     
  • wellread1

    wellread1 - 2025-10-23

    KeePass already warns you before you permanently delete an entry(s). If you want a pause to reflect before closing uncheck off "Automatically save when closing/locking the database" .

    Otherwise, I suspect you are asking for a new dialog that only appears before closing if you made a permanent deletion during the current KeePass session. In my opinion as a user, this would be inadvisable because the user may have made multiple additional changes to the database during the same KeePass session. If KeePass closed the database without saving, the additional changes would be lost permanently. This could have serious adverse consequences.

    Your best options are:

    1. Make regular backups of your database. If you accidentally delete an entry you can restore it from a backup.
    2. Use the recycle bin and don't empty for at least a few days so you have an opportunity reconsider your decision to delete.
    3. Expire the entry proposed for deletion. Again you can come back to it later for the permanent deletion.
    4. Be very deliberate whenever you delete an entry, and whenever you receive the warning that KeePass will permanently delete an entry.
     

    Last edit: wellread1 2025-10-23

Log in to post a comment.

MongoDB Logo MongoDB