From 91220f96439d35cbdf311e7b783c9b3e80433547 Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Wed, 2 Feb 2011 02:28:43 +0000 Subject: Add a comment explaining how to create keys for component extensions, since people hit this all the time. TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73408 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/profiles/profile_impl.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc index bb47a75..41c0131 100644 --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc @@ -375,6 +375,13 @@ void ProfileImpl::InitExtensions() { void ProfileImpl::RegisterComponentExtensions() { // Register the component extensions. + // + // Component extension manifest must contain a 'key' property with a unique + // public key, serialized in base64. You can create a suitable value with the + // following commands on a unixy system: + // + // ssh-keygen -t rsa -b 1024 -N '' -f /tmp/key.pem + // rsa -pubout -outform DER < /tmp/key.pem 2>/dev/null | base64 -w 0 typedef std::list > ComponentExtensionList; ComponentExtensionList component_extensions; -- cgit v1.1