tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /dev/random issue



On Thu, Oct 01, 2020 at 06:11:20PM +0200, Martin Husemann wrote:
> On Thu, Oct 01, 2020 at 05:57:12PM +0200, Manuel Bouyer wrote:
> > Source                 Bits Type      Flags
> > /dev/random               0 ???  estimate, collect, v
> [..]
> > seed                      0 ???  estimate, collect, v
> 
> No random number generator and you did not seed the machine.

I still firmly believe that the fan sensor, at least, should be
counting bits by default -- there is an obvious, random physical
process (turbulence) involved.

That's not likely to get you enough bits to move forward,
though.

> 
> On another machine with working random number generator (nearly all modernish
> amd64 machines have that) do:
> 
> 	dd if=/dev/random of=/tmp/file bs=32 count=1
> 
> then scp the file over and dd it into /dev/random:
> 
> 	dd if=/tmp/file of=/dev/random bs=32 count=1
> 
> This will be preserved accross reboots, so it is a one-time only fix.
> 
> Martin

-- 
 Thor Lancelot Simon	                                     tls%panix.com@localhost
  "Whether or not there's hope for change is not the question.  If you
   want to be a free person, you don't stand up for human rights because
   it will work, but because it is right."	--Andrei Sakharov


Home | Main Index | Thread Index | Old Index