diff options
author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2023-08-22 23:09:56 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-29 13:37:54 -0400 |
commit | b74f62920bca5da25be0eefe08498d4d294b9697 (patch) | |
tree | 0584cf8c0562d3a699e8a88a04215e409f41a85f /board/sandbox/capsule_pub_key_bad.crt | |
parent | b9e0f7a63671a7eb17c5b28ed98843b7afc343e6 (diff) | |
download | u-boot-b74f62920bca5da25be0eefe08498d4d294b9697.zip u-boot-b74f62920bca5da25be0eefe08498d4d294b9697.tar.gz u-boot-b74f62920bca5da25be0eefe08498d4d294b9697.tar.bz2 |
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>
Diffstat (limited to 'board/sandbox/capsule_pub_key_bad.crt')
-rw-r--r-- | board/sandbox/capsule_pub_key_bad.crt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/board/sandbox/capsule_pub_key_bad.crt b/board/sandbox/capsule_pub_key_bad.crt new file mode 100644 index 0000000..2e8e5d5 --- /dev/null +++ b/board/sandbox/capsule_pub_key_bad.crt @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDDzCCAfegAwIBAgIUWw3vHYnrjoHUXytxSm2eYWzbYVAwDQYJKoZIhvcNAQEL +BQAwFjEUMBIGA1UEAwwLVEVTVF9TSUdORVIwIBcNMjMwODA0MTgwODEyWhgPMzAw +MzEwMDYxODA4MTJaMBYxFDASBgNVBAMMC1RFU1RfU0lHTkVSMIIBIjANBgkqhkiG +9w0BAQ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