LWN.net Logo

What about shred(1)?

What about shred(1)?

Posted Oct 14, 2011 2:41 UTC (Fri) by zlynx (subscriber, #2285)
In reply to: What about shred(1)? by michaeljt
Parent article: Securely deleting files from ext4 filesystems

An SSD might not securely delete the contents when requested.

On the other hand, it will almost certainly not delete the data if you attempt to delete by overwriting, because of wear leveling.

So going with secure delete/TRIM which will probably work, against overwriting which will probably not work, the choice is clear.


(Log in to post comments)

What about shred(1)?

Posted Oct 14, 2011 3:02 UTC (Fri) by raven667 (subscriber, #5198) [Link]

The choice is clear, yes, use full-disk encryption...Tools like shred are probably not worth your time.

key management

Posted Oct 17, 2011 14:19 UTC (Mon) by jpnp (subscriber, #63341) [Link]

So now you've exchanged a media wiping problem for a key management problem, hardly a panacea.

key management

Posted Oct 17, 2011 21:50 UTC (Mon) by raven667 (subscriber, #5198) [Link]

Maybe not a panacea but a far more understandable and tractable problem.

The alternative is storing everything in the clear and then making bad assumptions about how the underlying technology works so that you can try and fail to wipe the data when required because you don't really control or understand the underlying storage.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds