<?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>nRF9160 KEYGEN AT Command Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91218/nrf9160-keygen-at-command-issue</link><description>Hello, we are seeing an issue when using the KEYGEN AT command to generate a CBOR object as dictated in the provisioning steps for nRF Cloud: https://docs.nrfcloud.com/Guides/GettingStarted/Devices I see that the key is written to memory by checking AT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Jul 2023 15:22:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91218/nrf9160-keygen-at-command-issue" /><item><title>RE: nRF9160 KEYGEN AT Command Issue</title><link>https://devzone.nordicsemi.com/thread/436546?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 15:22:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80247e7c-966c-4a91-936a-81b3125a17b6</guid><dc:creator>flau</dc:creator><description>&lt;p&gt;Wait.&amp;nbsp; Here is the entire output:&lt;/p&gt;
&lt;p&gt;%KEYGEN:&amp;quot;MIIBCTCBrwIBADAvMS0wKwYDVQQDDCQ1MDRiNTgzOS0zNzM1LTRkNzEtODA2OC0xNDE2NGM3NGE0NGQwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATlKIQdFYs4sUZy4BW6Zcvsge2lzKha2LMiW-lNM4dFbfedPIk6v-oFLjgRdquYuW_go0sdAHYeFbW2kLRUIKEToB4wHAYJKoZIhvcNAQkOMQ8wDTALBgNVHQ8EBAMCA-gwDAYIKoZIzj0EAwIFAANHADBEAiA9xlIJW0l25i9pM3OxTOWQVy5fV2rGDsKkMwCsLWD3TwIgGBmmdumjX6jWe5kmLUgx7T2-u4sgvaLu4KVkWoCYWFc.0oRDoQEmoQRBIVhL2dn3hQlQUEtYOTc1TXGAaBQWTHSkTUELWCBhM5caHRDBXSsuyOhyX_ovdeibUKQ-xognwA-uWTUWnFAV_0IlB1Kb3Ia_38b93rflWEDxBkoNJeJNlAZTZdCETVBOKLWxDuKt-J3CuW17rUWsEuvRiArHUzgsNyBRepuXm7ITslxOw3CtwWuoDjh64gB6&amp;quot;&lt;/p&gt;
&lt;p&gt;I can see a dot about 2/3 down the string, Fc.0o.&amp;nbsp; Is what I am getting correct?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 KEYGEN AT Command Issue</title><link>https://devzone.nordicsemi.com/thread/436544?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 15:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23a6b7d3-64e4-41e9-b493-43d9fbc15d40</guid><dc:creator>flau</dc:creator><description>&lt;p&gt;I am running mfw v1.3.4.&amp;nbsp; I tried to do the same thing with at%keygen=11,2,0.&amp;nbsp; The output shows the entire key.&amp;nbsp; It doesn&amp;#39;t look like a CBOR format &amp;quot;xxxxxxxx.xxxxxxx&amp;quot; at all.&amp;nbsp; It also writes the key into sec tag 11.&amp;nbsp; Did I miss something?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Floyd&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 KEYGEN AT Command Issue</title><link>https://devzone.nordicsemi.com/thread/382878?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 10:26:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:834167d3-1bb2-413e-ae89-0a9de02cff54</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you certain that you&amp;#39;re using mfw v1.3.1 on the device you&amp;#39;re testing with?&lt;/p&gt;
&lt;p&gt;You will need to run this sequence with mfw v1.3.x branch.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tested the serial_lte_modem, without any changes at all (I kept &amp;quot;&lt;span&gt;CONFIG_AT_MONITOR_HEAP_SIZE&amp;quot; to default 256 size)&lt;/span&gt;, and this was the output after issuing the AT command:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT%KEYGEN=16842753,2,0

%KEYGEN: &amp;quot;MIIBCTC..redacted_key&amp;quot;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried to issue the same with the &amp;quot;at_client&amp;quot; sample instead?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>