<?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: SE051: Resuming SE (ECKey) session after GP_Select</title>
    <link>https://community.nxp.com/t5/Secure-Authentication/SE051-Resuming-SE-ECKey-session-after-GP-Select/m-p/1779184#M1468</link>
    <description>&lt;P&gt;Yes, of course, but that's quite slow because opening the session again takes a while. I was wondering if there is a way to preserve a session while communication with another applet.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Dec 2023 09:15:40 GMT</pubDate>
    <dc:creator>stefanct</dc:creator>
    <dc:date>2023-12-22T09:15:40Z</dc:date>
    <item>
      <title>SE051: Resuming SE (ECKey) session after GP_Select</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE051-Resuming-SE-ECKey-session-after-GP-Select/m-p/1778043#M1466</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on an application that is supposed to retrieve the OEF ID before interacting with the SEMS Lite and IoT applets.&lt;/P&gt;&lt;P&gt;I am using T1oI2C, SCP is mandatory and the communication with the IoT applet is using an ECKey session. That part works just fine, i.e. I can open up a platform session with SCP03 and use another session on top for ECKey and interact with the IoT applet. The problem is that these sessions get invalidated once I am issuing GP_Select calls as expected/documented (i.e., the session is closed implicitly when selecting another applet) to retrieve the OEF ID. The se05x_GetInfo demo elegantly works around this issue by simply ignoring it &lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;I am wondering if there is a better way to re-establish a session than tearing it down completely including all allocations etc. and basically starting all over. I have tried a few things but ran into various issues, for example, re-creating the ECKey session via sss_session_open/sss_session_auth_open/se05x_CreateECKeySession/nxECKey_ReadEckaPublicKey/nxECKey_StoreAttestationPublicKey/sss_openssl_key_object_allocate_handle eventually fails because it tries to add the ec pubkey to the openssl keystore again with the same ID as before and ks_common_update_fat bails out because of the collission.&lt;/P&gt;&lt;P&gt;So basically my main question is: What is the best way to switch between the various applets? Additionally, I'd be interested if there is a way to retrieve the OEF ID by some other means than GP_Select + GP INS 'CA' GET DATA(IDENTIFY) maybe directly from the IoT applet?&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 14:54:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE051-Resuming-SE-ECKey-session-after-GP-Select/m-p/1778043#M1466</guid>
      <dc:creator>stefanct</dc:creator>
      <dc:date>2023-12-20T14:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: SE051: Resuming SE (ECKey) session after GP_Select</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE051-Resuming-SE-ECKey-session-after-GP-Select/m-p/1779047#M1467</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223506"&gt;@stefanct&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually&amp;nbsp;&amp;nbsp;a GP select would interrupt the potential open sessions from other client as the IoT applet gets deselected. Maybe you have to close all the sessions before issuing this command to SE.&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>Fri, 22 Dec 2023 06:44:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE051-Resuming-SE-ECKey-session-after-GP-Select/m-p/1779047#M1467</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2023-12-22T06:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: SE051: Resuming SE (ECKey) session after GP_Select</title>
      <link>https://community.nxp.com/t5/Secure-Authentication/SE051-Resuming-SE-ECKey-session-after-GP-Select/m-p/1779184#M1468</link>
      <description>&lt;P&gt;Yes, of course, but that's quite slow because opening the session again takes a while. I was wondering if there is a way to preserve a session while communication with another applet.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 09:15:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Secure-Authentication/SE051-Resuming-SE-ECKey-session-after-GP-Select/m-p/1779184#M1468</guid>
      <dc:creator>stefanct</dc:creator>
      <dc:date>2023-12-22T09:15:40Z</dc:date>
    </item>
  </channel>
</rss>

