<?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>BLE Secure connection with LE Secure Connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72084/ble-secure-connection-with-le-secure-connection</link><description>Hi, I am working on implementing the security aspect of our BLE application using nRF52832 MCU with SDK 17. The goal is to establish a secure connection between peripheral and phone, on the phone side I&amp;#39;m using nrf connect. I have looked into different</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Mar 2021 11:31:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72084/ble-secure-connection-with-le-secure-connection" /><item><title>RE: BLE Secure connection with LE Secure Connection</title><link>https://devzone.nordicsemi.com/thread/297764?ContentTypeID=1</link><pubDate>Thu, 04 Mar 2021 11:31:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd3e26b9-afe7-4da9-b61c-3e0193b43bea</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Do you want the nRFConnect app to be prompted to enter a passkey as soon as it&amp;#39;s connected to your device? If so, you should take another look at the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Fble_sdk_app_gls.html"&gt;ble_app_gls &lt;/a&gt;example, where a passkey will be prompted upon connection.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Secure connection with LE Secure Connection</title><link>https://devzone.nordicsemi.com/thread/297388?ContentTypeID=1</link><pubDate>Wed, 03 Mar 2021 08:32:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34e1d699-1b27-4ba2-9415-3f817a2ddd97</guid><dc:creator>Hamza_HK</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I just checked the case you linked. It is similar to what I have been doing but nothing going forward. The issue is that&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;BLE_GAP_EVT_AUTH_KEY_REQUEST event is never triggered.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The nRFConnect app on my phone is connected to the peripheral without the need of authorization (entering OOB key or something similar).&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Any tips on where to look into for&amp;nbsp;this to work?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Hamza&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Secure connection with LE Secure Connection</title><link>https://devzone.nordicsemi.com/thread/297362?ContentTypeID=1</link><pubDate>Wed, 03 Mar 2021 07:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4333fbe-13c4-413e-b534-3b7127f67f38</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The examples we have in our SDK (the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_gls.html"&gt;ble_app_gls &lt;/a&gt;for instance) use randomly generated keys in order to do pairing and not pre-shared keys. You can&amp;nbsp;check out&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/66209/modify-pre-shared-oob-key-for-legacy-connection/"&gt; this case&lt;/a&gt;&amp;nbsp;regarding pre-shared keys.&lt;/p&gt;
&lt;p&gt;If you use the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-mobile"&gt;nRFConnect app on your phone&lt;/a&gt; to connect and pair to your device, you should be able to see a log of what exactly happens after entering the passkey. Sorry for not mentioning this in my last reply.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Secure connection with LE Secure Connection</title><link>https://devzone.nordicsemi.com/thread/297040?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2021 07:14:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c61d464c-adc6-41a3-ae98-acd9a2e8afac</guid><dc:creator>Hamza_HK</dc:creator><description>&lt;p&gt;Hi Simon!&amp;nbsp;&lt;br /&gt;&lt;br /&gt;By default, the keys generated in nrf_ble_lesc_keypair_generate, are those random keys? How is that possible if both devices has to have the same shared secret to compute correct LTK?&amp;nbsp;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;We want to simply have a pre-shared key on the our devices such that the phone application has to have the correct key (shared secret) for it to acquire the symmetric key, based on ECDH protocol.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Hamza&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Secure connection with LE Secure Connection</title><link>https://devzone.nordicsemi.com/thread/296510?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 11:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9524f0d-3fe3-4fbc-a4c5-3fc2092ed612</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Setting these defines in the peer manager settings, that should make connections go through this pairing process. In order to know if all the authentication steps are done we would need a sniffer trace of the pairing process. Please check out the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRFSniffer &lt;/a&gt;to see how to capture a trace using an nRF52 DK as a sniffer device for instance.&lt;/p&gt;
&lt;p&gt;The keys are generated by the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrf__ble__lesc.html"&gt;nrf_ble_lesc_keypair_generate&lt;/a&gt;()&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>