<?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>fixed passkey and nRFConnect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90684/fixed-passkey-and-nrfconnect</link><description>Dear all, I am trying to develop an application on Nordic nrf52840_dongle utilizing Bluetooth and Nordic Led Button Service. The application running on the dongle is supposed to notify button click on USB dongle and activate LED diode using Nordic Android</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Aug 2022 22:37:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90684/fixed-passkey-and-nrfconnect" /><item><title>RE: fixed passkey and nRFConnect</title><link>https://devzone.nordicsemi.com/thread/380228?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 22:37:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:765c3cfe-4af4-4de0-b621-7e6d5662c7cd</guid><dc:creator>Emil Lenngren</dc:creator><description>&lt;p&gt;In BLE, connections are allowed to be established even if the devices are not paired/bonded. Instead, you can configure a required security level for each service and characteristic. If a non-paired client interacts with a protected characteristic, the server will send a security error to the client, usually causing the client to initiate the pairing procedure. So what you must do to secure the characteristics is to require encryption for them in the characteristic definition.&lt;/p&gt;
&lt;p&gt;Regarding fixed passkeys, the standard says the device with a display should generate a new passkey on every pairing attempt. Fixed passkeys are totally broken security-wise due to how the protocol works. When the remote device enters the wrong passkey,&amp;nbsp;the first bit that was wrong will be revealed, which will make a brute-force attempt succeed in at most 20 attempts. See&amp;nbsp;&lt;a href="https://insinuator.net/2021/10/change-your-ble-passkey-like-you-change-your-underwear/"&gt;https://insinuator.net/2021/10/change-your-ble-passkey-like-you-change-your-underwear/&lt;/a&gt;&amp;nbsp;for more info. So the security is basically equal to &amp;quot;Just Works&amp;quot;, except that it might keep away non-technical people trying to pair. Unfortunately the Bluetooth standard does not offer any security feature to &amp;quot;login with a password&amp;quot;. You can add such a security layer yourself on top of the application layer, using a PAKE algorithm, but this is far from trivial.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: fixed passkey and nRFConnect</title><link>https://devzone.nordicsemi.com/thread/380168?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 14:04:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ca9d2d8-6bd5-4ca0-8c73-f32bfed448ea</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I will have a look into your case and return with more information tomorrow.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>