<?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>Queries Regarding Secure Boot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56453/queries-regarding-secure-boot</link><description>I have below queries Regarding Secure Boot and DFU: 
 1) Is the secure boot functionality available in nRF52840, if available please provide the procedure for doing it? 
 2) In the secure DFU, it is shown in this document that only the init packet is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jan 2020 12:43:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56453/queries-regarding-secure-boot" /><item><title>RE: Queries Regarding Secure Boot</title><link>https://devzone.nordicsemi.com/thread/230071?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 12:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf6a7711-c4f7-49fa-8a74-446459975376</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Devang,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- The init packet is always signed. It&amp;#39;s part of the Secure DFU bootloader. Unless you use Open Bootloader the signing of the init packet is obligated. Inside the init packet is the hash of the images so this mean the image is also signed. Only the signature of the init packet is transferred. It&amp;#39;s also used to verify the image on each boot (if boot validation with signature enabled)&lt;/p&gt;
&lt;p&gt;- Correct, the bootloader validate the app and/or the softdevice&amp;nbsp;on every boot using the signature.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- MBR will not validate the bootloader. The assumption here is that the MBR and the bootloader, which is the foundation of the secure boot won&amp;#39;t be modified or compromised. If the system work correctly, the application won&amp;#39;t be able to modify the bootloader, it&amp;#39;s protected by the BPROT or ACL in the hardware. The bootloader when being updated, will be verified by the original bootloader with a signature before it update itself. In short, the bootloader is only verified only once. But there shouldn&amp;#39;t be any easy way to&amp;nbsp;compromise&amp;nbsp;the bootloader, as far as we know until now.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries Regarding Secure Boot</title><link>https://devzone.nordicsemi.com/thread/229942?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 17:40:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38367c54-3599-415a-8f57-636a6e3e0407</guid><dc:creator>devang r dixit</dc:creator><description>&lt;p style="font-weight:400;"&gt;Hi Hung,&lt;/p&gt;
&lt;p style="font-weight:400;"&gt;Thanks for the information but still some confusion. Please clarify. You mean to say if I use the SDkv16.0 and enable the option&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__nrf__bootloader__config.html#gaba572f7979df6ce7c1ed316bfab3f748"&gt;NRF_BL_APP_SIGNATURE_CHECK_REQUIRED&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;my images are signed and the bootloader verifies whenever it boots? the signature of the images is transferred as part of the Init packet? Is the Init packet signed?&lt;/p&gt;
&lt;p style="font-weight:400;"&gt;Form the link whatever you have shared what does the following statement mean&lt;/p&gt;
&lt;p style="font-weight:400;"&gt;&amp;ldquo;Only the SoftDevice and the application can be validated because the bootloader performs the validation. Note that bootloaders are always checked when they are updated.&amp;rdquo;&lt;/p&gt;
&lt;p style="font-weight:400;"&gt;Does this mean that Bootloader will validate the application and SoftDevice using the signature whenever the bootloader is executed by MBR?&lt;/p&gt;
&lt;p style="font-weight:400;"&gt;Does this mean that MBR will not validate the bootloader signature whenever it tries to invoke it?&lt;/p&gt;
&lt;p style="font-weight:400;"&gt;&amp;ldquo;Note that bootloaders are always checked when they are updated&amp;rdquo; does this statement mean when the bootloader is updated using the DFU the bootloader signature is validated? (only once)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries Regarding Secure Boot</title><link>https://devzone.nordicsemi.com/thread/228874?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2020 15:53:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f57bc6d6-f8be-4a1b-afa1-5134fec48708</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Secure Boot is implemented in our bootloader from nRF SDK v16.0. You can read about the Secure Boot &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_secure_boot.html?cp=7_1_3_5_0_8"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The init packet contain the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader_dfu_validation.html?cp=7_1_3_5_1_1_0#lib_bootloader_dfu_init"&gt;hash of the actual image&lt;/a&gt;. So when you sign the content of the init packet it also verify that the hash value of the&amp;nbsp;DFU image.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What do you mean by &amp;quot;store the public key in flash instead of compiling it with bootloader&amp;quot; ? The public key will still be in flash regardless how you store it. The public key is protected from the application the same way as the bootloader is protected from the application when booting up with Secure Boot.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Queries Regarding Secure Boot</title><link>https://devzone.nordicsemi.com/thread/228711?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2020 06:45:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:615d91bb-c631-45da-b7b9-818f491aaffa</guid><dc:creator>devang r dixit</dc:creator><description>&lt;p&gt;Also please provide the Penetration test result for nrf52840.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>