diff options
author | Matt Johnston <matt@ucc.asn.au> | 2007-07-19 15:47:32 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2007-07-19 15:47:32 +0000 |
commit | b04e2d14ef0319a5d3814709a5ee0c00b7ceec19 (patch) | |
tree | ed06c2918580d2714749463ae1c7a919ad1d818f /options.h | |
parent | 456b5009022fe7e7facbe5715a63c961cef1abd1 (diff) |
Just use /dev/urandom since that's what everyone ends up using anyway.
Make -u a nop.
--HG--
extra : convert_revision : ef0615311b43c8bfe1985df64a4a95ce4ec0d8e6
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -162,15 +162,10 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */ * The device will be queried for a few dozen bytes of seed a couple of times * per session (or more for very long-lived sessions). */ -/* If you are lacking entropy on the system then using /dev/urandom - * will prevent Dropbear from blocking on the device. This could - * however significantly reduce the security of your ssh connections - * if the PRNG state becomes guessable - make sure you know what you are - * doing if you change this. */ -#define DROPBEAR_RANDOM_DEV "/dev/random" - -/* The -u flag on the commandline can also be used */ -#define DROPBEAR_URANDOM_DEV "/dev/urandom" +/* We'll use /dev/urandom by default, since /dev/random is too much hassle. + * If system developers aren't keeping seeds between boots nor getting + * any entropy from somewhere it's their own fault. */ +#define DROPBEAR_RANDOM_DEV "/dev/urandom" /* prngd must be manually set up to produce output */ /*#define DROPBEAR_PRNGD_SOCKET "/var/run/dropbear-rng"*/ |