value 'key' is missing or invalid

3,190 views
Skip to first unread message

jammm

unread,
Dec 2, 2010, 8:37:14 AM12/2/10
to Chromium-extensions
i uploaded and published my extension here:
https://chrome.google.com/extensions/detail/ncdlagniojmheiklojdcpdaeepochckl

but when i try and click install i get a popup error message alert
saying "value ''key' is missing or invalid"

anyone know what causes this? i tried a search for that error, but
could only find links to what looks like chrome browser source code.

btw some background info: i attempted to upload an existing chrome
extension, as i wanted to keep the same ID as the existing crx file.

PhistucK

unread,
Dec 2, 2010, 9:53:12 AM12/2/10
to jammm, Chromium-extensions
When you upload an extension (whether existing or not), you have to exclude the "key" property from the manifest.
(Please, search crbug.com for an existing issue (regarding the fact that the gallery actually lets you upload it with that property) and star it. If you cannot find one, file a new issue at new.crbug.com.)

The only difference between uploading an existing extension and uploading a new extension, is that on the first (and only the first) upload of an existing extension, you have to include the private key file in the top level directory of your extension (where the manifest lies) and name it "key.pem".
After the first upload, you can (and should, I guess) upload your extension without that private key file.


PhistucK




--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.


Message has been deleted

jammm

unread,
Dec 2, 2010, 11:07:07 AM12/2/10
to Chromium-extensions
strangely enough i think i did omit the key property, when i uploaded,
but i seem to remember i just left it blank, so i probably used:
"key":''"
i will try removing it completely this time.
cheers!

On Dec 2, 4:04 pm, jammm <st3...@gmail.com> wrote:
> aha, many thanks PhistucK!
> i will try uploading it again.
>
> On Dec 2, 2:53 pm, PhistucK <phist...@gmail.com> wrote:
>
>
>
>
>
>
>
> > When you upload an extension (whether existing or not), you have to exclude
> > the "key" property from the manifest.
> > (Please, search crbug.com for an existing issue (regarding the fact that the
> > gallery actually lets you upload it with that property) and star it. If you
> > cannot find one, file a new issue at new.crbug.com.)
>
> > The only difference between uploading an existing extension and uploading a
> > new extension, is that on the first (and only the first) upload of an
> > existing extension, you have to include the private key file in the top
> > level directory of your extension (where the manifest lies) and name it
> > "key.pem".
> > After the first upload, you can (and should, I guess) upload your extension
> > without that private key file.
>
> > ☆*PhistucK*
>
> > On Thu, Dec 2, 2010 at 15:37, jammm <st3...@gmail.com> wrote:
> > > i uploaded and published my extension here:
>
> > >https://chrome.google.com/extensions/detail/ncdlagniojmheiklojdcpdaee...
>
> > > but when i try and click install i get a popup error message alert
> > > saying "value ''key' is missing or invalid"
>
> > > anyone know what causes this? i tried a search for that error, but
> > > could only find links to what looks like chrome browser source code.
>
> > > btw some background info: i attempted to upload an existing chrome
> > > extension, as i wanted to keep the same ID as the existing crx file.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Chromium-extensions" group.
> > > To post to this group, send email to chromium-extensi...@chromium.org.
> > > To unsubscribe from this group, send email to
> > > chromium-extensions+unsubscr...@chromium.org<chromium-extensions%2Bunsubscr...@chromium.org>
> > > .

jammm

unread,
Dec 2, 2010, 11:18:57 AM12/2/10
to Chromium-extensions
completely removed the key property and it worked, thanks again! :)
Reply all
Reply to author
Forward
0 new messages