summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2017-03-28 01:41:29 -0400
committerchrome-bot <chrome-bot@chromium.org>2017-04-26 16:19:50 -0700
commit510e7a2b0373b61237ed3a8ec7b6788828e5deba (patch)
tree444233572bddb4590d6a03edd9c18630e905a12a /tests
parent748af73c67abf473d45bbacd708ce79bfc264ff5 (diff)
downloadvboot-510e7a2b0373b61237ed3a8ec7b6788828e5deba.tar.gz
devkeys: switch container key from RSA to EC
Created by doing: openssl ecparam -name prime256v1 -out prime256v1.pem openssl ecparam -genkey -noout -out cros-oci-container.pem -in prime256v1.pem openssl pkey -in cros-oci-container.pem -out cros-oci-container-pub.pem -pubout BUG=chromium:660209 TEST=`./sign_official_build.sh oci-container fastboot/ ../tests/devkeys` still works BRANCH=None Change-Id: I4171b2d9d9788cccf082d613b1de6e7ca9d0b005 Reviewed-on: https://chromium-review.googlesource.com/461418 Commit-Ready: Dylan Reid <dgreid@chromium.org> Tested-by: Dylan Reid <dgreid@chromium.org> Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/devkeys/cros-oci-container-pub.pem14
-rw-r--r--tests/devkeys/cros-oci-container.pem57
2 files changed, 7 insertions, 64 deletions
diff --git a/tests/devkeys/cros-oci-container-pub.pem b/tests/devkeys/cros-oci-container-pub.pem
index 33e972e6..ac433a1d 100644
--- a/tests/devkeys/cros-oci-container-pub.pem
+++ b/tests/devkeys/cros-oci-container-pub.pem
@@ -1,14 +1,4 @@
-----BEGIN PUBLIC KEY-----
-MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAsuDzv7AH20X+44RmE1V0
-8g5pYEJcl4IjwCOz9d3YQb2YjEjnOLFVBFBsZwvh0OzQF25PKnd+sK7SgI+pEl7q
-3MfUNvbojIs8wpK5Qdbyvbm1DPzz+jKQ/aoAJD2gz32hiUsdbUfxFDZ9ADlu+KxW
-KXIv7fVUJhk60F8rQWqT7H82rgbZ3oSRexyeXu508JaeN0onrZ0M5vOo4lhnOkTV
-a2HvOIcCOSkpPeJNCvKfzz9FapVzbp54dAxh/rouv0orrwdEoubbV0fVkAi21puz
-AhzzKscZjB32lZrpct2MOZxInsmQOpBqXPBIUizrD1jVDHPwOmeUGI9C+PUWkief
-5DvI5bpjbUXc7y8DM5Hgizw30qYGvQnLyj+Xl33znS5cqWK/AS9nMGNMPz2dmXWM
-LdXMxKX1jBSzIXOgH7N4tp4jI7aPU/pDhvdrig9BTHH2GlsqKWAqfwwSI8m5tcaX
-2x+VO+TiP8E9PN4koyPtilcIysMmHLxyFvlozPx5J5Y6M3VoxryYvWE1gnNlUn60
-mUONQ7N5NKbXnRg24ULLMFTCUQsufvJeaGTDVEcDdYS17JuX7TR1SzKLax+Q/fa3
-V6C3CYub+EP+fcIJn3BC/Hzu/qsPxN2aMju+VMFnzyvnvHqekcSYdYeYtGi4bUYh
-7fmF4tdaG1/EgAsIbxhWe/sCAwEAAQ==
+MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzDOi7z2ltATFnJnBU+Tb7TSkdTVE
+X2c12jDUzvhAA4EVtcbj4jph02YrzULzHzCmo8FjR0puYqmbOEkQA+JLzA==
-----END PUBLIC KEY-----
diff --git a/tests/devkeys/cros-oci-container.pem b/tests/devkeys/cros-oci-container.pem
index bdb15baf..1c6992c9 100644
--- a/tests/devkeys/cros-oci-container.pem
+++ b/tests/devkeys/cros-oci-container.pem
@@ -1,52 +1,5 @@
------BEGIN PRIVATE KEY-----
-MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQCy4PO/sAfbRf7j
-hGYTVXTyDmlgQlyXgiPAI7P13dhBvZiMSOc4sVUEUGxnC+HQ7NAXbk8qd36wrtKA
-j6kSXurcx9Q29uiMizzCkrlB1vK9ubUM/PP6MpD9qgAkPaDPfaGJSx1tR/EUNn0A
-OW74rFYpci/t9VQmGTrQXytBapPsfzauBtneh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