diff options
author | Cameron Nemo <cnemo@tutanota.com> | 2019-10-03 12:20:56 -0700 |
---|---|---|
committer | Cameron Nemo <cnorman@cenic.org> | 2019-10-03 12:20:56 -0700 |
commit | c3c7749db06a520457bbac810018dafa0729acde (patch) | |
tree | 0f7d6b4c9ca4e7bee7a0c08c3dddc63f79c89c41 /halt.c | |
parent | abd5e95bc3ec7cc4ef2c2bd7c7b04efefc0ec566 (diff) | |
download | runit-void-c3c7749db06a520457bbac810018dafa0729acde.tar.gz runit-void-c3c7749db06a520457bbac810018dafa0729acde.tar.xz runit-void-c3c7749db06a520457bbac810018dafa0729acde.zip |
fix(urandom): avoid uninitialized read during boot
Regenerating the stored seed was an attempt to prevent hard shutdowns from leading to seed reuse. Unfortunately, this practice depletes any entropy that was added by the seed. Furthermore on newer kernels which do not credit entropy added from userspace, the operation is often an uninitialized read of urandom.
Diffstat (limited to 'halt.c')
0 files changed, 0 insertions, 0 deletions