version, which is an unsigned integer.
Example manifest
Manifest fields
| Name | Description |
|---|---|
| name | Name of the release |
| id | Id of the release (ulid form) |
| ts | Timestamp of last modification (seconds since epoch) |
| version | Current release number |
| comment | Free form comment |
| signature | Signature of this manifest |
| pre_install | Command to run before the installation of this manifest. Note: a failure of this script will revert any installed asset |
| post_install | Command to run after the installation of this manifest. Note: a failure of this script will revert any installed asset |
| post_reboot | Command to run after rebooting the device following the installation of this manifest. Note: a failure of this script will revert any installed asset and issue another reboot |
| rootfs | Rootfs (specified below) |
| files | Array of files (specified below) |
| dek | A per-OTA-release data encryption key derivation key generated by TRH for OTA bundle encryption and per-file encryption. This field is only available in the manifest sent to TCC during an OTA release, and is not in the manifest fetched by a device. |
| wdek | A wrapped (encrypted) form of the dek, encrypted with the device’s okek so that only the intended device can unwrap it. Unlike dek, this field is present in the manifest fetched by a device and is used by TUC to derive decryption keys for OTA bundle decryption and per-file decryption. |
File fields
| Name | Description |
|---|---|
| name | Filename |
| install_location | Install destination on device |
| download_location | Download source URL |
| hash | Hash of the compressed file |
| pre_install | Command to run before the installation of this file. Note: a failure of this script will revert any installed asset |
| post_install | Command to run after the installation of this file. Note: a failure of this script will revert any installed asset |
Rootfs fields
| Name | Description |
|---|---|
| name | Image name |
| download_location | Download source URL |
| hash | Hash of the compressed rootfs image |
| pre_install | Command to run before the installation of this image. Note: a failure of this script will revert any installed asset |
| post_install | Command to run after the installation of this image. Note: a failure of this script will revert any installed asset |

