<?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>Buttonles DFU security</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58125/buttonles-dfu-security</link><description>Hi. I am working on adding DFU to our application. I want to use buttonless dfu service for entering bootloader. I think the only thing one need to do is write a correct widely known value to correct characteristic and then device enter bootloader mode</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Apr 2020 12:40:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58125/buttonles-dfu-security" /><item><title>RE: Buttonles DFU security</title><link>https://devzone.nordicsemi.com/thread/244430?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 12:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ab9b1bb-6bea-4a5d-9535-f9988d215271</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;We don&amp;#39;t have an example for that. But it explained quite clear in the wiki page I linked to.&amp;nbsp;&lt;br /&gt;Another option is to only allow switching to DFU mode when the link is encrypted (bonded) and if you use whitelisting, only the paired device(s) can connect and encrypt the link.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonles DFU security</title><link>https://devzone.nordicsemi.com/thread/244302?ContentTypeID=1</link><pubDate>Mon, 13 Apr 2020 20:24:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39d04f4e-16ae-45ab-aeb9-88a53172fba3</guid><dc:creator>rookie</dc:creator><description>&lt;p&gt;Hello, sorry to hijack this thread, but I have a similar question. Can you expand on the challenge-response mechanism. Is there an example on how to implement this? Scenario is for a peripheral to only accept dfu/jump to bootloader from a trusted source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonles DFU security</title><link>https://devzone.nordicsemi.com/thread/235671?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2020 09:56:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3289e5e-0655-4700-ad2e-c59f7656bf7d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume that the question is about the BLE DFU update, not the Mesh DFU.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently in our buttonless example there is no security or password needed to put the device to DFU mode. However, you can enable pairing and that can block other devices from connecting to your device after you bond to a device.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If you plan to implement password, I&amp;nbsp;can suggest implementing a &lt;a href="https://en.wikipedia.org/wiki/Challenge%E2%80%93response_authentication"&gt;challenge response mechanism&lt;/a&gt;.&amp;nbsp;If you want to avoid using same master key on all of the devices (so that if one device is hacked, all the devices will break) you would need to have a serial number on each of the device and use this serial number to identify/generate the key of the device.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>