-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi,
I've been working on a similar project, but here is a problem that I faced, and it seems to be present in your code as well:
https://github.com/aviaryan/SublimeNotebook/blob/master/sublime_notebook/cryptlib.py#L112
and
https://github.com/aviaryan/SublimeNotebook/blob/master/sublime_notebook/sublime_notebook.py#L55
When you overwrite the unencrypted data with crypted data, you are not sure that the OS or the HDD/SSD hardware writes it at the same place on the disk, on the same blocks / sectors of the disk.
Result: the unencrypted data (plain text) can stay on your disk, and be easily recovered with a simple Undelete tool / HEX viewer. A software like Recuva and wxHexEditor will be able to see your files without the master password...
What do you think? I've been thinking about this problem for a long time too!