From e17dfc5c4049ef8e067543956270d0dd90188757 Mon Sep 17 00:00:00 2001 From: xumia Date: Sun, 28 Jun 2020 23:57:14 +0000 Subject: [PATCH 1/3] Add the test signing certificates for secure boot --- build_image.sh | 10 +++- .../secureboot/test-certs/ca.cert | 32 ++++++++++++ .../image_config/secureboot/test-certs/ca.key | 51 +++++++++++++++++++ .../secureboot/test-certs/signing.cert | 30 +++++++++++ .../secureboot/test-certs/signing.key | 51 +++++++++++++++++++ 5 files changed, 173 insertions(+), 1 deletion(-) create mode 100644 files/image_config/secureboot/test-certs/ca.cert create mode 100644 files/image_config/secureboot/test-certs/ca.key create mode 100644 files/image_config/secureboot/test-certs/signing.cert create mode 100644 files/image_config/secureboot/test-certs/signing.key diff --git a/build_image.sh b/build_image.sh index 4fd9f7315a25..2cd3d98fb82f 100755 --- a/build_image.sh +++ b/build_image.sh @@ -150,7 +150,15 @@ elif [ "$IMAGE_TYPE" = "aboot" ]; then if [ "$SONIC_ENABLE_IMAGE_SIGNATURE" = "y" ]; then TARGET_CA_CERT="$TARGET_PATH/ca.cert" rm -f "$TARGET_CA_CERT" - [ -f "$CA_CERT" ] && cp "$CA_CERT" "$TARGET_CA_CERT" + + # If the ca certificate does not exist, the test certificate will be used to sign the image + if [ ! -f "$CA_CERT" ]; then + TEST_CERT_PATH=files/image_config/secureboot/test-certs + CA_CERT="${TEST_CERT_PATH}/ca.cert" + SIGNING_KEY="${TEST_CERT_PATH}/signing.key" + SIGNING_CERT="${TEST_CERT_PATH}/signing.cert" + fi + cp "$CA_CERT" "$TARGET_CA_CERT" ./scripts/sign_image.sh -i "$OUTPUT_ABOOT_IMAGE" -k "$SIGNING_KEY" -c "$SIGNING_CERT" -a "$TARGET_CA_CERT" fi else diff --git a/files/image_config/secureboot/test-certs/ca.cert b/files/image_config/secureboot/test-certs/ca.cert new file mode 100644 index 000000000000..cda30c93b399 --- /dev/null +++ b/files/image_config/secureboot/test-certs/ca.cert @@ -0,0 +1,32 @@ +-----BEGIN CERT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AwEAAaNTMFEwHQYDVR0OBBYEFPQ0EaH5TBOLzWsKcxulRv6x +7u4ZMB8GA1UdIwQYMBaAFPQ0EaH5TBOLzWsKcxulRv6x7u4ZMA8GA1UdEwEB/wQF +MAMBAf8wDQYJKoZIhvcNAQELBQADggIBAArskhDlz234hh2n3miCi6rt2uS9XKtZ +Ew+y3VuCymWOgwUDOEbwrnX4pctngtST6Q5WSdmPlY6cyKX7mLoTSHYcSotDUdyj +94D3422KDjAlHPVP3XCwEtosFv2YXy2CvxZQNcCe3/ixcX5ngpZG6tS3G3MW/TFZ +I7eTs276fUFLBXlNWpqMWQvcuWTnWtg+FpQ9VHA7Hp6I2tbt6cbgY9kmYG7GvCaR +Qc/ndmloGQfOHhKJlZrYtTGNrevKdeNsM4wwEHidSvIA2pUjhnuQwlENrTZeXj/i +0ZurAItIy6LXge3HWu5uK8f32c2poPTw7qeWw3P1mkeXwjjgTZ2N8Bd6Ytvni8Bo +FecnVOUmLcHD9kD8s6sVdPPQmTx3BsEAuaqWf9/FpgkpLIQuZN1Yh7rp2QFCFIWo +FrRQK5ciG68gZrkxREvPPgtM0jjrLsvoHaDP7CnoC4ry2JNud4Chns+vxs8qSNa6 +Xs9lQI+9w+FxIuAHZx1CqL5Q7deUxIIzfum8MKHP6Tyi5fDkQPE40WuQAt8Imur/ +RVdoFB6A2gqBve62Gls73bvDi/CGnqDbUjzDA0KrxCwT2TOuKwEH1cf5TotN/W5h ++qihbzoSvhLbxW31sxoJJBq03UHgTlwO0bKDV91L/EaRElrgKlN4IRkGlvl5Dsbi +h3oUpULSesTT +-----END CERTIFICATE----- diff --git a/files/image_config/secureboot/test-certs/ca.key b/files/image_config/secureboot/test-certs/ca.key new file mode 100644 index 000000000000..9d5bf36edb77 --- /dev/null +++ b/files/image_config/secureboot/test-certs/ca.key @@ -0,0 +1,51 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIJKQIBAAKCAgEA47e+5i0gNkeNMmddO76++mTlAbAJKR49rKPNsjlsro9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n8iIiO +peBuo+w4Ghrq2BixOZzEQ7eK9DQmF5O6XJriUem/DYdms+XiLGyjrWGBEUS48hzC +Uh8NqMvEqE+PuLU2SvA/8tcq0+Ods5KL5QhB7pHmzYzGcY0nzGjFAOdk1GRQXXlY +evU1xPVLAzM6mFOLO7E7p0s7F83ggt7Sp+NbvdgsH2+7yX8nF/urfiGmgyAGCohw +E/crWCxqDwSehz2RBeWzn27sQL0GUlZ87G45B5MjdwI2hNGGII1EfizJbWYsBnGg +HnT4eQKCAQEAiaOdwaEZW5LylnN10MYy7XtnSoA0YPOieei0IKE2uTsiljLmFfK5 +XjI0ZSzV2F3UYsA6/Xsz/iulD9ArItALv2TuIgpLxQl2ANJ08AnbEasT/jy9NM+l +yk8OJmFvS+Ji86Ck4iNrceK8buUawqzqnNs2FP1Lm7s3ov06OISERT9ZezOUxaay +MW0/UenhgloKlTuLK6rx4vrN+KOfeFH804xpTWugXvMWqLUa7x0DjGfvNrkZ2VYr +ojBOrYDHp8NqTDWtW5G2yEMnw7jvYBTRkrPXoUlHXvSgaI7ams0s5FZt6/6CtQt6 +tOYUbnPH6aGFkZA4/bor9QDFg6chNpVa+QKCAQBiHBylvKZKSAhx9OSvm9rO6V7w +anVkJhnKuqoGYJ00OSVUzPGSDXacKQtWbf3WEgHVRl+ZaefqOU35JEvGFEKflxSb +hxGsccRmvMpYXAB+sO8pRIbOilyiwm8NypfKEMzgqeemebb1kRnm6YMgBuYupsPb +JhF3fm8jXMFwu7DEuDOahv9RRjp8wBpi2+ckJo7LfddUjWgqv1Th+nFpsFwUWgcX +I1IyFhOYaBkDO3lMH/vbrYkwpaSmScBcY/yIc8HvDUzbC2vSOyTTkJItQLhwrQsb +kYLspjsrWcLN8Rhc7YpRs5mjfxmfvz8xD+lssDogRpr825Rvm69l7sf7JH6q +-----END RSA PRIVATE KEY----- diff --git a/files/image_config/secureboot/test-certs/signing.cert b/files/image_config/secureboot/test-certs/signing.cert new file mode 100644 index 000000000000..03062e1d9c40 --- /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lf6XhzfOfSXWAqlo3jK+uY774o2jMuqOvCngxLO0ioUv +eE2irgb7AgMBAAEwDQYJKoZIhvcNAQELBQADggIBAMAIxOf6pjfQZHSX86Xi+c4B +5lsNDfgBpGGCMXCGxWu0mwCDEgMKRRazlW1+V0JpfgvG3rD0VrTh9xkMNG5wsyY2 +yuRyTdjhSE8Gizy0FPAbIQT8FmOZRFFzHSNEAV0mAAXJvX5YBKBFSwUoiaPURq/F +hXSmsMeg21NtuZFsu9oIjkuYE5mg/1yVSDCOHA0XhhXPqxeCHGAnaAFGUPsJ8o0x +X1arnQkpH4Yv/ZFMEqUAnRTNtusPJszC4H1Pvlhb7WTKxrPFEMji2w1DpXIq151+ +zAmJZdcZo7S8jXgwgn/QfwZmJq9HgC76QmZC2C9kmjdTSTEiTAAP3XPE7r0gC1N1 +ceIpDqXQdDVmZvWrsMU+Qrnj7jif5qREDQUCw4OAgijsEQ3BOy5ksGDTQHrCwaHz +SOiq+rfCK1KSeIXb0X9dRcRB9r6LRldErC+UDdViiqRCnFwjUge0RywxC63dOMD0 +t/BFsmWQ4Fy0eTF6ZfvK1P6qVLajSkWXAG7QIn2n3hf2y/c7JEkTiuPtUzeRbqLR +u3w86w5GktATqSJybUbWP+LOiBtBWIsOD2C9BsG3RUaFaKYj/PDU2hAWMZM8tAGZ +oJf6OziAIDWh8P0USSKKcFTDb+A2XFSkOKb33cvSvZ5xjuslLb9XBTmPGKfJhxHZ +YBcx2L1YKJFRiPTQJxP5 +-----END CERTIFICATE----- diff --git a/files/image_config/secureboot/test-certs/signing.key b/files/image_config/secureboot/test-certs/signing.key new file mode 100644 index 000000000000..45175eb17ae6 --- /dev/null +++ b/files/image_config/secureboot/test-certs/signing.key @@ -0,0 +1,51 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIJKwIBAAKCAgEAzhmh/EdxBVBLSyfFBof9Z5pWINtTPUixbfsMzxXu0TMdbv3/ +4IKmI7DgU8NiT22MzLvP4Qv5aT4JX/usyS0FFT2Wxag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ULYC52jxZW9 +0zwcC0Bu3q+NQJioWbSxiHbAFj6wetuyM7rrfQdsATh0h5thrKq/esc3KKH+u7pt +JkSanqABVm1nnI8DcUDP9UaHOo0Il/jHNs1YQS7RBPOgkAdwpG4k0+f4nj2gTynf +vzX63300Eav0eshQUisd9JvVOcRV3jdpH6w6PCe6LV5Wo9xkddeiF94gdjc1M8Tw +GLQcTqkCggEBAMKGPD0w8MBc1XbjUivY1JaLT0l1GK6FjS8Ww5DXvUaefFzPCcaj +SBxzXNUvwzbuobw/AaHe1l2FIgsDOZWRebCRHFcTz3y/VLLjSxoW7ZDqHx7WINsy +sTM6UM1v2LP0+Wmi2ARWMXYBFtkguMmUIwFxpOZuse/HaZ+CnVfpbz/5r4XXKmYt +qf/cdAwo9CBJzMJ43+7mIbEQmIuTHdqcuKXf8FeL14yGMs1lElqcGsb5enEKlOac +8g9Yip29CzpEwu7Joy4dAhDbSg7lrqaXyOqEpoA8XxmdQrsPsElIdQwDSS1mxxod +Mn2Gg9oDxr/CyWllhc0Mu8YDRqDqFWN6y9UCggEBAI69yFCn6Kr3WnJZ4xAeWvUz +FZWl67PzxQGJDjlC6AaEHc6XMpBjMr/2HLnnBhuW7kPwXdDJkSy/YRUsqL80TuRh +tBUmO4PKpgYvgMGh9hC6EerlExJvQzl3zd82hOOrSRyBjhR5WZ+3bIuCwYJjVOmV +ZpMYsgNhJ1SnFsV4OSTakas//MIUmGEBUgXC4LAkNapql3J3eOA7UCQ1uInN3lZD +fbGzmi6qaMhIuEHylycwhWVFBh2IHvbxztNR9MTjaxUTFEtf4ODaHLeHyQ8dYRRG +UTZgBnUa9qSfqoxDcMlrSSWIxv2WIGs6Jkrx/JOZKnlpxU1tV1c3yPwscRhDiGs= +-----END RSA PRIVATE KEY----- From 16e25ea3193d35287d54b44a0367c32a232acf3c Mon Sep 17 00:00:00 2001 From: xumia Date: Mon, 29 Jun 2020 05:56:21 +0000 Subject: [PATCH 2/3] Remove unnecessary ca key file --- .../image_config/secureboot/test-certs/ca.key | 51 ------------------- 1 file changed, 51 deletions(-) delete mode 100644 files/image_config/secureboot/test-certs/ca.key diff --git a/files/image_config/secureboot/test-certs/ca.key b/files/image_config/secureboot/test-certs/ca.key deleted file mode 100644 index 9d5bf36edb77..000000000000 --- a/files/image_config/secureboot/test-certs/ca.key +++ /dev/null @@ -1,51 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIJKQIBAAKCAgEA47e+5i0gNkeNMmddO76++mTlAbAJKR49rKPNsjlsro9UaSD0 -M/KVn0HbfYfrIaLi0nB0lgN3x7/Yxoyv+k23ppv+lIwIVH7GKqaEiZ1OW35ZdTyL -yORQUnnth/L3jwq4RWAS17nRLvzLXgW/PGFNZsKGuGVTAE9tbfmnN9eM/3pdVXST -eyheEHqZV9p5IGdc734CuSFM7BGq+5brAaQdFa+1q53Ztcuk9QRy3v/FVojPFGeC -pWkAvuffnBTT6lXcVh0DIkUL8xgWPdNGJqAZHi19dhn9cUd71q17SifLoa8eu+F6 -jzw7CaScVc6VwbmS6AfsKuqzKIOy2GH7f01ao4WC/PSgcQHQQDK/3l37moPf9gHi -cp8Mq1z7CNPQ5FswTB6clQ8SuYQpQxSdt5O5q3qJ5PYIyQVouuc58ruCSbFjKPYn -MxVUFPqHKXaRGt58tHCOQj11WMxpFsLxmUpJcQY3vJPEwD2o6FAHzTEZK0YBTMAo -83OEkP5tXW8RPGuLwV8jIEG8vhayuGFCPgBl9TpBTQI8YmSB0jV4gL/nGT2fFud/ -HYVuEu+434ZKPgRQpZyEW3U4CXz2taEVciMBmdw8NoxpaWFXXaaTUySsTmaRcZl/ -bH72GzRPvqomC8kr0xPyAs1QjMS9/v6xhdMVXcNbR5qun3zq7DzZKkenn0MCAwEA -AQKCAgBCLZY3AopH/AdWzJ9Vy5to3YWINgaTgoxd7cTLtNCW8mSPoNoXdrpw7AzD -sIpu3g2ZJsFbD2ryDBkNqrlBvvBOZStZNFD/bVBd+MKv052ADXomDhB5s5B8R572 -UXAMjAr9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uDOahv9RRjp8wBpi2+ckJo7LfddUjWgqv1Th+nFpsFwUWgcX -I1IyFhOYaBkDO3lMH/vbrYkwpaSmScBcY/yIc8HvDUzbC2vSOyTTkJItQLhwrQsb -kYLspjsrWcLN8Rhc7YpRs5mjfxmfvz8xD+lssDogRpr825Rvm69l7sf7JH6q ------END RSA PRIVATE KEY----- From 369ffed0da51dbe9154129cd1d0af81a699a565d Mon Sep 17 00:00:00 2001 From: xumia Date: Mon, 29 Jun 2020 06:31:50 +0000 Subject: [PATCH 3/3] Regenerate the certificates to not expose the ca key --- .../secureboot/test-certs/ca.cert | 56 +++++------ .../secureboot/test-certs/signing.cert | 52 +++++----- .../secureboot/test-certs/signing.key | 98 +++++++++---------- 3 files changed, 103 insertions(+), 103 deletions(-) diff --git a/files/image_config/secureboot/test-certs/ca.cert b/files/image_config/secureboot/test-certs/ca.cert index cda30c93b399..9cf0586edd61 100644 --- a/files/image_config/secureboot/test-certs/ca.cert +++ b/files/image_config/secureboot/test-certs/ca.cert @@ -1,32 +1,32 @@ -----BEGIN CERTIFICATE----- -MIIFdTCCA12gAwIBAgIUS2WGWIBu3OF7OkEBBYqaSJJcrt8wDQYJKoZIhvcNAQEL +MIIFdTCCA12gAwIBAgIUL2kglpzjw8n7sLr41bLDrLU8CcswDQYJKoZIhvcNAQEL BQAwSTELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFRlc3QxDTALBgNVBAcMBFRlc3Qx -DTALBgNVBAoMBFRlc3QxDTALBgNVBAMMBFRlc3QwIBcNMjAwNjI4MDg1MTEyWhgP -MjEyMDA2MDQwODUxMTJaMEkxCzAJBgNVBAYTAlVTMQ0wCwYDVQQIDARUZXN0MQ0w +DTALBgNVBAoMBFRlc3QxDTALBgNVBAMMBFRlc3QwIBcNMjAwNjI5MDYyNzE4WhgP +MjEyMDA2MDUwNjI3MThaMEkxCzAJBgNVBAYTAlVTMQ0wCwYDVQQIDARUZXN0MQ0w CwYDVQQHDARUZXN0MQ0wCwYDVQQK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IFICATE----- diff --git a/files/image_config/secureboot/test-certs/signing.cert b/files/image_config/secureboot/test-certs/signing.cert index 03062e1d9c40..91b544cc5eb8 100644 --- a/files/image_config/secureboot/test-certs/signing.cert +++ b/files/image_config/secureboot/test-certs/signing.cert @@ -1,30 +1,30 @@ -----BEGIN CERTIFICATE----- -MIIFGzCCAwMCFAtTu8B7NfLQOAk9LG6w1JnH5R4VMA0GCSqGSIb3DQEBCwUAMEkx +MIIFGzCCAwMCFEzTPYLASoyMuK7LFp0mFz/fWFKYMA0GCSqGSIb3DQEBCwUAMEkx CzAJBgNVBAYTAlVTMQ0wCwYDVQQIDARUZXN0MQ0wCwYDVQQHDARUZXN0MQ0wCwYD -VQQKDARUZXN0MQ0wCwYDVQQDDARUZXN0MCAXDTIwMDYyODA4NTExMloYDzIwNzAw -NjE2MDg1MTEyWjBJMQswCQYDVQQGEwJVUzENMAsGA1UECAwEVGVzdDENMAsGA1UE +VQQKDARUZXN0MQ0wCwYDVQQDDARUZXN0MCAXDTIwMDYyOTA2MjcxOVoYDzIwNzAw +NjE3MDYyNzE5WjBJMQswCQYDVQQGEwJVUzENMAsGA1UECAwEVGVzdDENMAsGA1UE BwwEVGVzdDENMAsGA1UECgwEVGVzdDENMAsGA1UEAwwEVGVzdDCCAiIwDQYJKoZI -hvcNAQEBBQADggIPADCCAgoCggIBAM4ZofxHcQVQS0snxQaH/WeaViDbUz1IsW37 -DM8V7tEzHW79/+CCpiOw4FPDYk9tjMy7z+EL+Wk+CV/7rMktBRU9lsWoFKf0w01p -xiLwPn/D0OM8uE+ZJkmkIWN2NbDgjNV/RDu/ylN1/CsbYXI/eazF5waAWPwY6kNn -Os5fgcBxADQSqB8X3dd0Y6xQ8yGXGa4qInYy1YSo1rO1nwUjUHQ0Pr1eyO4rmsOs -2bv0dDhE5NN6T1jCGMS9FrkCbLW9kykJj3z9SMrwhfYZx64idRx9A2gxxitPYVdd -sdnEWKppO9fNc8IcLJxuzoMLItbdQUUpgXe6qaHRYY+a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GjT6ckcNDun1ajrRfMyKoNtxdI8l8zl80mQQtsbvIO5hmhUMy9 +AW+8QzBzgc/TJAAHlElxOYHwypcsNGbkIVczUy48gp4DhQtfs1q8HqzTwHtK+HTN +JzeQJtDnpAJARiCXr67+QTwAVszefqVK8N2UntuTzOhhs8PdP1jVv5g6gQpFfgI8 +IyniS46+mTO+FXYCkk2Ner2Jr6p3r2pMAQPSr28TEr75H2gUVufYSBUgrVDwPlio +SEk6Iccg/2KgWXPCj2/LmGcJZqCc8Z8L8CbT1z+5plpp+WcMVRxgbH/FHSQBkMsw +P2SSOVjJEkSYV5I6bYA97BBFpjovZS+7k6NmW1Lj1n33awdMrm1UXQRDTSKXOzVu +U/rAEWO3JyUeTNCL37Ec -----END CERTIFICATE----- diff --git a/files/image_config/secureboot/test-certs/signing.key b/files/image_config/secureboot/test-certs/signing.key index 45175eb17ae6..9c16e80641b7 100644 --- a/files/image_config/secureboot/test-certs/signing.key +++ b/files/image_config/secureboot/test-certs/signing.key @@ -1,51 +1,51 @@ -----BEGIN RSA PRIVATE KEY----- -MIIJKwIBAAKCAgEAzhmh/EdxBVBLSyfFBof9Z5pWINtTPUixbfsMzxXu0TMdbv3/ -4IKmI7DgU8NiT22MzLvP4Qv5aT4JX/usyS0FFT2WxagUp/TDTWnGIvA+f8PQ4zy4 -T5kmSaQhY3Y1sOCM1X9EO7/KU3X8Kxthcj95rMXnBoBY/BjqQ2c6zl+BwHEANBKo -Hxfd13RjrFDzIZcZrioidjLVhKjWs7WfBSNQdDQ+vV7I7iuaw6zZu/R0OETk03pP -WMIYxL0WuQJstb2TKQmPfP1IyvCF9hnHriJ1HH0DaDHGK09hV12x2cRYqmk7181z -whwsnG7Ogwsi1t1BRSmBd7qpodFhj5owEHNLJTkUsrJkC1YvMPkJZ98AxTE2SLby -f4EfIP61wUqIGTucMXbaNdfGgG0nii/HxyY9sg/2owwiy93McbQ6M5ehjz54AXX/ -GI3WHiRZXLzFf4TcA5WEHuosrFqoHqeoWJG1D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