<?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>Further cipher suites with download client</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72724/further-cipher-suites-with-download-client</link><description>Hello 
 In our application we&amp;#39;re using the download client. Here are the cipher suites the modem supports in hardware: https://www.nordicsemi.com/Products/Low-power-cellular-IoT/nRF9160/Download#infotabs 
 Unfortunately at least the non PSK cipher suites</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 May 2021 14:03:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72724/further-cipher-suites-with-download-client" /><item><title>RE: Further cipher suites with download client</title><link>https://devzone.nordicsemi.com/thread/311515?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 14:03:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b643270-50f1-4ebd-a92c-ffa931086255</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/members/didrik-rokhaug"&gt;Didrik Rokhaug&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Further cipher suites with download client</title><link>https://devzone.nordicsemi.com/thread/311497?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 13:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d233f9f3-8edb-4a6f-9fe3-ebcaf2328bea</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/jaredwolff"&gt;Jared&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I am not aware of any plans for adding support for new TLS cipher suites at the moment.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Further cipher suites with download client</title><link>https://devzone.nordicsemi.com/thread/309884?ContentTypeID=1</link><pubDate>Sat, 15 May 2021 14:36:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d245666-8e1e-408a-9b94-d00d67a788a3</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;On a related note, &lt;a href="https://devzone.nordicsemi.com/members/didrik-rokhaug"&gt;Didrik Rokhaug&lt;/a&gt; do you anticipate the MFW to supporting modern cipher suites? Looks like the CBC ciphers are deprecated in TLS 1.3 as &lt;a href="https://devzone.nordicsemi.com/members/samuel4"&gt;samuel4&lt;/a&gt; alluded to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Further cipher suites with download client</title><link>https://devzone.nordicsemi.com/thread/301977?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 15:51:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f55ce05e-deb0-44f9-b74c-28f621f42426</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Looking at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/kconfig/CONFIG_MBEDTLS_DEBUG.html"&gt;documentation for the Kconfig option&lt;/a&gt;, it looks like you should be able to do the same in code.&lt;/p&gt;
