<?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>Changing bonding requirements</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65961/changing-bonding-requirements</link><description>We would like our device to accept &amp;quot;just works&amp;quot; bonding for the first 2 minutes after power up in order to provide simplicity, but require mitm with oob after this to provide better security since the device is on for extended periods. We have no button</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Sep 2020 10:56:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65961/changing-bonding-requirements" /><item><title>RE: Changing bonding requirements</title><link>https://devzone.nordicsemi.com/thread/270045?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 10:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ec1a41c-414a-43a3-b17f-deb7817b61f0</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As you say the attribute security dictates whether or not the peer can interact with these. The problem in this case is that if you have a bond that was established using just works it would not be good enough if you increase the security requirements (must be done by re initializing the attributes...) It is possible to check the security parameters in the application by setting the attribute parameters to require read and write authorization from the application. This could be combined with changing the attributes and checking if the security level is sufficient at the time of bonding (&lt;span&gt;&lt;a title="pm_sec_is_sufficient" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__peer__manager.html?cp=7_1_6_2_16_65#ga5da80642b03d50bb7c7345e008273030"&gt;pm_sec_is_sufficient&lt;/a&gt;&lt;/span&gt;) part of pm_handler_disconnect_on_insufficient_sec.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>