FirefoxOS/New security model/Getting Started with Signed Packages: Difference between revisions

(Fix typos.)
(→‎1. Creating a Signed Package Manifest: change location to origin)
Line 22: Line 22:
The manifest must contain the following two fields:
The manifest must contain the following two fields:
* '''moz-permissions'''    : same format as Open Web App permission section
* '''moz-permissions'''    : same format as Open Web App permission section
* '''moz-package-location''': specifies where the package will be hosted  
* '''moz-package-origin''': specifies the origin where the package will be hosted  


For further details see: https://wiki.mozilla.org/FirefoxOS/New_security_model/Packaging
For further details see: https://wiki.mozilla.org/FirefoxOS/New_security_model/Packaging
Line 38: Line 38:
     }
     }
   ],
   ],
   "moz-package-location": "https://example.com/myapp/app.pak"
   "moz-package-origin": "https://example.com"
  }
  }
After signing, several additional fields will be added (package-identifier & moz-resources)
After signing, several additional fields will be added (package-identifier & moz-resources)
93

edits