Module Name: src Committed By: riastradh Date: Thu May 7 19:12:45 UTC 2020
Modified Files: src/sbin/rndctl: rndctl.c Log Message: Rework rndctl seed load sequence again. Go back to the book's order, now that writing to /dev/random guarantees to consolidate entropy -- this way the _next_ boot is no less secure than the current boot, in the event that entropy sources like interrupt timings provided any security that we just don't know how to measure honestly. Make sure to open the old seed to overwrite and the new seed to write anew first so that we can determine whether the medium is read-only before accepting the file's entropy estimate. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sbin/rndctl/rndctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.