<?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>How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117165/how-can-the-bin-file-be-encrypted-and-signed</link><description>Hi, 
 The SDK version I am using is 2.6.1 and the example is &amp;quot;matter lock&amp;quot;. 
 I wrote the following configuration into \child_image\mcuboot\prj.conf. 
 
 
 And add the code to CMakeLists.txt. Are these steps correct? 
 Is app_update.bin a generated encrypted</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Sep 2025 12:33:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117165/how-can-the-bin-file-be-encrypted-and-signed" /><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/547629?ContentTypeID=1</link><pubDate>Wed, 03 Sep 2025 12:33:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10d1d286-dc93-4add-8454-c163b7c5f94c</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="hoai nguyen"]&amp;nbsp;Can you explain how to get .signed.encrypted.bin file without using sysbuild?[/quote]
&lt;p&gt;&lt;br /&gt;Without sysbuild it is not supported and there won&amp;#39;t be any support added for this without sysbuild either.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/members/sunhuang"&gt;SunHuang&lt;/a&gt;&amp;nbsp;FYI&lt;br /&gt;&lt;br /&gt;At the point in time this case was raised it was possible to do, but a bit rough to implement. At least now for the 54L15 which has its own KMU it&amp;#39;s relatively straight forward to implement. Note that for multi-image DFU such as OTA over Matter or Zigbee requires, it will not work due to a multi image requirement.&lt;/p&gt;
&lt;p&gt;For encrypted BLE OTA on the nRF54L15 you can follow&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf54l/ecies_x25519.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf54l/ecies_x25519.html&lt;/a&gt;&amp;nbsp;together with&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf54l/dfu_config.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf54l/dfu_config.html&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf54l/kmu_basics.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf54l/kmu_basics.html&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf54l/kmu_provision.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf54l/kmu_provision.html&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;and&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-5-fota-over-bluetooth-low-energy/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-5-fota-over-bluetooth-low-energy/&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This should result in something like this sample that I&amp;#39;ve made for the 54l15. Steps to use in description. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1_5F00_ble_5F00_fota_5F00_ft_5F00_ext_5F00_flash.zip"&gt;devzone.nordicsemi.com/.../1_5F00_ble_5F00_fota_5F00_ft_5F00_ext_5F00_flash.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards;&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/547571?ContentTypeID=1</link><pubDate>Wed, 03 Sep 2025 07:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:509da6e2-f317-4aec-95f1-2a42eb70db9b</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/sunhuang"&gt;SunHuang&lt;/a&gt;&amp;nbsp;Can you explain how to get .signed.encrypted.bin file without using sysbuild? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/547570?ContentTypeID=1</link><pubDate>Wed, 03 Sep 2025 07:08:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72896670-241a-4b83-9d79-eeae13a08abc</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/ahaug"&gt;AHaug&lt;/a&gt;&amp;nbsp;, do you know how to get .encrypted.bin file without sysbuild?&amp;nbsp; Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/522794?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 09:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:995e66eb-38d3-4220-88b7-fc73442d816c</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Based on the document you provided, I believe that as long as &amp;quot;encrypted&amp;quot; appears, it means my BIN file has been successfully encrypted. I just need a definite answer. Thank you for your assistance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/522606?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 09:54:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b07c5c8-8c5a-4b47-b074-cf4171dc2803</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="SunHuang"]After the project has been successfully compiled, I noticed that the bin file in the &lt;code&gt;dfu_application&lt;/code&gt; directory has the suffix &lt;code&gt;.signed.encrypted&lt;/code&gt;. Does this mean that my bin file has been successfully signed and encrypted?[/quote]
&lt;p&gt;From&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/config_and_build/output_build_files.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/config_and_build/output_build_files.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;zephyr.signed.encrypted.hex is the HEX file variant of the&amp;nbsp;&lt;code&gt;&lt;span&gt;&amp;lt;file_name&amp;gt;.signed.encrypted.bin&lt;/span&gt;&lt;/code&gt;&amp;nbsp;file. Can also be used standalone for a single-image DFU. Contains the signed and encrypted version of the application.&amp;nbsp;&lt;a title="(in MCUboot v2.1.99)" href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/mcuboot/readme-ncs.html#mcuboot-ncs"&gt;&lt;span&gt;Compatible with MCUboot&lt;/span&gt;&lt;/a&gt;.&amp;nbsp;&lt;code&gt;&lt;span&gt;zephyr&lt;/span&gt;&lt;/code&gt;&amp;nbsp;is the value of&amp;nbsp;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/kconfig/index.html#CONFIG_KERNEL_BIN_NAME"&gt;&lt;code&gt;&lt;span&gt;CONFIG_KERNEL_BIN_NAME&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;. The file is located in the&amp;nbsp;&lt;code&gt;&lt;span&gt;build/&amp;lt;your_application_name&amp;gt;/zephyr&lt;/span&gt;&lt;/code&gt;&amp;nbsp;directory.&amp;quot;&lt;/em&gt;&lt;/p&gt;
[quote user="SunHuang"]Will the bootloader verify my key after performing the OTA update? I&amp;#39;m a bit concerned because I still see the following message in the compilation log.[/quote]
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/ &lt;/a&gt;and exercise 2 regarding DFU with custom keys explains application verification and signing using keys.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/522586?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 08:54:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5669bb47-8b6d-4c9a-93e0-3a92bfd716cf</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p data-start="0" data-end="226"&gt;After the project has been successfully compiled, I noticed that the bin file in the &lt;code data-start="85" data-end="102"&gt;dfu_application&lt;/code&gt; directory has the suffix &lt;code data-start="128" data-end="147"&gt;.signed.encrypted&lt;/code&gt;. Does this mean that my bin file has been successfully signed and encrypted?&lt;/p&gt;
&lt;p data-start="0" data-end="226"&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1739348746940v1.png_2D00_640x480.png" alt=" " /&gt;&lt;/p&gt;
&lt;p data-start="0" data-end="226"&gt;Will the bootloader verify my key after performing the OTA update? I&amp;#39;m a bit concerned because I still see the following message in the compilation log.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CMake Warning at C:/ncs/v2.9.0/nrf/cmake/sysbuild/debug_keys.cmake:21 (message):


      --------------------------------------------------------------
      --- WARNING: Using generated NSIB public/private key-pair. ---
      --- It should not be used for production.                  ---
      --- See SB_CONFIG_SECURE_BOOT_SIGNING_KEY_FILE             ---
      --------------------------------------------------------------


Call Stack (most recent call first):&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/522440?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 12:58:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6609c1a-0a6d-4e8d-8daa-71ffe8c0ee98</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No problem, here&amp;#39;s some relevant resources&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/mcuboot/encrypted_images.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/mcuboot/encrypted_images.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_mcuboot_nsib.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_mcuboot_nsib.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_signature_keys.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/app_dev/bootloaders_dfu/mcuboot_nsib/bootloader_signature_keys.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/522346?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 07:35:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be6c6815-b4cc-4a6b-8821-957f9949fb2b</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p data-start="0" data-end="221"&gt;Sorry for the delayed response. To avoid other issues, I have already updated the SDK to version 2.9.0 during this time.&lt;/p&gt;
&lt;p data-start="0" data-end="221"&gt;Could you provide the correct encryption and signing method? I would prefer the official approach.&lt;/p&gt;
&lt;p data-start="223" data-end="365"&gt;As for the &amp;quot;vendor prefix&amp;quot; issue, please ignore it since I will be using it in the APP code later. Its functionality is working as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/517422?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 10:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b6cd715-7bc9-41ff-9f23-c00ff19f4f0b</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, I believe so. In line 15 you see that you have a &amp;quot;label&amp;quot; property. This is marked as &amp;quot;deprecated&amp;quot;, i.e its not required or has changed.&lt;/p&gt;
&lt;p&gt;The second item that I believe might be present in the same file and/or elsewhere in your definition is the &amp;quot;vendor prefix&amp;quot; that is unknown. Do you know if building works if you don&amp;#39;t have this vendor prefix &amp;quot;sunion&amp;quot;?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/517384?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 07:01:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b275e61-bb09-4eeb-8ddb-804bbd0dd2fb</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is this what you want?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi3
{
    compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
    status = &amp;quot;okay&amp;quot;;
    cs-gpios = &amp;lt;&amp;amp;gpio0 18 GPIO_ACTIVE_LOW&amp;gt;;
    pinctrl-0 = &amp;lt;&amp;amp;spi3_default&amp;gt;;
    pinctrl-1 = &amp;lt;&amp;amp;spi3_sleep&amp;gt;;
    pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
    mx25r64: mx25r6435f@0
    {
        compatible = &amp;quot;jedec,spi-nor&amp;quot;;
        status = &amp;quot;okay&amp;quot;;
        reg = &amp;lt;0&amp;gt;;
        spi-max-frequency = &amp;lt;8000000&amp;gt;;
        label = &amp;quot;MX25R64&amp;quot;;
        jedec-id = [20 00 16];
        sfdp-bfp =
        [
            53 46 44 50  08 01 00 FF  00 08 01 14  10 00 00 FF
            F5 20 C1 FF  FF FF FF 01  00 00 08 6B  08 3B 00 00
            EE FF FF FF  FF FF 00 00  FF FF 00 00  09 DB 0C 20
            10 D8 00 00  04 08 0C 00  90 F3 0E 00  00 00 00 80
        ];
        size = &amp;lt;67108864&amp;gt;;
        has-dpd;                                                                       // deep power
        t-enter-dpd = &amp;lt;10000&amp;gt;;
        t-exit-dpd = &amp;lt;35000&amp;gt;;
        wp-gpios = &amp;lt;&amp;amp;gpio0 15 (GPIO_ACTIVE_HIGH)&amp;gt;;
    };
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/517193?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 11:27:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1e4fff0-ce87-4a96-80aa-2c756186b59e</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The issues seems to be devicetree related, and not strictly related to your static partitioning yaml. The setup of the external flash seems to be having some issues with some of the items in the flash device. Could you share your overlay/board files showing how you&amp;#39;ve set up the external flash?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/516453?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 07:22:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59762f87-dbb0-47d3-b80c-6ec2f934c94d</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have solved 3 warnings,&amp;nbsp;&amp;quot;GPIO_ENABLE_DISABLE_INTERRUPT&amp;quot; I have to use, otherwise it will affect the interrupt function.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;pm_static&lt;/span&gt; has not been solved yet. Which example do you recommend for testing?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1735543119322v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/515457?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 11:48:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8dbf768-cbab-4272-88f6-d7a0766a9a27</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Thank you,&lt;/p&gt;
[quote user="SunHuang"]&lt;p&gt;Can you confirm it for me first?&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/117165/how-can-the-bin-file-be-encrypted-and-signed/514839"&gt;SunHuang said:&lt;/a&gt;&lt;/div&gt;&lt;div&gt;If version 2.6.1 does not support &amp;quot;&lt;span&gt;CONFIG_BOOT_ENCRYPT_IMAGE&lt;/span&gt;&amp;quot;, is bin file encrypted by default?&lt;/div&gt;&lt;/blockquote&gt;[/quote]
&lt;p&gt;MCUboot supports encrypted DFU, but there&amp;#39;s not support for it in the SDK v2.6.1 out of the box.&lt;/p&gt;
&lt;p&gt;The sample in the unofficial repository you refer to shows how you can modify the firmware to have encrypted DFU (&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/keys_and_signatures/mcuboot_smp_encryption"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/keys_and_signatures/mcuboot_smp_encryption&lt;/a&gt;) in NCS v2.6.1.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
warning: MBEDTLS (defined at soc/arm/nxp_imx\rt5xx\Kconfig.defconfig.series:63,
soc/arm/nxp_imx\rt6xx\Kconfig.defconfig.series:64, soc/arm/nxp_imx\rt\Kconfig.defconfig.series:117,
C:/ncs/v2.6.1/nrf\modules/trusted-firmware-m/Kconfig.mbedtls_minimal.defconfig:7,
C:/ncs/v2.6.1/nrf\modules/trusted-firmware-m/Kconfig.psa.defconfig:1,
C:/ncs/v2.6.1/zephyr/modules/mbedtls/Kconfig:17, modules\mbedtls\Kconfig:17) was assigned the value
&amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS
and/or look up MBEDTLS in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.


warning: PM (defined at soc/arm/silabs_exx32\efr32bg22\Kconfig.defconfig.series:18,
soc/arm/silabs_exx32\efr32bg27\Kconfig.defconfig.series:18,
soc/arm/silabs_exx32\efr32mg24\Kconfig.defconfig.series:19,
soc/arm/st_stm32\stm32f4\Kconfig.defconfig.series:20, subsys/pm/Kconfig:13) was assigned the value
&amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: ((SOC_SERIES_EFR32BG22 &amp;amp;&amp;amp;
SOC_FAMILY_EXX32) || (SOC_SERIES_EFR32BG27 &amp;amp;&amp;amp; SOC_FAMILY_EXX32) || (SOC_SERIES_EFR32MG24 &amp;amp;&amp;amp;
SOC_FAMILY_EXX32) || SOC_SERIES_STM32F4X || (SYS_CLOCK_EXISTS &amp;amp;&amp;amp; HAS_PM)) (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PM and/or look up PM in the
menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values,
and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: BT_CTLR_SDC_PERIPHERAL_COUNT (defined at
C:/ncs/v2.6.1/nrf\subsys\bluetooth\controller/Kconfig:123) was assigned the value &amp;#39;3&amp;#39; but got the
value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: BT_LL_SOFTDEVICE (=n), BT_CTLR (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT and/or look up
BT_CTLR_SDC_PERIPHERAL_COUNT in the menuconfig/guiconfig interface. The Application Development
Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
might be helpful too.


warning: Experimental symbol GPIO_ENABLE_DISABLE_INTERRUPT is enabled.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s 4 warnings in the build configuration that is not present when building the default lock sample in the SDK. I recommend you to clear these up to reduce the possibility that this is an XY problem.&lt;/p&gt;
&lt;p&gt;And have you managed to get this working on a sample that is less complex than the Matter door lock? I understand that your end goal is to get it up and running for this app, but I would suggest you verify that it works on a minimal sample first to avoid any XY situations&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/515388?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 07:28:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4405e4ab-c8c1-4bb1-96f1-78ca2a1faf20</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The attachment is BUILD LOG, the device will not send any message&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/build-log.7z"&gt;devzone.nordicsemi.com/.../build-log.7z&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can you confirm it for me first?&lt;/p&gt;
[quote userid="130009" url="~/f/nordic-q-a/117165/how-can-the-bin-file-be-encrypted-and-signed/514839"]If version 2.6.1 does not support &amp;quot;&lt;span&gt;CONFIG_BOOT_ENCRYPT_IMAGE&lt;/span&gt;&amp;quot;, is bin file encrypted by default?[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/515296?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2024 14:33:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0dc2a87-34e3-4d11-bf2b-49ccd62c4597</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;That is not the log I&amp;#39;m referring to, but I&amp;#39;m sure the issue is where you&amp;#39;re pointing. Could you please enable logging and&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) Upload the build log&lt;/p&gt;
&lt;p&gt;2) Upload the device logs from both bootloader and application&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/515006?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 00:55:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:277562a1-26bc-4858-8e37-6791aa2d323f</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The current problem is the previous reply.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1734310544010v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/514859?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2024 10:00:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b155794a-3ded-4c20-b1b5-f672f8bef640</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;My bad, you are right since you had also modified the start.&lt;/p&gt;
&lt;p&gt;Could you upload the build errors you&amp;#39;re getting when trying to build with this configuration.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/514839?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2024 07:41:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09fed303-22be-4bc8-a0d1-d91585ba620d</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems that my configuration is also 0xF7000. What do you mean by&amp;nbsp; the gap of 0x4200?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1734074901943v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If version 2.6.1 does not support &amp;quot;&lt;span&gt;CONFIG_BOOT_ENCRYPT_IMAGE&lt;/span&gt;&amp;quot;, is bin file encrypted by default?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/514678?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2024 09:57:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd42637a-32bd-4495-8dbc-74765ed5d2b2</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;You&amp;#39;ve just changed the mcuboot app partition size without changing anything else. This means that in the middle of your memory area there are now a gap with nothing between the app and the factory data. This is how the sizes are set up as default&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1733997286962v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In your static partitioning there is a gap of 0x4200 between the app and factory data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/514665?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2024 09:14:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b4ef5f9-25e9-4099-851d-d4ffc18214d6</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please refer to the attachment of the previous reply&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/514664?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2024 09:08:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d73895d-b3ef-4a25-8d70-c7427a66ea7e</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="SunHuang"] I still want to know why I can&amp;#39;t change the memory configuration[/quote]
&lt;p&gt;How did you modify the pm_static? There is probably some misaligned partitions in the map.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/514625?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2024 00:28:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f329454b-530c-41e5-81cd-f8c38816de45</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I want to try this method：&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/keys_and_signatures/mcuboot_smp_encryption"&gt;github.com/.../mcuboot_smp_encryption&lt;/a&gt; .&lt;/p&gt;
&lt;p&gt;Although this version does not support &amp;quot;&lt;span&gt;CONFIG_BOOT_ENCRYPT_IMAGE&lt;/span&gt;&amp;quot;, I still want to know why I can&amp;#39;t change the memory configuration&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/514534?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2024 13:43:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee54cc66-efcc-4aff-bbfb-9922545fa6cb</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="AHaug"]This configuration is not present in NCS v2.6.1, meaning that encrypted DFU is not supported.[/quote]
&lt;p&gt;First of, which version of nRF Connect SDK are you using? As mentioned, this feature is not present in v2.6.1?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/514429?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2024 08:25:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da1f432b-d694-4bb5-8e51-00eebbb26bf2</guid><dc:creator>SunHuang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;After I configured CONFIG_BOOT_ENCRYPT_IMAGE=y, mcuboot did not have enough memory space.&lt;/p&gt;
&lt;p&gt;I modified the &amp;quot;pm_static_dfu.yml&amp;quot; file. There seems to be a problem with my program.&lt;/p&gt;
&lt;p&gt;How to solve the problems?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1733905272801v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pm_5F00_static_5F00_dfu.7z"&gt;devzone.nordicsemi.com/.../pm_5F00_static_5F00_dfu.7z&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can the bin file be encrypted and signed?</title><link>https://devzone.nordicsemi.com/thread/514311?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 15:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8435529-93a1-451f-988e-5491de33c1cc</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This configuration is not present in NCS v2.6.1, meaning that encrypted DFU is not supported.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1733842384372v2.png" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But this unofficial sample which should work for 2.5.x and 2.6.x should give you a pointer for how to add it. Note that it does not support the nRF5340&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/keys_and_signatures/mcuboot_smp_encryption"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/keys_and_signatures/mcuboot_smp_encryption&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But it is present in 2.9.0-rc1 as far as I can see.&lt;/p&gt;
[quote user=""]Is app_update.bin a generated encrypted file?[/quote]
&lt;p&gt;In the latest version of&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/config_and_build/output_build_files.html#common_output_build_files"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/config_and_build/output_build_files.html#common_output_build_files&lt;/a&gt;&amp;nbsp;it describes that&amp;nbsp;&lt;em&gt;&lt;span&gt;zephyr.signed.encrypted.bin&lt;/span&gt;&lt;/em&gt;&amp;nbsp;is used to&amp;nbsp;&lt;span&gt;&amp;nbsp;create&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;dfu_application.zip&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;for encrypted multi-core DFU updates.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Since 2.9.0-rc1 is just a release candidate, I&amp;#39;m not too familiar with this feature, but I will have a look.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Andreas&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>