by LinuxBender · 3y ago · 0 comments
Instead, you may want to encrypt your disk so that as soon as the key is gone it all becomes unreadable. For a bigger threat, maybe you need to follow the NIST destroy guidelines [1] to "Disintegrate, Pulverize, Melt, and Incinerate" the media.
1: https://nvlpubs.nist.gov/nistpubs/specialpublications/nist.s...
> something to probably add to my clean up script.
These capture files are deleted if they are older than a day the next time lnav is run.
(I realize they should've been stored in ~/.local/state instead of ~/.config ...)
Shred also isn't perfect as it has no concept of the file systems journal and does not clean that data but I think it is still good practice for sensitive data, in addition to filesystem or file level encryption on systems with highly sensitive data.
With sensitive data one must look at the value of the data vs the value of the SSD. If I go out of my way to extend the life of my SSD, do I risk losing $5billion? That is how I factor in whether or not extra wear-and-tear on a SSD makes sense.
Either way one should also use filesystem and file level encryption for sensitive files and encrypt sensitive attributes inside databases. Swap must also be encrypted as it may contain sensitive data. Datacenter bad-drive mishaps do happen as in not shredding the physical drive as a few government and military agencies have recently been embarrassed by.
I do agree with pinkorchid that ultimately drives should be destroyed physically.