README.md: Add note about using unencrypted private keys

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
This commit is contained in:
Andrew Gunnerson
2023-05-31 00:04:48 -04:00
parent 19bfc0bd8e
commit 0ff1bb2b2f
+7
View File
@@ -310,6 +310,13 @@ avbroot prompts for the private key passphrases interactively by default. To run
<...>
```
* Use unencrypted private keys. This is not recommended, but can be done by:
```bash
openssl pkcs8 -in avb.key -topk8 -nocrypt -out avb.unencrypted.key
openssl pkcs8 -in ota.key -topk8 -nocrypt -out ota.unencrypted.key
```
### Extracting the entire OTA
To extract all images contained within the OTA's `payload.bin`, run: