Harden your Librem devices with secure-delete

I think this is complicated because in theory the SSD itself erases the ‘sector’ each time the sector is written. So a disk sector that becomes unused is going to be erased on way or another.

That would then make the choice of ‘random data’ a bad thing on an SSD, in the sense that the disk sector ends up being written twice in the process of going from used to unused to used.

Worse still is if the disk contains an encrypted file system and this is operating above the encryption layer (because in that case a sector of zeroes becomes ‘random data’ by the time it hits the disk). On the other hand, if this is operating below the encryption layer then this leaks information about the utilisation and placement of data on the disk.

Should be similar in functionality to shred ?

1 Like