Menu

#1845 Temp-Files of attachments will not be deleted when cancel dialog

KeePass_2.x
closed
nobody
None
5
2019-05-02
2019-05-02
No

Temp-Files of attachments will not be deleted when cancel dialog.

Way to reproduce:

  • Open attachment from kdbx file, e.g. excel
  • Close Keepass info (import/discard dialog) and cancel following info that access for temp-saved file is not possible. Excel is still open.
  • Close excel-file.

Now the temp-file of the attachment is NOT deleted and Keepass leaves secure data which is accessable for everyone.

Please fix

Discussion

  • Dominik Reichl

    Dominik Reichl - 2019-05-02
    • status: open --> closed
     
  • Dominik Reichl

    Dominik Reichl - 2019-05-02

    After opening the attachment, you first need to close Excel and then choose what KeePass should do with the temporary file (import or discard changes).

    KeePass' dialog explicitly states: "After viewing/editing and closing the file in the external application, please choose how to continue". If you do it the other way around, the file may still be locked by the external application (preventing deletion by KeePass).

    If you accidentally close KeePass' dialog first and KeePass cannot delete the file, it shows a warning dialog, in which you can choose whether to retry or cancel. If you click 'Cancel', KeePass gives up trying to delete the file; this is the expected behavior.

    Best regards,
    Dominik

     

Log in to post a comment.

Auth0 Logo