<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/37260/adding-encryption-to-secure-dfu-sdk-v15</link><description>In the following Q&amp;amp;A I will outline a working implementation of encrypted firmware updates using the Secure DFU in SDK v15. This implementation allows for encrypted firmware updates of both the application and the bootloader. 
 
 Creating a custom DFU</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Wed, 26 Jan 2022 20:54:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/37260/adding-encryption-to-secure-dfu-sdk-v15" /><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/349847?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 20:54:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1608e572-a76c-4862-b513-1ddb2708c5eb</guid><dc:creator>user4903</dc:creator><description>&lt;p&gt;The ECB key is simply&amp;nbsp;12 cryptographically random bytes.&lt;br /&gt;&lt;br /&gt;You can generate 12&amp;nbsp;&lt;span&gt;cryptographically random bytes using Python. Open up a Python command line and type the following:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;import os&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;code&gt;import&amp;nbsp;import binascii&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;code class="hljs language-python"&gt;binascii.hexlify(os.urandom(1&lt;span class="hljs-number"&gt;2&lt;/span&gt;))&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;The output should look something like this (i.e. 12 hex values):&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;&amp;nbsp;b&amp;#39;5cf1159902090a33cbbd5c03&amp;#39;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/349667?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2022 05:30:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa37425c-8a15-4523-b07a-378bec007c64</guid><dc:creator>user94408</dc:creator><description>&lt;p&gt;Hi Mathew,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the clarification!&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have one query that how to get ECB key is not mentioned any where. Could you please update on how to get the corresponding ECB key?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rj&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/339895?ContentTypeID=1</link><pubDate>Sat, 20 Nov 2021 01:26:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b2505ab-f689-445a-8bad-8732a3948430</guid><dc:creator>user4903</dc:creator><description>&lt;p&gt;Existing&amp;nbsp;function code in SDK 15:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrf_dfu_result_t nrf_dfu_validation_post_data_execute(uint32_t src_addr, uint32_t data_len)
{
    nrf_dfu_result_t     ret_val = NRF_DFU_RES_CODE_SUCCESS;
    dfu_init_command_t * p_init  = m_packet.has_signed_command ? &amp;amp;m_packet.signed_command.command.init
                                                               : &amp;amp;m_packet.command.init;

    if (!fw_hash_ok(p_init, src_addr, data_len))
    {
        ret_val = EXT_ERR(NRF_DFU_EXT_ERROR_VERIFICATION_FAILED);
    }
    else
    {
        if (p_init-&amp;gt;type == DFU_FW_TYPE_APPLICATION)
        {
            postvalidate_app(p_init);
        }
        else
        {
            bool with_sd = p_init-&amp;gt;type &amp;amp; DFU_FW_TYPE_SOFTDEVICE;
            bool with_bl = p_init-&amp;gt;type &amp;amp; DFU_FW_TYPE_BOOTLOADER;

            if (!postvalidate_sd_bl(p_init, with_sd, with_bl, src_addr))
            {
                ret_val = NRF_DFU_RES_CODE_INVALID_OBJECT;
                if (with_sd &amp;amp;&amp;amp; !DFU_REQUIRES_SOFTDEVICE &amp;amp;&amp;amp;
                    (src_addr == nrf_dfu_softdevice_start_address()))
                {
                    nrf_dfu_softdevice_invalidate();
                }
            }
        }
    }

    if (ret_val == NRF_DFU_RES_CODE_SUCCESS)
    {
        // Store CRC32 for image
        s_dfu_settings.bank_1.image_crc = s_dfu_settings.progress.firmware_image_crc;
        s_dfu_settings.bank_1.image_size = data_len;
    }
    else
    {
        nrf_dfu_bank_invalidate(&amp;amp;s_dfu_settings.bank_1);
    }

    // Set the progress to zero and remove the last command
    memset(&amp;amp;s_dfu_settings.progress, 0, sizeof(dfu_progress_t));
    memset(s_dfu_settings.init_command, 0xFF, DFU_SIGNED_COMMAND_SIZE);

    s_dfu_settings.write_offset                  = 0;
    s_dfu_settings.progress.update_start_address = src_addr;

    return ret_val;
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Change to:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrf_dfu_result_t nrf_dfu_validation_post_data_execute(uint32_t src_addr, uint32_t data_len)
{
    nrf_dfu_result_t     ret_val = NRF_DFU_RES_CODE_SUCCESS;
    dfu_init_command_t * p_init  = m_packet.has_signed_command ? &amp;amp;m_packet.signed_command.command.init
                                                               : &amp;amp;m_packet.command.init;

    if (!fw_hash_ok(p_init, src_addr, data_len))
    {
        ret_val = EXT_ERR(NRF_DFU_EXT_ERROR_VERIFICATION_FAILED);
    }
    else
    {
        if (p_init-&amp;gt;type == DFU_FW_TYPE_APPLICATION || p_init-&amp;gt;type &amp;amp; DFU_FW_TYPE_BOOTLOADER)
        {
            s_dfu_settings.progress.firmware_image_crc = crc32_compute((uint8_t*)src_addr, data_len, NULL);
        }
        
        if (p_init-&amp;gt;type == DFU_FW_TYPE_APPLICATION)
        {
            postvalidate_app(p_init);
        }
        else
        {
            bool with_sd = p_init-&amp;gt;type &amp;amp; DFU_FW_TYPE_SOFTDEVICE;
            bool with_bl = p_init-&amp;gt;type &amp;amp; DFU_FW_TYPE_BOOTLOADER;

            if (!postvalidate_sd_bl(p_init, with_sd, with_bl, src_addr))
            {
                ret_val = NRF_DFU_RES_CODE_INVALID_OBJECT;
                if (with_sd &amp;amp;&amp;amp; !DFU_REQUIRES_SOFTDEVICE &amp;amp;&amp;amp;
                    (src_addr == nrf_dfu_softdevice_start_address()))
                {
                    nrf_dfu_softdevice_invalidate();
                }
            }
        }
    }

    if (ret_val == NRF_DFU_RES_CODE_SUCCESS)
    {
        // Store CRC32 for image
        s_dfu_settings.bank_1.image_crc = s_dfu_settings.progress.firmware_image_crc;
        s_dfu_settings.bank_1.image_size = data_len;
    }
    else
    {
        nrf_dfu_bank_invalidate(&amp;amp;s_dfu_settings.bank_1);
    }

    // Set the progress to zero and remove the last command
    memset(&amp;amp;s_dfu_settings.progress, 0, sizeof(dfu_progress_t));
    memset(s_dfu_settings.init_command, 0xFF, DFU_SIGNED_COMMAND_SIZE);

    s_dfu_settings.write_offset                  = 0;
    s_dfu_settings.progress.update_start_address = src_addr;

    return ret_val;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/339894?ContentTypeID=1</link><pubDate>Sat, 20 Nov 2021 01:11:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf1800ce-e250-4965-9f90-331ba3bfca18</guid><dc:creator>user94408</dc:creator><description>&lt;p&gt;Hi Mathew,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am confused when adding code to&amp;nbsp;&lt;strong&gt;nrf_dfu_validation_post_data_execute. &lt;/strong&gt;It seems like there&amp;#39;s an incomplete code?&lt;/p&gt;
&lt;p&gt;Any help is appreciated!&lt;/p&gt;
&lt;p&gt;Thank you in advance,&lt;/p&gt;
&lt;p&gt;RJ&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/224199?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 13:38:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d07ccb5-3b5d-48ff-869c-aaae8482e876</guid><dc:creator>user82236</dc:creator><description>&lt;p&gt;I am getting below error for&amp;nbsp;&amp;nbsp;nRF5 SDK 16.0.0&lt;/p&gt;
&lt;p&gt;1&amp;gt; C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.18/gcc/arm-none-eabi/bin/ld: ../../../../Output/Release/Obj/nrf_dfu_validation.o: in function `nrf_dfu_validation_crypt&amp;#39;:&lt;br /&gt;1&amp;gt; \BootLoaderSource\components\libraries\bootloader\dfu/nrf_dfu_validation.c:188: undefined reference to `sd_ecb_block_encrypt&amp;#39;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/224124?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 10:32:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d15c35e1-5382-4aac-9413-a483c75f416f</guid><dc:creator>user82236</dc:creator><description>&lt;p&gt;Thank you for sharing such detailed setps.&lt;/p&gt;
&lt;p&gt;I have one query that how to get ECB key is not mentioned any where. Please update on ECB key&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/206679?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 14:20:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3db9ef74-12b6-4b11-985b-54568acd67ff</guid><dc:creator>user76851</dc:creator><description>&lt;p&gt;&lt;span&gt;anyone&amp;nbsp;had such an error?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Compiling file: nrf_dfu_req_handler.c&lt;/span&gt;&lt;br /&gt;&lt;span&gt;../../../../../components/libraries/bootloader/dfu/nrf_dfu_req_handler.c: In function &amp;#39;on_data_obj_write_request&amp;#39;:&lt;/span&gt;&lt;br /&gt;&lt;span&gt;../../../../../components/libraries/bootloader/dfu/nrf_dfu_req_handler.c:496:34: error: passing argument 1 of &amp;#39;nrf_dfu_validation_crypt&amp;#39; discards &amp;#39;const&amp;#39; qualifier from pointer target type [-Werror=discarded-qualifiers]&lt;/span&gt;&lt;br /&gt;&lt;span&gt;nrf_dfu_validation_crypt(&amp;amp;p_req-&amp;gt;write.p_data[i]);&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^&lt;/span&gt;&lt;br /&gt;&lt;span&gt;In file included from ../../../../../components/libraries/bootloader/dfu/nrf_dfu_req_handler.c:62:0:&lt;/span&gt;&lt;br /&gt;&lt;span&gt;../../../../../components/libraries/bootloader/dfu/nrf_dfu_validation.h:120:10: note: expected &amp;#39;uint8_t * {aka unsigned char *}&amp;#39; but argument is of type &amp;#39;const uint8_t * {aka const unsigned char *}&amp;#39;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;uint32_t nrf_dfu_validation_crypt( uint8_t * buf);&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^~~~~~~~~~~~~~~~~~~~~~~~&lt;/span&gt;&lt;br /&gt;&lt;span&gt;cc1.exe: all warnings being treated as errors&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;please tell me how to fix it&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/174099?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2019 21:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:708b9d35-a919-4edd-8ee1-ca71e1323688</guid><dc:creator>user76486</dc:creator><description>&lt;p&gt;Matthew,&lt;/p&gt;
&lt;p&gt;Thanks for this tutorial. We are trying to implement encryption in a similar manner, however are running into an error when the bootloader checks the &lt;strong&gt;p_init-&amp;gt;type.&amp;nbsp;&lt;/strong&gt;I am getting an apparent junk value of 62, when I should be getting 0 per the&amp;nbsp;&lt;strong&gt;dfu_fw_type_t&lt;/strong&gt; enum in&amp;nbsp;&lt;strong&gt;dfu-cc.pb.h&lt;/strong&gt;. I have added a detailed post &lt;a href="https://test-devzone.nordicsemi.com/f/nordic-q-a/44392/adding-encryption-to-secure-dfu-sdk-v15"&gt;here&lt;/a&gt;,&amp;nbsp;any help with debugging would be greatly appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/168049?ContentTypeID=1</link><pubDate>Sat, 26 Jan 2019 02:05:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e03426f6-0343-4551-b1f9-8726a6dc5d75</guid><dc:creator>user4903</dc:creator><description>&lt;p&gt;I&amp;#39;ve updated the post to include the changes made to the files found in the pc-nrfutil/nordicsemi/dfu folder. Don&amp;#39;t forget to edit the dfu-cc.proto file and regenerate the dfu_cc_pb2.py file with the protocol buffer compiler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/168048?ContentTypeID=1</link><pubDate>Sat, 26 Jan 2019 02:03:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aed14e60-3986-4ca3-8f6d-e47dc1389fd9</guid><dc:creator>user4903</dc:creator><description>&lt;p&gt;I&amp;#39;ve updated the post to include the changes made to the files found in the pc-nrfutil/nordicsemi/dfu folder. Don&amp;#39;t forget to edit the dfu-cc.proto file and regenerate the dfu_cc_pb2.py file with the protocol buffer compiler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/168040?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 23:13:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87782071-268e-4ca4-9c03-782f288d39ab</guid><dc:creator>user41320</dc:creator><description>&lt;p&gt;Hi Mathew,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you please share the required change to nrfutil to add the nonce? You attached a .exe but I&amp;#39;m modifying the nrfutil source to be able to use this on Linux.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/157815?ContentTypeID=1</link><pubDate>Sat, 17 Nov 2018 08:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61e357f3-b36e-4178-8d0d-7578ca66591e</guid><dc:creator>user4753</dc:creator><description>&lt;p&gt;Mathew, thanks for clarifying the description of encryption generation.&lt;/p&gt;
&lt;p&gt;Could you please describe the process of changing nrfutil in more detail? For example&amp;nbsp; is need to change init_packet_pb.py and package.py.&lt;/p&gt;
&lt;p&gt;I changed the code of nrfutil as you recommend but when I call nrfutil with params &amp;quot;pcg display&amp;quot; is no mention of &amp;quot;nonce&amp;quot;.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:monospace;"&gt;&lt;/span&gt;&lt;span style="font-size:medium;"&gt;&lt;/span&gt;&lt;span style="color:#001000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/157719?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 12:59:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d485130f-0271-4d35-be2c-7b02ee1ebfc1</guid><dc:creator>user4753</dc:creator><description>&lt;div&gt;Hi, Mathew.&lt;br /&gt;I changed the nrfutil as you recommended, but using it for create zip file, there is no mention of&amp;nbsp; &amp;quot;nonce&amp;quot; when call &amp;quot;pkg display&amp;quot;&lt;/div&gt;
&lt;div&gt;DFU Package: &amp;lt;dfu_pkg_app_v0_0_1.zip&amp;gt;:&lt;br /&gt;|&lt;br /&gt;|- Image count: 1&lt;br /&gt;|&lt;br /&gt;|- Image #0:&lt;br /&gt;|- Type: application&lt;br /&gt;|- Image file: dfu_pkg_app_v0_0_1.bin&lt;br /&gt;|- Init packet file: dfu_pkg_app_v0_0_1.dat&lt;br /&gt;|&lt;br /&gt;|- op_code: INIT&lt;br /&gt;|- signature_type: ECDSA_P256_SHA256&lt;br /&gt;|- signature (little-endian): 80e53a7e8ae12edb0d17eca5557219459679b753c2920b290d49df603815eb39c4c45814eba459d5a34d533f99ce2e6028edfc4c002549bce4b1ca20eaf850fd&lt;br /&gt;|&lt;br /&gt;|- fw_version: 0x00000001 (1)&lt;br /&gt;|- hw_version 0x00000034 (52)&lt;br /&gt;|- sd_req: 0xAF&lt;br /&gt;|- type: APPLICATION&lt;br /&gt;|- sd_size: 0&lt;br /&gt;|- bl_size: 0&lt;br /&gt;|- app_size: 24032&lt;br /&gt;|&lt;br /&gt;|- hash_type: SHA256&lt;br /&gt;|- hash (little-endian): c249494ce7fcf9a6230c1c4cda3b4410951f45094b9cdbfab37806aa84f85597&lt;br /&gt;|&lt;br /&gt;|- is_debug: False&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;Although in folder&lt;br /&gt;C:\Python27\Lib\site-packages\nrfutil-4.0.0-py2.7.egg\nordicsemi\dfu&lt;br /&gt;the file &amp;quot;dfu_cc_pb2.py&amp;quot; is created as You recommend with&lt;/div&gt;
&lt;div&gt;optional bytes&amp;nbsp; nonce = 10;&lt;br /&gt;and&lt;br /&gt;dfu.InitCommand.nonce max_size:12.&lt;/div&gt;
&lt;div&gt;But when I use Your &amp;quot;1-nrfutil.exe&amp;quot; &lt;br /&gt;the string&lt;/div&gt;
&lt;div&gt;&amp;nbsp;|- nonce (little-endian): ca3c807241b2c02b85323556&lt;/div&gt;
&lt;div&gt;is present.&lt;/div&gt;
&lt;div&gt;Is need to change init_packet_pb.py and package.py ?&lt;br /&gt;What could be? Maybe you missed something?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;------------------------------------------------------------&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;If I use Your &amp;quot;1-nrfutil.exe&amp;quot; to enerate package, bin file in archive stil not encrypted. &lt;br /&gt;What do you mean by encryption? Encrypting the firmware itself or something else?&lt;/div&gt;
&lt;div&gt;You wrote: &amp;quot;Next, we need to generate a package using the UNENCRYPTED firmware image&amp;quot; using &amp;quot;nrfutil pkg generate...&amp;quot; and using nRF Connect load this zip-file to device.&lt;br /&gt;But, where in you text encrypting procedure? We load to device UNencrypted firmware.&lt;/div&gt;
&lt;div&gt;Best, Vyacheslav.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Encryption to Secure DFU SDK v15</title><link>https://test-devzone.nordicsemi.com/thread/143542?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 11:06:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00eb09a8-d680-42f7-a682-6203deabc92b</guid><dc:creator>user15146</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for sharing this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>