&lt;p&gt;You can find the documentation for mbedtls_ssl_conf_dbg here: &lt;a href="https://tls.mbed.org/api/ssl_8h.html#ab15dcbe7c7fe2a5c118e7c486c07c921"&gt;mbedTLS documentation&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Further cipher suites with download client</title><link>https://devzone.nordicsemi.com/thread/301641?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 10:53:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f7307ab-be18-4b68-a383-8cc06b6d0d71</guid><dc:creator>samuel4</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Oh thanks, that worked. I have one more question. Do you have an idea how to enable the Debug output of mbedTLS? CONFIG_MBEDTLS_DEBUG is ignored. Meanwhile I figured out, that I have to set other options using CONFIG_CHOICE_VANILLA_MBEDTLS... But there is no VANILLA DEBUG option.&lt;/p&gt;
&lt;p&gt;Thanks for efforts.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;br /&gt;Samuel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Further cipher suites with download client</title><link>https://devzone.nordicsemi.com/thread/301639?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 10:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45bb9948-fa1c-43a9-b47e-e84d322f5f2b</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi, and sorry for the late answer.&lt;/p&gt;
&lt;p&gt;You can use mbedTLS as a backend to the Nordic Security Module by setting CONFIG_MBEDTLS_VANILLA_BACKEND=y.&lt;/p&gt;
&lt;p&gt;If I add that option to the overlay-native_tls.conf file, CONFIG_MBEDTLS_ECDSA_C is enabled automatically.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Further cipher suites with download client</title><link>https://devzone.nordicsemi.com/thread/301022?ContentTypeID=1</link><pubDate>Fri, 19 Mar 2021 21:01:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4503169-7e15-45bc-b954-e3180b6d90ee</guid><dc:creator>samuel4</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thanks for that hint. I&amp;#39;ve tried it out and and it works, but I ran into configuration issues. I added following overlay from the Serial LTE Modem example&lt;/p&gt;
&lt;p&gt;# TLS configuration&lt;br /&gt;CONFIG_SLM_NATIVE_TLS=y&lt;br /&gt;CONFIG_MODEM_KEY_MGMT=y&lt;br /&gt;CONFIG_MBEDTLS=y&lt;br /&gt;CONFIG_MBEDTLS_LIBRARY=y&lt;br /&gt;CONFIG_MBEDTLS_TLS_LIBRARY=y&lt;br /&gt;CONFIG_MBEDTLS_PKCS1_V15=y&lt;br /&gt;CONFIG_MBEDTLS_ENABLE_HEAP=y&lt;br /&gt;CONFIG_MBEDTLS_INSTALL_PATH=&amp;quot;DUMMY&amp;quot;&lt;br /&gt;# If larger TLS buffer is required for large CA chain,&lt;br /&gt;# increase CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN to 4096&lt;br /&gt;# and CONFIG_MBEDTLS_HEAP_SIZE to 32768&lt;br /&gt;#CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=1280&lt;br /&gt;#CONFIG_MBEDTLS_HEAP_SIZE=23040&lt;br /&gt;CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=4096&lt;br /&gt;CONFIG_MBEDTLS_HEAP_SIZE=32768&lt;br /&gt;CONFIG_NET_SOCKETS_OFFLOAD_TLS=n&lt;br /&gt;CONFIG_NET_SOCKETS_SOCKOPT_TLS=y&lt;br /&gt;CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=2&lt;br /&gt;# Increase extra FD entry for TLS contexts(2)&lt;br /&gt;CONFIG_POSIX_MAX_FDS=10&lt;br /&gt;CONFIG_NORDIC_SECURITY_BACKEND=y&lt;br /&gt;CONFIG_NRF_SECURITY_ADVANCED=y&lt;/p&gt;
&lt;p&gt;I can ovserve that mbedTLS is used, but lots of functions are glued to oberon and so on. I thaught I can configure mbedTLS further on by using&amp;nbsp; CONFIG_MBEDTLS_ECDSA_C=y for example. However, that&amp;#39;s not working. It seems that the configuration option is not compatible with the security backend:&lt;/p&gt;
&lt;p&gt;warning: MBEDTLS_ECDSA_C was assigned the value &amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies:&lt;br /&gt;MBEDTLS_ECP_C (=n), NRF_SECURITY_ANY_BACKEND (=n). See&lt;br /&gt;&lt;a href="http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_MBEDTLS_ECDSA_C.html"&gt;docs.zephyrproject.org/.../CONFIG_MBEDTLS_ECDSA_C.html&lt;/a&gt; and/or look up&lt;br /&gt;MBEDTLS_ECDSA_C in the menuconfig/guiconfig interface. The Application Development Primer, Setting&lt;br /&gt;Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful&lt;br /&gt;too.&lt;/p&gt;
&lt;p&gt;If I set&lt;br /&gt;CONFIG_GENERATE_MBEDTLS_CFG_FILE=n&lt;br /&gt; I get cmake errors. I guess I have to set up a config file as well, but I don&amp;#39;t know how:&lt;/p&gt;
&lt;p&gt;CMake Error at [...]/SWK_nRF_Connect_SDK/31_Source/nrfxlib/nrf_security/src/mbedtls/oberon/CMakeLists.txt:124 (configure_file_ifdef):&lt;br /&gt; Unknown CMake command &amp;quot;configure_file_ifdef&amp;quot;.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t care if I need to set up a custom mbedtls configuration. But actually I don&amp;#39;t know how.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve also tried to use the internal mbedtls library using CONFIG_MBEDTLS_BUILTIN=y. However, the integrated library lacks mbedtls_ssl_write and _read functions and we need this function in an other part of our software. And also the Serial LTE Modem uses the external mbedtls library.&lt;/p&gt;
&lt;p&gt;Have you any ideas how I can change the mbedTLS confuration using the external mbedtls library?&lt;/p&gt;
&lt;p&gt;Kind regards&lt;br /&gt;Samuel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Further cipher suites with download client</title><link>https://devzone.nordicsemi.com/thread/299931?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 17:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d8e240e-5bed-40a7-b5db-473bfb769991</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is possible to implement the TLS stack on the application core, while still running the TCP stack on the modem.&lt;/p&gt;
&lt;p&gt;This is supported in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/applications/serial_lte_modem/doc/slm_description.html#native-tls-sockets"&gt;Serial LTE Modem&lt;/a&gt; by using the overlay-native_tls.conf overlay configuration file.&lt;/p&gt;
&lt;p&gt;You should be able to do something similar for your own application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>