From 2996f0efe54df43694f8c3de1d91f79ad146bce2 Mon Sep 17 00:00:00 2001 From: jizhenlo Date: Tue, 30 Apr 2024 14:31:04 +0800 Subject: [PATCH] Add a release key for APEX Currently APEX packages are not resigned by a release key during a release build. Need to add a release key specific for APEX. This key is generated like this: openssl genrsa -out temp.pem 2048 openssl req -new -x509 -key temp.pem -out \ apexkey.x509.pem -days 10000 -subj \ '/C=US/ST=California/L=Santa Clara/O=Intel, \ Inc./OU=Intel/CN=Intel/emailAddress=shz@intel.com' openssl pkcs8 -in temp.pem -topk8 -outform DER -out \ releasekey.pk8 -nocrypt avbtool extract_public_key --key foo.pem --output foo.avbpubkey This key is only for test purpose and for production it needs to be replaced with customer specific key Tracked-On: OAM-122509 Signed-off-by: jizhenlo --- testkeys/cts-release-test/apex.avbpubkey | Bin 0 -> 1032 bytes testkeys/cts-release-test/apex.pem | 51 +++++++++++++++++++++++ testkeys/cts-release-test/apex.pk8 | Bin 0 -> 2374 bytes testkeys/cts-release-test/apex.x509.pem | 35 ++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 testkeys/cts-release-test/apex.avbpubkey create mode 100644 testkeys/cts-release-test/apex.pem create mode 100644 testkeys/cts-release-test/apex.pk8 create mode 100644 testkeys/cts-release-test/apex.x509.pem diff --git a/testkeys/cts-release-test/apex.avbpubkey b/testkeys/cts-release-test/apex.avbpubkey new file mode 100644 index 0000000000000000000000000000000000000000..f863ad908021eaa45e99c0fcf368a93c0302ddb0 GIT binary patch literal 1032 zcmV+j1o!&@01yECsP2o+KQzx!;re=mzKk7YFfzox`s8ybA+`{-0Xtp@Ayuf{lg#g! z$&w#3`9Kd07S<)qQKf4HUuLvMK@pJWj7HA|4By=_ZthW3q~w5>Fc`s&7x!AFT3bdR zc`F<@`M>`tVaw810c>)4D&`XQ6_S7BoDQ8^*WGX%LPXdbE z5$+dTAJgS9=F(+@P#4tN>mg1kX=iNA$+E@uf$%+I6<}b4hv$UGbH#M^&RIsKXh_Up zQrQ*EDTY6l6RI?&NkA(>lIg*P)0=B0k*gEx(p)?*!sm8t0Am+S*yHF1y^MD+Z0F!h z%BGXWKOEgTW>=lKGmLBGgFGd*ga|0!0QfCLHJtEcNC(lqop`z~&|O=y?umEN6oSA07 z^6dF0t*YQeGuO9*&_n|Pk*EEOrHZc1d~ zD1mhV1`@(3l$)Ob{wwht8#uU4P2pIRWwAJM5cz&IBoxP^#_Ls$=v6O5YRox4d%mUU#Je46zC)_U&Wtm8IfG4>BV z=J)x)%9iM@Y~qRvTo#8&))<(T@ug8VPEp0^la*q<-tut+{b-i%=Ufe#h=_c(p(7W{ z#3He5fOYx>v22wdi!at;tg2`Cj=^C;xj7*f;|3Hvh9M+8bQAJv8~ok zeI?GC@|CJ%xNHfZusaP>RO@M=-axeKMF$0(1AArK)vr}qEG-Tn9oF7!ujUB^L=lse zgi1&)DsTcIF-6Z^+*$3l(q}N;GYEtg5#*v4vGKB1sa1Mg!69jxh{_+OcHqN=A#94J CLi7j# literal 0 HcmV?d00001 diff --git a/testkeys/cts-release-test/apex.pem b/testkeys/cts-release-test/apex.pem new file mode 100644 index 0000000..c21db41 --- /dev/null +++ b/testkeys/cts-release-test/apex.pem @@ -0,0 +1,51 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIJKAIBAAKCAgEAzT80z1Dh+nqDvowdZDAyxL765HMnIbYQtAE7XgghVajck8zv +mMmSHzL5QA8MFtYlzFGlawRfZrRGQRGQ54xGzwUM390wbu5RVKTkgJYwGMGNF/da +pVpbRh95KxwXpU4pc+MHq1rKsPnGNI9AoUc7GtdyIwyzeQICOtBLi7P21B3zKWdd +AmQqPfNPAorcEe4XWx/T5TDm0mWDUBfU2ushTihpZ2zMybLF9YHwPWIVYGCDh+eE +xnPFdPXOWUalaEjMYFLZFcwphj+VE6o0pUlAK0GS6cGF05trJZGrE+rSXDwvwud2 +awBjF0zY4+gGvYx3L2zn4EvKppPFPxzdOWZXnbgzjGvkgzwltYQIKN4A+C1ENZzw +Y0gH0b2deLou0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8uicufZHv/0vQFJ5noVshuDZVHNZVoV2HCTJgm60ZAeHYHbDTzLp/LDHK +rqo45BsL9uti2YVZn3Kl+s9b/75xMcH9FL4VweLYWeLsf8BnwU+MnOkXKB9azC6R +CVi9pUJHp1GFalq054qRCqk+hCGk9BJ5yGFAN/HvFaYXVynFkMuuRwRSuCWRtNY8 +RDzp3PFgxKPGv1I3/itshAybWjsVNPZWdKmS/72HMuxCDo8LeFLucThXCjIZVq4a +7EO52IFmSzjhoPVAwja9Uj7G62pGxx8CggEBALVl6XMEy730NsYv+E+3a6z/tgSP +ie7Hybh2FmsyqTO/sUYz7G/jM8+kgOvzptB64U3IfYC4W0+9RJb4XeSEWNuKbX3W +Q+OHHEiCAlvohSkR4cQv3gJXbjBUMBTI/alEY/8FcekmhqopCkN61N60wxsxwYT3 +vNm/slbZSTpKBIgbcoCPZlQzgo5DPvvi2N5JGFnwclVcwYa6bX0in3cuJ36IcF1v +SymVB0f3OIJrhDaNNKhCF6aIKumG6DNpBPkXnUMc0mhDgoqXLlL/DxjOB7DZb6w6 +Y21nk1X07SKlwmnqIDNOqKXBuj6VO9VtmkqIu3V2W0/WjmpmiARhzMCrj/w= +-----END RSA PRIVATE KEY----- diff --git a/testkeys/cts-release-test/apex.pk8 b/testkeys/cts-release-test/apex.pk8 new file mode 100644 index 0000000000000000000000000000000000000000..f339d72bd6127e391fe5a26375653763cb6f7aa6 GIT binary patch literal 2374 zcmV-M3Ay$#f(b$b0RS)!1_>&LNQUwEHHuzC;|Zh0)heo0L?!%&rsp| zdV{`<9b_;v#J>9Eb0;CT5VQe1UI-yosN9px@0iJwA2Rts4-6L8CCpK!YXo0rv_?S@ zkmrm>&jk$M-7s$MQBA!HpO9TBTZBMjv@A92ccdDRbiot6Ivi`NlMlK%qxF z8rO0o46}Ix0y@x3i?jCB9rGz?T>@k(J@Zcjirf+I7h50G8`x-QUNTe9yaK)5@fvfGh4f$&`nh`%2Wz@25BybLNl0n-2u z#$;W-2wvv009Dm0su^jk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&k<3hflU|$xr^<;7f>SI8BTDu&LxVNt zOf;x3R+(!6veo9U;qxz_W8j*edpkFBcKQti(XPd}=5`aIVBj@Vl@$6x979|lu#w9w zw5PYlHw;Ruh6^KM&%C4$7tfl3S)X#H`p;YczHu?Z z{S>|x!Q$9i;_QFGXTeX5oaq-RA6m>VkqKD6r9wxiQH5$+wC9SE3aLJXA*A#YdB|Zv zH}UTkrWaQ!#gNOcM+8#1C6Tn&JVZR{-0@(_QHY3wToQaX42BG8tB`8tg;4*nwtCIN_l6K*Bb?Qa;A(YDUK&0)hbn0JUZ5a|Fx1 z^ftyX_)oWMtpBzIkBRQb$+&hFYci=bzp+L$>~G^U&!m9s^QO>x;Z4YWfVf*vy+oGy zUF3vV+lp;{)hnRjzd2C;@I9v7+LUgRb0V_x@~4xYtX$1KfokJYbXhVXEmo8HO4;an|u-R{{I%92T slU4NXBBjD<>L4>tsHMTWK9xJwZJJ7myLEP3Pu7lVW{3n~%)qOU{I_p|@c;k- literal 0 HcmV?d00001 diff --git a/testkeys/cts-release-test/apex.x509.pem b/testkeys/cts-release-test/apex.x509.pem new file mode 100644 index 0000000..ef3b6e1 --- /dev/null +++ b/testkeys/cts-release-test/apex.x509.pem @@ -0,0 +1,35 @@ +-----BEGIN CERTIFICATE----- +MIIF/TCCA+WgAwIBAgIUK3ySGWTToJPXiTiM3uQcanlrKRkwDQYJKoZIhvcNAQEL +BQAwgYwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRQwEgYDVQQH +DAtTYW50YSBDbGFyYTEUMBIGA1UECgwLSW50ZWwsIEluYy4xDjAMBgNVBAsMBUlu +dGVsMQ4wDAYDVQQDDAVJbnRlbDEcMBoGCSqGSIb3DQEJARYNc2h6QGludGVsLmNv +bTAgFw0yNDA0MjkwODA3NDBaGA8yMjk4MDIxMjA4MDc0MFowgYwxCzAJBgNVBAYT +AlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRQwEgYDVQQHDAtTYW50Y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