nRF Util for nRF5 SDK v1.0.0

Generating and displaying keys

The keys command can be used to generate and display cryptographic keys.

Cryptographic keys are required to sign and validate a Device Firmware Update (DFU) package. See the Cryptography library in the SDK for more information about signing and cryptographic keys.
For example, enter the following command to generate a private key and store it in a file named private.pem:
nrfutil keys generate private.pem
Enter the following command to display a public key in code format from this key file:
nrfutil keys display --key pk --format code private.pem