diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-09-22 17:28:47 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-10-01 21:16:36 +0200 |
commit | cc63374a5a7c240b7d3be734ef589dabbefc7527 (patch) | |
tree | c699a9e982ce11aa29dcf6082a536e30e2b456d3 /scripts | |
parent | c4ef867f2949bf2a2ae18a4e27cf1a34bbc8aecb (diff) |
x86: re-initialize RNG seed when selecting kernel
We don't want it to be possible to re-read the RNG seed after ingesting
it, because this ruins forward secrecy. Currently, however, the setup
data section can just be re-read. Since the kernel is always read after
the setup data, use the selection of the kernel as a trigger to
re-initialize the RNG seed, just like we do on reboot, to preserve
forward secrecy.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Message-Id: <20220922152847.3670513-1-Jason@zx2c4.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions