File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,13 +94,13 @@ Please follow the steps below to generate an application image for OTA upgrades:
94
94
95
95
1. Generate a new RSA-3072 key pair or use an existing one.
96
96
97
- - To generate a key pair, use the following command:
97
+ - To generate a key pair, use the following command:
98
98
99
99
```
100
100
openssl genrsa -out esp_image_encryption_key.pem 3072
101
101
```
102
102
103
- - Extract the public key from the key pair:
103
+ - Extract the public key from the key pair:
104
104
```
105
105
openssl rsa -in esp_image_encryption_key.pem -pubout -out esp_image_encryption_public_key.pem
106
106
```
@@ -109,7 +109,7 @@ Please follow the steps below to generate an application image for OTA upgrades:
109
109
[esp_enc_img_gen.py](https://github.com/espressif/idf-extra-components/blob/master/esp_encrypted_img/tools/esp_enc_img_gen.py)
110
110
script.
111
111
112
- - Use the following command to encrypt the OTA image with the public key:
112
+ - Use the following command to encrypt the OTA image with the public key:
113
113
114
114
```
115
115
python3 esp_enc_img_gen.py encrypt lighting-app.bin esp_image_encryption_public_key.pem lighting-app-encrypted.bin
You can’t perform that action at this time.
0 commit comments