]> git.baikalelectronics.ru Git - uboot.git/commit
test/py: efi_secboot: add a test for a forged signed image
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 5 Jul 2022 05:48:15 +0000 (14:48 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 5 Jul 2022 12:37:16 +0000 (14:37 +0200)
commit74ceb3d8ca31ec5c709f2242d64c4d321419442d
treee6a9774971bd0e2a1b49eedbf17401a70c796753
parentc16671b803cbb366fa95d2faf233ecf415d5dd50
test/py: efi_secboot: add a test for a forged signed image

In this test case, a image binary, helloworld.efi.signed, is willfully
modified to print a corrupted message while the signature itself is
unchanged.

This binary must be rejected under secure boot mode.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
test/py/tests/test_efi_secboot/conftest.py
test/py/tests/test_efi_secboot/forge_image.sh [new file with mode: 0644]
test/py/tests/test_efi_secboot/test_signed.py