Displaying keys

nRF Util

tags
nRF Util

You can run the nrfutil nrf5sdk-tools keys display to display a private (signing) or public (verification) key from a PEM file. To see the list of options, run the nrfutil nrf5sdk-tools keys display --help command.

For example, enter the following command to display a public key (pk) in the code format from the key file private.pem, generated in the previous section:

nrfutil nrf5sdk-tools keys display --key pk --format code private.pem