Commit Graph

2 Commits

Author SHA1 Message Date
Felix Kaechele
65ef139428 feat: support for custom CA certificates (#422)
- 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>
2024-01-04 16:23:22 +01:00
David Beitey
a45b49f4d0 Add sha512 checksum to OTA firmwares (#25)
* 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>
2021-02-04 18:11:50 +01:00