]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: don't load signature database from file
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 25 Aug 2021 17:13:24 +0000 (19:13 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 4 Sep 2021 10:03:57 +0000 (12:03 +0200)
commit5f21ee001e42fe7473d7cb729cad049bd8a6c994
tree50276c339c16fc0dddce721de81515e980c4a89b
parent690295c8562e400c6c66a6151df5504ee403cb85
efi_loader: don't load signature database from file

The UEFI specification requires that the signature database may only be
stored in tamper-resistant storage. So these variable may not be read
from an unsigned file.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_variable.h
lib/efi_loader/efi_var_common.c
lib/efi_loader/efi_var_file.c
lib/efi_loader/efi_variable.c