Files
cyber.scope/keys
kntran1 4e2a5258a5 Initial commit
Initial commit.
2026-03-23 14:40:39 -05:00
..
2026-03-23 14:40:39 -05:00
2026-03-23 14:40:39 -05:00
2026-03-23 14:40:39 -05:00

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"