]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: capsule: Add keys and certificates needed for capsule update testing
authorSughosh Ganu <sughosh.ganu@linaro.org>
Tue, 22 Aug 2023 17:39:56 +0000 (23:09 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 29 Aug 2023 17:37:54 +0000 (13:37 -0400)
commitb74f62920bca5da25be0eefe08498d4d294b9697
tree0584cf8c0562d3a699e8a88a04215e409f41a85f
parentb9e0f7a63671a7eb17c5b28ed98843b7afc343e6
sandbox: capsule: Add keys and certificates needed for capsule update testing

Add the private keys and public key certificates which are to be used
for capsule authentication while testing the EFI capsule update
functionality. There are two pairs of private and public keys, good
and bad. The good key pair will be used for signing capsules, whilst
the bad key pair is to be used as malicious keys for testing
authentication failure cases. The capsule_pub_key_good.crt is also
converted to an EFI Signature List(ESL) file, SIGNER.esl, which is
embedded in the platform's device-tree for capsule authentication.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/sandbox/capsule_priv_key_bad.key [new file with mode: 0644]
board/sandbox/capsule_priv_key_good.key [new file with mode: 0644]
board/sandbox/capsule_pub_esl_good.esl [new file with mode: 0644]
board/sandbox/capsule_pub_key_bad.crt [new file with mode: 0644]
board/sandbox/capsule_pub_key_good.crt [new file with mode: 0644]