> The memory deallocation could be improved to not to contain secrets
Attacks against RAM are as old as time. The beauty of RAM is everything gets wiped when you power off, so secrets don't persist.
Attacks against RAM are as old as time. The beauty of RAM is everything gets wiped when you power off, so secrets don't persist.
[1] https://github.com/arekbulski/Cameleonica/blob/master/docume...
[2] https://www.usenix.org/legacy/event/sec08/tech/full_papers/h...
I think there is an API in windows to mark a small part of memory as unswappable, but it can't be very big.
https://wiki.archlinux.org/title/Dm-crypt/Swap_encryption
Does someone know how it's handled on Windows and macOS?
Unfortunately, it isn't enabled by default but needs kernel parameters.
I understand firmware vendors are to blame, and in many machines the system will freeze when you attempt to actually use this feature. This is unfortunate.