Current-Users archive

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

Re: no entropy?



On Thu, Sep 10, 2020 at 04:06:12PM +0100, Patrick Welche wrote:
> I just upgraded to ancient boxen to -current/amd64. One has its 256 bits,
> the other has none?! I have tried playing spot the difference but
> haven't spotted anything:

Both machines do not have a proper hardware random number generator.
One of them has been seeded before and saved the entropy
in /var/db/entropy-file.

On the one that has not, you can manually do it by writing 32 random
bytes to /dev/random with dd(1), eg. after extracting them from some
machine with newer cpu (and hardware random number support) or from 
the properly seeded machine by reading 32bytes from /dev/urandom.

Or you attach your ualea random generator usb dongle for a short while ;-)

Martin


Home | Main Index | Thread Index | Old Index