Initial commit
Initial commit.
This commit is contained in:
13
keys/readme.txt
Normal file
13
keys/readme.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
To generate keys for use with MCUboot encryption, the following are needed:
|
||||
- python
|
||||
- cryptography package
|
||||
>>pip install cryptography
|
||||
- cbor package
|
||||
>> pip install cbor
|
||||
|
||||
The key generator is provided within the Nordic SDK/bootloader/mcuboot/scripts/imgtool.py
|
||||
Run the following to generate key:
|
||||
>>python <SDK path>/booloader/mcuboot/scripts/imgtool.py keygen -t ecdsa-p256 -k <private key name>.pem
|
||||
|
||||
NOTE: in application, sysbuild.conf needs to be updated to contain path of generated keys:
|
||||
SB_CONFIG_BOOT_SIGNATURE_KEY_FILE="C:/cyber/scope/sw/keys/cyber_pk.pem"
|
||||
Reference in New Issue
Block a user