]> git.baikalelectronics.ru Git - uboot.git/commit
test/py: efi_capsule: add image authentication test
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 9 Feb 2022 10:10:38 +0000 (19:10 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 11 Feb 2022 19:07:55 +0000 (20:07 +0100)
commit84d2d17a21520552464dc2cad5a62ac16e6a08b2
tree8ec0e9c67429f1f15e3687bfef7e1912f8da7b18
parentc558d084e84a55217f2311253c4f6e19750aef50
test/py: efi_capsule: add image authentication test

Add a couple of test cases against capsule image authentication
for capsule-on-disk, where only a signed capsule file with the verified
signature will be applied to the system.

Due to the difficulty of embedding a public key (esl file) in U-Boot
binary during pytest setup time, all the keys/certificates are pre-created.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
test/py/tests/test_efi_capsule/capsule_defs.py
test/py/tests/test_efi_capsule/conftest.py
test/py/tests/test_efi_capsule/signature.dts [new file with mode: 0644]
test/py/tests/test_efi_capsule/test_capsule_firmware_signed.py [new file with mode: 0644]