seeding randomness in zee cloud
Dirk-Willem van Gulik
dirkx at webweaving.org
Fri May 31 12:26:41 UTC 2013
Op 31 mei 2013, om 14:02 heeft RW <rwmaillists at googlemail.com> het volgende geschreven:
> On Fri, 31 May 2013 12:01:02 +0200 Dirk-Willem van Gulik wrote:
>> # Seed Software random generator
>> #
>> cat rnd > /dev/random
>
> To be on the safe side you should sleep for about 0.5 seconds after
> this
>
>>
>> # Activate software random generator as an additional source
>> sysctl kern.random.sys.harvest.swi=1
>
> IIRC this doesn't do anything
Thanks. So the man page says:
The kern.random.sys.harvest.swi variable is used to select software
interrupts as an entropy source. A 0 (zero) value means software inter-
rupts are not considered as an entropy source. Set the variable to 1
(one) if you wish to use them for entropy harvesting.
but it is fair to assume that even when it is set to '0' (the default observerd on 9.1-RELEASE) - that the randomness sent to /dev/random is still mixed in ?
Thanks,
Dw.
More information about the freebsd-hackers
mailing list