arc4random initialization
Hal Murray
hmurray at megapathdsl.net
Mon Dec 7 09:46:01 UTC 2020
markm at FreeBSD.org said:
> Once you've installed on some R/W medium and rebooted, the necessary entropy
> will have been stashed for you, and the first SSH keys will be generated
> properly.
If I do a fresh install, when does the host's SSH key get generated and where
does the entropy for that step come from?
I assume lots of entropy is generated during the install. Does that get
written to the new system's disk so it has some at first boot?
Does the on-disk entropy file get updated occasionally (as compared to only at
shutdown) so it doesn't get reused if the system crashes?
If so, how often is "occasionally"? Will that turn into a wear-out problem if
running on a flash drive? (eg Raspberry Pi)
--
These are my opinions. I hate spam.
More information about the freebsd-hackers
mailing list