3 ms·
From the article we're reading: > On shutdown (these days between shutdowns too, just in case power is lost), the current state of the entropy pool as collecte
by mlyle 7y ago
From the article we're reading:
> On shutdown (these days between shutdowns too, just in case power is lost), the current state of the entropy pool as collected during the lifetime of the system is saved into a file so it can be loaded on next boot. This should include enough sufficiently unpredictable data to give you a pretty good security margin.
> When the file is loaded, it's combined with additional entropy collected during the boot process.
> The first time the system is booted, and early in the boot process, things get more difficult.
- throwaway2048 7y agoNetBSD's approach is different as the kernel is loading the file, and it has to have "enough" kernel initialized to gain file system access, that is already past the point where many kernel structures can be randomized. NetBSD's approach to this is pretty much the as *nix have done for a long time.
- loeg 7y agoSee ahoka's sibling comment.