News for hackers. Stuff that matters.
Re:Create AES256 encrypted loop devices (.img files) under L... by thyrsus on Saturday January 01, 2011 @01:40PM (#2058041)
The script initializes the image from /dev/zero, which means that an attacker can tell which blocks of the filesystem image are data and which are empty. Unless you really can't afford to wait the minute or so for it to finish, use /dev/urandom - or /dev/random, if you've got access to sufficient entropy (did you pay extra for a hardware random number generator?).

There are no comments on this comment yet.