]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[image] Implicitly trust first embedded image
authorJoe Groocock <jgroocock@cloudflare.com>
Thu, 19 Dec 2019 13:08:50 +0000 (13:08 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 27 Jan 2021 12:42:31 +0000 (12:42 +0000)
commit8488c989cc109efc8eead4a089d773848d092d02
tree55c4320cb2efb2c09c52cc95335293507930a512
parentb9de7e6eda04cecaff6735a60c7fe7f488fdccf1
[image] Implicitly trust first embedded image

iPXE when used as a NIC option ROM can sometimes be reloaded by the
UEFI/BIOS and any pre-initialised memory will remain loaded. When the
imgtrust command is run it sets `require_trusted_images'. Upon
reloading, iPXE tries to load the first embedded image but fails as it
is not marked trusted.

Setting this flag ensures that imgtrust with the first embedded script
is reentrant.

Signed-off-by: Joe Groocock <jgroocock@cloudflare.com>
src/image/embedded.c