View Single Post
deadmalc's Avatar
Posts: 415 | Thanked: 182 times | Joined on Nov 2007 @ Leeds UK
#8
Originally Posted by davost View Post
On the line
dd if=/dev/urandom of=$CRYPTFILE bs=1M count=$CRYPTSIZE

why not /dev/random instead? Isn't that more secure?
urandom is non blocking, so using random maybe "more secure" but you are likely to suffer file system freezes using random - not something you would want.

random is generally used for cert generation and one off stuff like that
__________________
Life on the edge....always waiting to fall

Last edited by deadmalc; 2010-01-12 at 21:03. Reason: !probably, maybe - maybe not (I am too lazy to check)
 

The Following 3 Users Say Thank You to deadmalc For This Useful Post: