Hacker News new | ask | show | jobs
by yuhong 5495 days ago
How about having a command to manually reseed the PRNG?
1 comments

You mean like write(2)? :)
Yes, in general write to /dev/random with the write permissions is how entropy gathering daemons and the like work. It gets added the input and mixed in. However, that doesn't fix the issue of how a snapshot restore works on most hypervisors. Adding an RNG refresh as part of the restore process could be possible, but definitely not trivial, and it could have other consequences if not carefully implemented.