<?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>Peer manager and LESC possibilities</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65892/peer-manager-and-lesc-possibilities</link><description>Hello, 
 I am looking into the peer manager and the LESC module and have some question regarding what is possible to do with this. 
 
 Is it possible to manage the private key to use for also other purposes on application level (e.g. signing) 
 
 It looks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Sep 2020 13:13:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65892/peer-manager-and-lesc-possibilities" /><item><title>RE: Peer manager and LESC possibilities</title><link>https://devzone.nordicsemi.com/thread/269673?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 13:13:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ecc336c-a797-4274-8d03-a03d3797fa82</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the LESC, the Public key and private key of each device have to be randomly generated according to the Elliptic Curve Diffie-Hellman (ECDH) rules. In our SDK this is done by calling&amp;nbsp;nrf_crypto_ecc_key_pair_generate() which will use the micro-ECC module to generate the key pair.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note though that static passkey in combination with LESC is not any more secure than LESC &amp;quot;just works&amp;quot;. The protocol is designed for a random passkey and breaks totally if a passkey is reused. See this post&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35856/questions-about-lesc-mitm-and-passkey/138216#138216."&gt;Questions about LESC, MITM and passkey&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The key is intended to&amp;nbsp;encrypt the connection. If you want to limit the connection&amp;nbsp;&lt;span&gt;authentication, you can consider bonding. See this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35856/questions-about-lesc-mitm-and-passkey/138216#138216."&gt;post&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;See the&amp;nbsp;&lt;a title="Peripheral LESC Pairing" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.1/group___b_l_e___g_a_p___p_e_r_i_p_h___l_e_s_c___m_s_c.html?cp=4_7_4_3_2_1_3_10_6"&gt;Peripheral LESC Pairing&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a title="Central LESC Pairing" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.1/group___b_l_e___g_a_p___c_e_n_t_r_a_l___l_e_s_c___m_s_c.html?cp=4_7_4_3_2_1_3_5_1"&gt;Central LESC Pairing&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>