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

Jump to navigation Jump to search
Line 24: Line 24:
The first step to create and host your signed package is to create a normal gaia app.  
The first step to create and host your signed package is to create a normal gaia app.  


=== 1. Add Additional Fields to the Manifest File ===
=== 1. Add Additional Required Fields to the Manifest File ===
# package-identifer: A UUID to uniquely identify this package. The identifier will be treated a part of the origin. So please be careful to change this value across versions.
# package-identifer: A UUID string to uniquely identify this package. The identifier will be considered as a part of the origin. So please be careful to change this value across versions.
# moz-package-origin: The origin where the package is going to be hosted. This prevents the package from being downloaded and hosted by other people.
# moz-package-origin: The origin where the package is going to be hosted. This prevents the package from being downloaded and hosted by other people.


Note that the packaging/signing tool would automatically add other fields to the manifest file like "moz-resources".
Note that the packaging/signing tool would automatically add other fields to the manifest file like "moz-resources" during packaging.


=== 2. Create and Sign Your Package ===
=== 2. Create and Sign Your Package ===
Confirmed users
158

edits

Navigation menu