Re: securely wipe sensitive data from mtd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 24, 2019 at 9:04 AM coreassumption
<coreassumption@xxxxxxxxxxxxxx> wrote:
>
> What is the proper way to clean a mtd of any sensitive data that may be located on them (NOR and NAND)?
>
> Would flashing a new image via uBoot be enough?  Or would the wear leveling mechanism prevent this from clearing everything?
>
> Would writing 0's from a running OS's be sufficient?  Or is the device 'smart' and not write zero streams?

This is not how flash works. You cannot overwrite anything.

> Are multiple passes of writing suggested or is this just a holdover from myths of magnetic mediums?

Well, if you do a block erase the data should be gone. But you can
never be sure that the flash chip really does.
So, like for any other storage type, encrypt the data and throw the
key away. :-)

-- 
Thanks,
//richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux