<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Setting sysbuild encryption of DFU images</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114550/setting-sysbuild-encryption-of-dfu-images</link><description>I have had luck setting up signatures using MCUBOOT and sysbuild. However, I have not been able to encrypt the images. sysbuild.conf: SB_CONFIG_BOOTLOADER_MCUBOOT=y SB_CONFIG_BOOT_SIGNATURE_KEY_FILE=&amp;quot;C:/Users/user/app/mykey.pem&amp;quot; SB_CONFIG_BOOT_ENCRYPTION</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Sep 2024 11:20:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114550/setting-sysbuild-encryption-of-dfu-images" /><item><title>RE: Setting sysbuild encryption of DFU images</title><link>https://devzone.nordicsemi.com/thread/502094?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 11:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f159ab1d-66b2-4132-8b1f-825c663ca658</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It cannot be guaranteed that the key stored in the bootloader or firmware images on this device cannot be extracted through a physical attack, such as decapping the chip. Additionally, the key may be leaked by exploiting an&amp;nbsp;undiscovered&amp;nbsp;vulnerabilities in the code, as the key must be accessible to the CPU during decryption.&lt;/p&gt;
&lt;p&gt;That said, the bootloader can use the ACL through the FPROTECT module to lock the bootloader flash area from read and write access before branching to the main application. This will limit the&amp;nbsp;window where the key in flash can be accessed internally by the CPU.&lt;/p&gt;
&lt;p&gt;It is also important to use silicon revision 3 as this revision introduced changes to mitigate a known fault injection technique to bypass the readback protection:&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/IN/resource/in_141_v1.1.pdf"&gt;https://docs.nordicsemi.com/bundle/IN/resource/in_141_v1.1.pdf&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting sysbuild encryption of DFU images</title><link>https://devzone.nordicsemi.com/thread/501967?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 14:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6da22cc5-6390-408f-9124-a0a15401f92b</guid><dc:creator>Crox</dc:creator><description>&lt;p&gt;Indeed, I do have the ...encrypted.bin file. Thanks for the helpful response.&lt;br /&gt;&lt;br /&gt;Regarding the post you linked, it notes that the solution does not use secure key storage.&amp;nbsp; Is it possible to use secure key storage on the nrf52840?&amp;nbsp; If not, is this a limitation of hardware?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting sysbuild encryption of DFU images</title><link>https://devzone.nordicsemi.com/thread/501744?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 12:49:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9967c16a-f1ab-468d-b30d-9fc7c98fdef1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please browse the build/&amp;lt;application name&amp;gt;/zephyr folder to see if you have a file named&amp;nbsp;zephyr.signed.&lt;strong&gt;encrypted&lt;/strong&gt;.bin. This should be the encrypted and signed variant of the image. The other file named&amp;nbsp;zephyr.signed.bin is the file that becomes included in the dfu_application.zip. Creation of the the zip file is a&amp;nbsp;nRF Connect SDK specific feature which is not tested with encrypted images (&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91331/nrf52840-ncs-mcuboot-cc310-enabled-image-encryption/383355"&gt;encrypted DFU is not officially supported in our SDK&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>