Skip to content

Commit e7ef791

Browse files
authored
Merge branch 'master' into exp_multi_type_manifest
2 parents f5b4f21 + 0f8c618 commit e7ef791

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This is hosted by a webserver and contains information about the latest firmware
4444
"version": 2,
4545
"host": "192.168.0.100",
4646
"port": 80,
47-
"bin": "/fota/esp32-fota-http-2.bin",
47+
"bin": "/fota/esp32-fota-http-2.bin"
4848
}
4949
```
5050

@@ -54,7 +54,7 @@ Version information can be either a single number or a semantic version string.
5454
{
5555
"type": "esp32-fota-http",
5656
"version": "2.5.1",
57-
"url": "http://192.168.0.100/fota/esp32-fota-http-2.bin",
57+
"url": "http://192.168.0.100/fota/esp32-fota-http-2.bin"
5858
}
5959
```
6060

@@ -65,7 +65,7 @@ A single JSON file can provide information on multiple firmware types by combini
6565
{
6666
"type":"esp32-fota-http",
6767
"version":"0.0.2",
68-
"url":"http://192.168.0.100/fota/esp32-fota-http-2.bin",
68+
"url":"http://192.168.0.100/fota/esp32-fota-http-2.bin"
6969
},
7070
{
7171
"type":"esp32-other-hardware",
@@ -140,7 +140,7 @@ void loop()
140140
You can now sign your firmware image with an RSA public/private key pair and have the ESP32 check if the signature is correct before
141141
it switches over to the new image.
142142
143-
In order to use this feature, enable `check_signature` in `firmware.json`. Next create a key-pair to sign your firmware image:
143+
In order to use this feature just set the boolean `validate` to `true` in the constructor. Next create a key-pair to sign your firmware image:
144144
```
145145
openssl genrsa -out priv_key.pem 4096
146146
openssl rsa -in priv_key.pem -pubout > rsa_key.pub
@@ -176,4 +176,4 @@ This relies on [semver.c by h2non](https://github.com/h2non/semver.c) for semant
176176
* @nuclearcat
177177
* @thinksilicon
178178
* @nuclearcat
179-
* @hpsaturn
179+
* @hpsaturn

0 commit comments

Comments
 (0)