tusing /dev/random as a better source of entropy for key generation - tomb - the crypto undertaker
HTML git clone git://parazyd.org/tomb.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit b72a6448a9fefa99e1d91c98a66080d18b7a49ac
DIR parent 246db46140cdfb0ced57bd9bd5eaee9d29a8bb5a
HTML 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:
M src/tomb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/src/tomb b/src/tomb
t@@ -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}