<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Secure AuthenticationのトピックRe: SE050 - How generate a RSA reference key</title>
    <link>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1731865#M1370</link>
    <description>&lt;P&gt;Good morning&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, we are using the&amp;nbsp;&lt;SPAN&gt;NXP OpenSSL Engine:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[root@ABB-8C-1F-64-CF-3C-18 src]# openssl engine -t&lt;BR /&gt;(dynamic) Dynamic engine loading support&lt;BR /&gt;[ unavailable ]&lt;BR /&gt;(e4sss) se hardware engine support&lt;BR /&gt;[ available ]&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I just tried the ssscli tool and works perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Cristiane Bellenzier Piaia&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2023 07:59:01 GMT</pubDate>
    <dc:creator>CristianeBP</dc:creator>
    <dc:date>2023-09-29T07:59:01Z</dc:date>
    <item>
      <title>SE050 - How generate a RSA reference key</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1729462#M1365</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I am able to generate a RSA key pair&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;with success&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;But now I need to access my key pair by the reference key.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Through the seTool demo code I can see the generatation of an ECC reference key.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;need the same thing but to RSA in C. Where I can found this example?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Cristiane Bellenzier Piaia&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 06:59:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1729462#M1365</guid>
      <dc:creator>CristianeBP</dc:creator>
      <dc:date>2023-09-26T06:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - How generate a RSA reference key</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1730070#M1366</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221468"&gt;@CristianeBP&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please kindly have the updated version of seTool as attached. Please also refer to t&lt;SPAN&gt;he attached .txt for more detailed description.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 03:03:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1730070#M1366</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2023-09-27T03:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - How generate a RSA reference key</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1730594#M1367</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;I tried the code sent by you but I think something doesn’t work properly.&lt;/P&gt;&lt;P&gt;First of all, when I tried to generate a reference key, there is no validation that the key pair already exists, so a reference key is generated&amp;nbsp;even if the pair of keys does not exist.&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;When I tried to use the reference key to validate a CSR, the verification fails.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Commands used to test:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;#seTool genRsa 2048 0x00000020 /dev/i2c-1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;#seTool getRsaRef 2048 0x00000020 server.key /dev/i2c-1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;#openssl req -config device.cnf -key server.key -new -sha256 -out server.csr -batch&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;#openssl req -text -noout -verify -in server.csr&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;verify failure&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;But when I tried the same thing using just openssl everthing works fine.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;#openssl genrsa -out server2.key 2048&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;#openssl req -config device.cnf -key server2.key -new -sha256 -out server2.csr -batch&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;#openssl req -text -noout -verify -in server2.csr&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;verify OK&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When I compare the piece of code used to generate the RSA reference key with the code used to generate the ECC reference key, the ECC uses it's public key, but not in the RSA. Also in the python code used to generate the RSA reference key uses the public key (generate_openssl_rsa_refkey - pycli/src/sss/util.py). I think this part is missing.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Cristiane Bellenzier Piaia&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 14:14:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1730594#M1367</guid>
      <dc:creator>CristianeBP</dc:creator>
      <dc:date>2023-09-27T14:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - How generate a RSA reference key</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1731336#M1369</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221468"&gt;@CristianeBP&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using the NXP OpenSSL Engine or Provider? Would you please&amp;nbsp;try to use the ssscli tool for the same sequence? Thanks for your patience!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 14:25:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1731336#M1369</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2023-09-28T14:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - How generate a RSA reference key</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1731865#M1370</link>
      <description>&lt;P&gt;Good morning&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, we are using the&amp;nbsp;&lt;SPAN&gt;NXP OpenSSL Engine:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[root@ABB-8C-1F-64-CF-3C-18 src]# openssl engine -t&lt;BR /&gt;(dynamic) Dynamic engine loading support&lt;BR /&gt;[ unavailable ]&lt;BR /&gt;(e4sss) se hardware engine support&lt;BR /&gt;[ available ]&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I just tried the ssscli tool and works perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Cristiane Bellenzier Piaia&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 07:59:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1731865#M1370</guid>
      <dc:creator>CristianeBP</dc:creator>
      <dc:date>2023-09-29T07:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - How generate a RSA reference key</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1732643#M1371</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59276"&gt;@Kan_Li&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any news? We would not like to use python for this scope.&lt;/P&gt;&lt;P&gt;Thanks in advance, again.&lt;/P&gt;&lt;P&gt;Cristiane Bellenzier Piaia&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 15:30:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1732643#M1371</guid>
      <dc:creator>CristianeBP</dc:creator>
      <dc:date>2023-10-02T15:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - How generate a RSA reference key</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1738832#M1379</link>
      <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221468"&gt;@CristianeBP&lt;/a&gt;,&lt;BR /&gt;NXP has escalated your questions to our internal Level 2 support team. We will reply to you soon.&lt;BR /&gt;cheers&lt;BR /&gt;Rodolfo</description>
      <pubDate>Thu, 12 Oct 2023 17:16:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1738832#M1379</guid>
      <dc:creator>rodolfoveltrigo</dc:creator>
      <dc:date>2023-10-12T17:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - How generate a RSA reference key</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1739825#M1382</link>
      <description>&lt;P&gt;Hello Cristiane, All,&lt;/P&gt;
&lt;P&gt;Please find attached latest seTool.&amp;nbsp;Following sequecne should work:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;./seTool genRsa 2048 0x00000020 /dev/i2c-1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;./seTool getRsaRef 2048 0x00000020 server.key /dev/i2c-1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;export OPENSSL_CONF=~/se_mw_04.03.01/simw-top/demos/linux/common/openssl11_sss_se050.cnf&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;openssl req -config device.cnf -key server.key -new -sha256 -out server.csr -batch&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;openssl req -text -noout -verify -in server.csr&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;./seTool getRsaPublic 2048 0x00000020 PubRsaKey.pem none&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Mehdi&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2023 07:26:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1739825#M1382</guid>
      <dc:creator>MehdiSOUMHI</dc:creator>
      <dc:date>2023-10-15T07:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - How generate a RSA reference key</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1740134#M1386</link>
      <description>Thanks, I just tested and works perfectly.</description>
      <pubDate>Mon, 16 Oct 2023 07:20:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1740134#M1386</guid>
      <dc:creator>CristianeBP</dc:creator>
      <dc:date>2023-10-16T07:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: SE050 - How generate a RSA reference key</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1741265#M1395</link>
      <description>Just repeating the suggestion from CAS2:&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;./seTool genRsa 2048 0x00000020 /dev/i2c-1&lt;BR /&gt;&lt;BR /&gt;./seTool getRsaRef 2048 0x00000020 server.key /dev/i2c-1&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;export OPENSSL_CONF=~/se_mw_04.03.01/simw-top/demos/linux/common/openssl11_sss_se050.cnf&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;openssl req -config device.cnf -key server.key -new -sha256 -out server.csr -batch&lt;BR /&gt;&lt;BR /&gt;openssl req -text -noout -verify -in server.csr&lt;BR /&gt;&lt;BR /&gt;./seTool getRsaPublic 2048 0x00000020 PubRsaKey.pem none</description>
      <pubDate>Tue, 17 Oct 2023 11:10:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE050-How-generate-a-RSA-reference-key/m-p/1741265#M1395</guid>
      <dc:creator>rodolfoveltrigo</dc:creator>
      <dc:date>2023-10-17T11:10:58Z</dc:date>
    </item>
  </channel>
</rss>

