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.

that doens't explain why the other sources of entropy, which were working
bedore, are not working any more.

> 
> 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.

OK. But how is it preserved across reboot ? Where does the kernel stores it ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index