<?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>OpenThread master key usage and generation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55425/openthread-master-key-usage-and-generation</link><description>Hi, 
 
 I am trying to build the Thread network using nRF52840 and nRF5_SDK_for_Thread_and_Zigbee_v3.2 SDK. I tried to load the \examples\thread\cli\ftd\uart\pca10056 exampl on the board and it works fine. Thanks for the nice example and documentation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Dec 2019 15:34:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55425/openthread-master-key-usage-and-generation" /><item><title>RE: OpenThread master key usage and generation</title><link>https://devzone.nordicsemi.com/thread/225213?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 15:34:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4cb93a1-e9d5-4d35-b726-fcfe05f81983</guid><dc:creator>zhliao</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your reply! I will let you know if I have any other questions.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Zhonghao&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OpenThread master key usage and generation</title><link>https://devzone.nordicsemi.com/thread/224992?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 16:34:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abdcf753-7f36-4f04-991d-c2ccbcbab3bb</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The &lt;a href="https://github.com/openthread/openthread/blob/master/src/core/thread/key_manager.cpp#L51"&gt;default master key&lt;/a&gt; is hardcoded into the OpenThread libraries. You can set a new key in the application using&amp;nbsp;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v3.2.0/group__api-thread-general.html#gaab18cf607115bf319add0135668d997a"&gt;otThreadSetMasterKey&lt;/a&gt;() API call. PAN ID and channel can be configured in the sdk_config.h file of the projects in the SDK, or you can use&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v3.2.0/group__api-link-link.html#gaa930e0ebf0b176af1d6a9698863a926f"&gt;otLinkSetPanId&lt;/a&gt;() in your application to set it.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This is from Thread 1.1.1 specification: &amp;quot;&lt;em&gt;With the exception of in-band commissioning, all messages are secured, either by [IEEE802154] security (level 5, encryption and 32-bit MIC), or by the MLE protocol (which is based on 802.15.4 AES-CCM frame security, but done above the link layer). The 802.15.4 and MLE keys are derived from the master key received during commissioning&lt;/em&gt;&amp;quot;. As far I know, the UDP packets are not encrypted beyond this unless DTLS is used for end-to-end encryption.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;The PSKc is the&amp;nbsp;Pre-Shared Key for the Commissioner, see &lt;a href="https://openthread.io/guides/border-router/external-commissioning"&gt;this guide&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;I do not have any experience with using raw public keys, and unfortunately, I&amp;#39;m not aware of any references for this.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>