On Mon Sep 26 08:03:54 2022 +0000, Huw Davies wrote:
Rather than keeping the file open, it probably makes more sense to store the filename and reopen it when you need to save it.
I did it like this because I wanted to lock the file somehow, so other process can't open the file while the key is loaded.