15 messages in org.mozilla.lists.dev-extensionsRe: FF3RC1: An error occurred while t...
FromSent OnAttachments
lega...@gmail.comMay 19, 2008 6:26 am 
John J. BartonMay 19, 2008 7:52 am 
Eric H. JungMay 19, 2008 9:58 am 
Dave TownsendMay 19, 2008 10:08 am 
lega...@gmail.comMay 19, 2008 10:43 pm 
MookMay 19, 2008 10:55 pm 
John J. BartonMay 20, 2008 7:22 am 
Mike ShaverMay 20, 2008 9:12 am 
Eric H. JungMay 20, 2008 9:14 am 
Nils MaierMay 20, 2008 11:20 am 
MookMay 22, 2008 9:49 pm 
Mike ShaverMay 23, 2008 7:52 am 
MookMay 26, 2008 4:35 am 
Demiao LinMay 27, 2008 1:47 am 
Eric H. JungMay 27, 2008 8:37 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: FF3RC1: An error occurred while trying to find updatesActions...
From:Eric H. Jung (eric@yahoo.com)
Date:May 20, 2008 9:14:23 am
List:org.mozilla.lists.dev-extensions

----- Original Message ----

From: John J. Barton <john@johnjbarton.com>

May be I can solve this problem by moving my extension to addons.mozilla.org?

Another alternative is to use signed updates rather than https. The extension is shipped with a public key. When the update.rdf is downloaded by Firefox, its signature is checked by Firefox. If that check succeeds, then Firefox downloads the update and computes its hash to prevent attacks during download.

Here are the steps as I remember them: 1. Use mccoy http://developer.mozilla.org/en/docs/McCoy to put a public key string into your install.rdf. 2. build your XPI zip file, including the install.rdf from #1. 3. Compute the SHA256 hash of the XPI file (a string), put this updateHash in your update.rdf 4. Use mccoy to sign the update.rdf with the key from #1.

This is more complex than using addons.mozilla.org, but also more flexible.

A third option is to host your download at mozdev.org, where you don't have to
go through the strict review process required by AMO. Mozdev provides secure
updates and installs. For more info, see
http://www.mozdev.org/drupal/wiki/MozdevDownloadReleases