krazzz - 2026-01-05

Hi,

Dunno if it is a bug, a feature or just unwanted behaviour:

In preferences, I have ticked "wipe cached passwords on exit".
When I then close the GUI (with the cross in upper right corner), cache is wiped (although Veracrypt is still running in the background, containers still mounted). To me, this is the intended behaviour of "wipe cached passwords on exit".

But then there is you can assign a hotkey to "Show/Hide the MainVeracrypt Window". When pressing associated hotkey, GUI closes, while Veracrypt is still running in the background, containers still mounted. However, cache is not wiped, and afterwards volumes can still be mounted with cached passwords. to me, this is unwanted bahaviour.

This hotkey mimics the behaviour of the cross in the upper right corner of the GUI, as they both hide the GUI, but wiping cache is befferent between the two methods.
Why is this different? Yes, the hotkey says "hide" instead of "exit", so there is a bit of wordplay. But intuitively, it doesn't make sense to me what the difference is between hiding and exiting, while veracrypt remains active in background. I'd vote for renaming+reprogramming that preference to "wipe cached passwords when GUI is hidden or veracrypt exits".

Note (if wordplay does become important): a hotkey can also be assigned to "Force unmount all, wipe cache and exit". This exits veracrypt completely (not running in background anymore). This use of the word "exit" is different than the use of exit in "wipe cached passwords on exit".

 

Last edit: krazzz 2026-01-05