Page MenuHome GnuPG

Kleopatra: Clean up temporary files on windows
Open, NormalPublic

Description

On Windows for some weird historic reason temporary files are not cleaned automatically.

So on Startup it might be a good idea to remove all directories created by Kleopatra to ensure that in case we crashed or something we have not left probably confidential data lying around and no one notices.

Event Timeline

alexk mentioned this in Unknown Object (Phriction Wiki Document).Fri, Mar 6, 4:58 PM
alexk raised the priority of this task from Low to Normal.Wed, Mar 11, 10:27 AM

Relevant part from T6793: Cleanup temporary files / dirs with decrypted content:

  • Open encrypted attachment in kleopatra/mailviewer (via .eml file) + reboot
    • All temporary files in "C:\Users\g10\AppData\Local\Temp\kleopatra.XXXXXX" are still present after reboot (one folder per opened file)
    • Temporary files are still present after opening and closing Kleopatra
  • Decrypt archive in kleopatra + reboot during the success dialog with the save button
    • Temporary folder "C:\Users\g10\AppData\Local\Temp\kleopatra.XXXXXX" with extracted tarball still present after reboot
    • Temporary files are still present after opening and closing Kleopatra