This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

I have unable to do DFU because of my bootloader programmed chip

Hi

I have lost my private key for generating my dfu pakage using nrfutil.

I have 2K nrf Modules chips already programmed with bootloader & dfu enabled firmware. However, due to the corruption of the setup I have lost my key.pem file. 

Can you guide me how can i generate private key using earlier app_dfu_package.zip file. As its a complete rework for us to re-program the chips which needs firmware upgrade at project site.

Regards

Darshan

Parents Reply Children
  • Hi,

    The easiest is obviously if you still have the bootloader code, then you can simply read it there. If not, you can find the location if you have the .map file and then read it from the binary. Else you will have to dig into the binary somehow. Since the encryption key does not have a simple pattern it may be difficult to find it without disassembling the binary. That is not something I am experienced with, so I am unable to give any advice.

    I do not see why you want to do this, though. The public key will not in any way help you obtain the private key.

Related