Talk:Extension Manager:Addon Update Security: Difference between revisions

added another vote for not requiring updateHashes
(added another vote for not requiring updateHashes)
Line 36: Line 36:
2. Suppose install.rdf contains an em:updateURL of https://foo.com/update.rdf. When FF retrieves the resource at https://foo.com/update.rdf, FF will install the update even if no em:updateHash element exists (assuming there are no problems with the certificate for foo.com). If, however, em:updateHash does exist, it is checked for validity against the update.
2. Suppose install.rdf contains an em:updateURL of https://foo.com/update.rdf. When FF retrieves the resource at https://foo.com/update.rdf, FF will install the update even if no em:updateHash element exists (assuming there are no problems with the certificate for foo.com). If, however, em:updateHash does exist, it is checked for validity against the update.
* This is currently incorrect. The current version of the proposal requires updateHashes to be present at all times. There have been suggestions that this should be dropped in the event that the updateLink is on a secure server but that has not been finally decided. --[[User:Mossop|Mossop]]
* This is currently incorrect. The current version of the proposal requires updateHashes to be present at all times. There have been suggestions that this should be dropped in the event that the updateLink is on a secure server but that has not been finally decided. --[[User:Mossop|Mossop]]
** I would like to see the requirement for updateHashes dropped if SSL is used for the updateLink (assuming that does not leave any security holes).  Why?  Because for some of my company's extensions we generate a custom .xpi file on the fly at download time (in order to embed user preferences and so on)... which makes it very expensive to provide an updateHash.  --[[User:mcs|Mark Smith]]


3. Suppose install.rdf contains no updateURL. FF EM exclusively contacts AMO via https:// for updates.
3. Suppose install.rdf contains no updateURL. FF EM exclusively contacts AMO via https:// for updates.
2

edits