lkml.org 
[lkml]   [1998]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Unswappable memory needed is user space
Date
From
> I'm making a crypto program (under french law).
> It crypts a file and then totally erase the uncrypted by filling it with
> zero.
>
Don't know about the non-swap mem, but what you're doing here is another
problem. Just writting zeros to the disk won't prevent the file from still
being read off the disk by some very syphisicated techniques (done by looking
at the magnetic fields on the platter in a clean box). Instead, you want to
write over the file at least three times with random bits. This too may be
insufficient if ext2 (or whatever other underlying fs) relocates the file when
you go to write over it (hence, the origional is in one place, marked as free
space, and your random data is in another). Anyone know more about this?
>
> christophe leroy
>
-"Zow"


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.117 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site