u-boot-brain/test/py/tests/test_efi_secboot
AKASHI Takahiro 7fdc02b3d7 test/py: efi_secboot: add a test for verifying with digest of signed image
Signature database (db or dbx) may have not only certificates that contain
a public key for RSA decryption, but also digests of signed images.

In this test case, if database has an image's digest (EFI_CERT_SHA256_GUID)
and if the value matches to a hash value calculated from image's binary,
authentication should pass in case of db, and fail in case of dbx.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>

Use defined time stamps for sign-efi-sig-list.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2020-07-11 23:14:16 +02:00
..
conftest.py test/py: efi_secboot: add a test for verifying with digest of signed image 2020-07-11 23:14:16 +02:00
defs.py test/py: efi_secboot: apply autopep8 2020-07-11 23:14:16 +02:00
test_authvar.py test/py: efi_secboot: more fixes against pylint 2020-07-11 23:14:16 +02:00
test_signed.py test/py: efi_secboot: add a test for verifying with digest of signed image 2020-07-11 23:14:16 +02:00
test_unsigned.py test/py: efi_secboot: more fixes against pylint 2020-07-11 23:14:16 +02:00