Module Name: src Committed By: riastradh Date: Fri Dec 6 14:43:18 UTC 2019
Modified Files: src/sbin/rndctl: Makefile rndctl.8 rndctl.c Added Files: src/sbin/rndctl: namespace.h Log Message: Teach `rndctl -L' to update the seed file, not just delete it. The seed file is updated by entering the old seed into the system and then hashing the old seed together with data from /dev/urandom, and writing it atomically with write-to-temporary/rename-to-permanent. This way, interruption by crash or power loss does not obliterate your persistent entropy (unless it causes file system corruption). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sbin/rndctl/Makefile cvs rdiff -u -r0 -r1.1 src/sbin/rndctl/namespace.h cvs rdiff -u -r1.22 -r1.23 src/sbin/rndctl/rndctl.8 cvs rdiff -u -r1.30 -r1.31 src/sbin/rndctl/rndctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.