<?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>NCS: Get Public Keys during OOB pairing procedure</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95644/ncs-get-public-keys-during-oob-pairing-procedure</link><description>Hello, We&amp;#39;ve been currently working on securely connecting a peripheral with no display and no keyboard, to a central with a display and keyboard. We need to make sure that there can be no MITM. We&amp;#39;ve decided that we want to implement authentication through</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jan 2023 11:42:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95644/ncs-get-public-keys-during-oob-pairing-procedure" /><item><title>RE: NCS: Get Public Keys during OOB pairing procedure</title><link>https://devzone.nordicsemi.com/thread/405213?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 11:42:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da300588-d75c-410b-a77b-2054b34144b3</guid><dc:creator>tkirschner</dc:creator><description>&lt;p&gt;This idea uses LESC, so CONFIG_BT_SMP_OOB_LEGACY_PAIR_ONLY is not enabled. Thanks for pointing me into the right direction. I&amp;#39;ll look into the options you&amp;#39;ve listed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS: Get Public Keys during OOB pairing procedure</title><link>https://devzone.nordicsemi.com/thread/405204?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 11:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca7667c0-78d9-4482-a49d-0fa6479c9cfb</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;maybe you can edit&amp;nbsp;bt_hci_evt_le_pkey_complete to make it call your application callback handler to copy the pub_key in your app memory area?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS: Get Public Keys during OOB pairing procedure</title><link>https://devzone.nordicsemi.com/thread/405203?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 11:07:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03be0102-5696-4777-869a-177d9dd30b52</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;tkirschner,&lt;/p&gt;
[quote user=""]Are the public keys from peers saved anywhere, where they&amp;#39;re accessible through the SDK?[/quote]
&lt;p&gt;The keys are available in the same smp.c file in sc_public_key for the peripheral. But .these wont work when you have&amp;nbsp; CONFIG_BT_SMP_OOB_LEGACY_PAIR_ONLY defined in your project. You need to somehow expose&amp;nbsp;&lt;span&gt;sc_public_key to your application (as opposed to this variable being static). I do not think trying to get the memory location of where this is saved is not fail safe idea to get this data as the memory locations might change per device and there is no proper way to get the memory address through pointers other than trying to exposing&amp;nbsp;&lt;/span&gt;sc_public_key or pub_key in&amp;nbsp;zephyr\subsys\bluetooth\host\ecc.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS: Get Public Keys during OOB pairing procedure</title><link>https://devzone.nordicsemi.com/thread/404661?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 00:34:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e9354ab-136c-4d1e-8067-e80a034c13e0</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;tkirschner,&lt;/p&gt;
&lt;p&gt;I will support you with this question. However, I need more time to look into Zephyr&amp;#39;s implementation to answer you.&lt;/p&gt;
&lt;p&gt;Unless someone from the community already helped you,&amp;nbsp;I will be back with&amp;nbsp;the answer latest by the end of Tue Jan 17.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>