<?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>Thread Coaps (DTS handshake) fails.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86527/thread-coaps-dts-handshake-fails</link><description>Hi, 
 
 With the NRF Connect SDK version 1.9.1 it is not possible to setup a Thread Coaps connection. 
 The DTLS handshake fails after Client Hello with an Alert message (Illegal Parameter). 
 Error is triggered in the mbedTLS library =&amp;gt; ssl_srv.c =&amp;gt;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Apr 2022 09:25:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86527/thread-coaps-dts-handshake-fails" /><item><title>RE: Thread Coaps (DTS handshake) fails.</title><link>https://devzone.nordicsemi.com/thread/361439?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 09:25:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e54dd62-dced-4047-8174-0887c16b3699</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Bug identified in mbedtls SSL Client:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-mbedtls/blob/development/library/ssl_cli.c#L1248-L1256" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-mbedtls/blob/development/library/ssl_cli.c#L1248-L1256&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ECJPAKE extension is added unconditionally to the Client Hello message.&lt;/p&gt;
&lt;p&gt;Bugfix can be fixed&amp;nbsp;by adding the extension only when `uses_ec` is True (&lt;a href="https://github.com/nrfconnect/sdk-mbedtls/blob/development/library/ssl_cli.c#L1228" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-mbedtls/blob/development/library/ssl_cli.c#L1228&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>