- Adds custom CA certificate for Philips Hue OTA updates
- Adds support to use these certificates to `scripts/add.js`
- Adds concatenation of CA certs to `scripts/updateall.js`
Part of the fixes for https://github.com/Koenkk/zigbee-OTA/issues/420
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
* Add sha512 checksum to OTA firmwares
This hashes firmware during download and adds the hash to index.json.
Additionally, this PR adds `updateall.js` script which reads all
entries and runs `add.js` on each of them (for mass updates, such as the
hash algorithm or URL encoding etc). To allow for this to happen, this
PR adds the ability to modify entries in-place via `add.js` (if called
on an existing path in the repo).
Lastly, this normalises the path for the Gledopto firmware to
lowercase its file extensions; they were previously `.OTA` in index.json
but `.ota` in the repository & in the `url` field -- something picked up
by the mass update.
* Update README.md
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>