commit b72a6448a9fefa99e1d91c98a66080d18b7a49ac
parent 246db46140cdfb0ced57bd9bd5eaee9d29a8bb5a
Author: Jaromil <jaromil@dyne.org>
Date: Tue, 8 Feb 2011 11:00:09 +0100
using /dev/random as a better source of entropy for key generation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tomb b/src/tomb
@@ -354,7 +354,7 @@ create_tomb() {
act "once done you will be asked to choose a password for your tomb."
touch ${keytmp}/tomb.tmp
chmod 0600 ${keytmp}/tomb.tmp
- $DD bs=1 count=256 if=/dev/urandom of=${keytmp}/tomb.tmp
+ $DD bs=1 count=256 if=/dev/random of=${keytmp}/tomb.tmp
if ! [ -r ${keytmp}/tomb.tmp ]; then
error "cannot generate encryption key, operation aborted."
umount ${keytmp}