summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-07-03 22:06:02 (GMT)
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-07-03 22:06:02 (GMT)
commit3fb440ac788d755237c083023b0d68ca3ec43869 (patch)
tree7356540a46211970e516a32b8b764c4ba39fd4bd
parentd90c6dcb029ae803e155d2a35d08e7555f12163f (diff)
downloadbuild-3fb440ac788d755237c083023b0d68ca3ec43869.zip
build-3fb440ac788d755237c083023b0d68ca3ec43869.tar.gz
build-3fb440ac788d755237c083023b0d68ca3ec43869.tar.bz2
recovery: Always allow the CM release key
Avoid the "Untrusted" warning in recovery when flashing a CM-signed build Change-Id: I13900bd7e2539fdc7442477a844391b8c5d87dda
-rw-r--r--core/Makefile2
-rw-r--r--target/product/security/cm.x509.pem23
2 files changed, 25 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 78bc02e..ae64e28 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -695,6 +695,8 @@ ifneq ($(OTA_PACKAGE_SIGNING_KEY),)
PRODUCT_EXTRA_RECOVERY_KEYS := $(DEFAULT_SYSTEM_DEV_CERTIFICATE)
endif
+PRODUCT_EXTRA_RECOVERY_KEYS += build/target/product/security/cm
+
# Generate a file containing the keys that will be read by the
# recovery binary.
RECOVERY_INSTALL_OTA_KEYS := \
diff --git a/target/product/security/cm.x509.pem b/target/product/security/cm.x509.pem
new file mode 100644
index 0000000..8f36aeb
--- /dev/null
+++ b/target/product/security/cm.x509.pem
@@ -0,0 +1,23 @@
+-----BEGIN CERTIFICATE-----
+MIID6zCCAtOgAwIBAgIJANb37GkrbfxOMA0GCSqGSIb3DQEBBQUAMIGLMQswCQYD
+VQQGEwJVUzELMAkGA1UECAwCV0ExEDAOBgNVBAcMB1NlYXR0bGUxFDASBgNVBAoM
+C0N5YW5vZ2VuTW9kMRQwEgYDVQQLDAtDeWFub2dlbk1vZDELMAkGA1UEAwwCQ00x
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