----- Original Message ----
> From: John J Barton
> To: dev-extensions@lists.mozilla.org
> Sent: Wednesday, April 9, 2008 2:36:47 PM
> Subject: How to generate updateHash for update.rdf?
>
> FF3 requires a field called "updateHash" in the update.rdf file. On:
> http://developer.mozilla.org/en/docs...#Update_Hashes
>
> there is this description:
> ----
> Update Hashes
>
> In order to verify the integrity of the downloaded XPI you may provide
> an updateHash entry alongside the updateLink. This should be a hash
> generated against the file data in string form. The hashing algorithm
> used is put at the start of the string and separated from the hash by a :.
> ----
>
> The part that confuses me is :
>
> This should be a hash generated against the file data in string form.
>
> What does it mean for data to be in "string form"?
>
> Does anyone have an update.rdf/XPI pair that uses updateHash successfully?


FWIW, mozdev.org will very shortly have an auto-update.rdf generator:
https://www.mozdev.org/bugs/show_bug.cgi?id=18526






__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com