<?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>topic ReadObject and verifySessionUserID command not working in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021381#M8654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am using NXP SE050 smartcard with kinetics K64 evaluation board.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I have tested various commands from NXP APDUSpecifications document. But I am having problem with policies and sessions.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I have created a new User session, and created a binary file in this session with read policies, but when I try to read that file,&amp;nbsp;it is giving the error "command not allowed".&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Is there any thing extra that needs to be added in the ReadObject command while trying to read the binary file with read policy?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Further, I am not able to verify the session with verifySessionUserID command after creating a new User Session, it gives&amp;nbsp;the error "Conditions not satisfied".&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I don't know is there something that I am missing in writing these command APDUs Or there are some additional APDUs that I need to send before sending above mentioned commands or APDUs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2019 11:33:42 GMT</pubDate>
    <dc:creator>priyanka_priyad</dc:creator>
    <dc:date>2019-11-21T11:33:42Z</dc:date>
    <item>
      <title>ReadObject and verifySessionUserID command not working</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021381#M8654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am using NXP SE050 smartcard with kinetics K64 evaluation board.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I have tested various commands from NXP APDUSpecifications document. But I am having problem with policies and sessions.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I have created a new User session, and created a binary file in this session with read policies, but when I try to read that file,&amp;nbsp;it is giving the error "command not allowed".&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Is there any thing extra that needs to be added in the ReadObject command while trying to read the binary file with read policy?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Further, I am not able to verify the session with verifySessionUserID command after creating a new User Session, it gives&amp;nbsp;the error "Conditions not satisfied".&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I don't know is there something that I am missing in writing these command APDUs Or there are some additional APDUs that I need to send before sending above mentioned commands or APDUs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 11:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021381#M8654</guid>
      <dc:creator>priyanka_priyad</dc:creator>
      <dc:date>2019-11-21T11:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: ReadObject and verifySessionUserID command not working</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021382#M8655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please give more details on your implementation? Thanks for your patience!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&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;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 07:09:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021382#M8655</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-11-25T07:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: ReadObject and verifySessionUserID command not working</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021383#M8656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I am using &lt;STRONG&gt;Plug &amp;amp; Trust Middleware&lt;/STRONG&gt; toolchain with &lt;STRONG&gt;Kinetics K64&lt;/STRONG&gt; evaluation board and OM &lt;STRONG&gt;se050 smartcard&lt;/STRONG&gt; evaluation board.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;And I am sending APDUs using&lt;STRONG&gt; APDU player&lt;/STRONG&gt; which is a compiler present in the &lt;STRONG&gt;se05_middleware&lt;/STRONG&gt; folder from NXP.&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I have created an &lt;STRONG&gt;Authentication object(UserID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #51626f; font-size: 14px; "&gt;APDU: 804107000E1202000341040F7FFFFF42020FFE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #51626f; font-size: 14px; "&gt;CLA: 80 INS: 41, P1: 07, P2: 00&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82085iD3E90C368BBF0E7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_10.png" alt="pastedImage_10.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;and then created a session using this &lt;STRONG&gt;user ID&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #51626f; font-size: 14px; "&gt;APDU: 8004001B0641040F7FFFFF0A&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #51626f; font-size: 14px; "&gt;CLA: 80 INS: 04, P1: 00, P2: 1B&amp;nbsp;&lt;/STRONG&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_11.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/83811iC5D1BDD8E0CBC407/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Now, when I want to open this session using &lt;STRONG&gt;VerifySessionUserID&lt;/STRONG&gt; command&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #51626f; font-size: 14px; "&gt;APDU: 8005000015100801F144DFECE5FD8E41098004002C0441020FFE00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #51626f; font-size: 14px; "&gt;&lt;STRONG style="color: #3d3d3d;"&gt;CLA: 80 INS: 05, P1: 00, P2: 00&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Note: I have wrapped&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; : ; color: #51626f; font-weight: 400; font-size: 14px; "&gt;&lt;STRONG&gt;VerifySessionUserID&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt; command in &lt;STRONG&gt;ProcessSessionCmd &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: 400; font-size: 14px; "&gt;command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; : ; color: #51626f; font-weight: 400; font-size: 14px; "&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; : ; color: #51626f; font-weight: 400; font-size: 14px; "&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_13.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82355i90F46C016F86475D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_13.png" alt="pastedImage_13.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #51626f; font-size: 14px; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_12.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82931i48F5DC612A9EA194/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_12.png" alt="pastedImage_12.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;it gives me error&lt;STRONG&gt; 'SW_CONDITIONS_NOT_SATISFIED'.&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I don't understand why am I getting this error when I am writing the correct &lt;STRONG&gt;UserID value&lt;/STRONG&gt;&amp;nbsp;and also the correct &lt;STRONG&gt;auth object ID&lt;/STRONG&gt;&amp;nbsp;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Because as explained in the document, we get this error only when our userID is not correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Priyanka&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 08:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021383#M8656</guid>
      <dc:creator>priyanka_priyad</dc:creator>
      <dc:date>2019-11-25T08:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: ReadObject and verifySessionUserID command not working</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021384#M8657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cause is due to you use &lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;STRONG&gt;APDU player&lt;/STRONG&gt;&lt;/SPAN&gt; to launch CreateSession and VerifySession separately. That would make the session id you got from CreateSession&amp;nbsp; became invalid when you start a new apdu player to run the VerifySession command. but if you run VerifySession right after CreateSession within the same &lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;STRONG&gt;APDU player&lt;/STRONG&gt;&lt;/SPAN&gt; demo, the device returns 9000.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94407iA08C1C737280150D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For test purpose, I updated the session id info in the apdu player demo as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94463i103E352C064F7ABD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&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;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 07:20:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021384#M8657</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-11-27T07:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: ReadObject and verifySessionUserID command not working</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021385#M8658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question here:&lt;/P&gt;&lt;P&gt;The first command (&lt;STRONG&gt;createSession&lt;/STRONG&gt;) that you are executing, is giving 8-byte session ID in response (&lt;STRONG&gt;01AE6F94E279C8A0&lt;/STRONG&gt;). But in the next (&lt;STRONG&gt;verifySessionUserID&lt;/STRONG&gt; command) you are putting the &lt;STRONG&gt;session&lt;/STRONG&gt; &lt;STRONG&gt;ID&lt;/STRONG&gt; that i used in the example I sent you in my first question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I also tried adding the above code lines in my &lt;STRONG&gt;apdu_player.c&lt;/STRONG&gt; file but it is giving the error (&lt;STRONG&gt;identifier session_id is undefined&lt;/STRONG&gt;). From where I can get this &lt;STRONG&gt;session_id&lt;/STRONG&gt;? Is this the &lt;STRONG&gt;session_id&lt;/STRONG&gt; from the response of the &lt;STRONG&gt;createSession&lt;/STRONG&gt; command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 10:16:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021385#M8658</guid>
      <dc:creator>priyanka_priyad</dc:creator>
      <dc:date>2019-11-27T10:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: ReadObject and verifySessionUserID command not working</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021386#M8659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The session ID put in &lt;STRONG&gt;verifySessionUserID&lt;/STRONG&gt; command is just for dummy purpose, the 8-byte session ID in response (&lt;STRONG&gt;01AE6F94E279C8A0&lt;/STRONG&gt;) is the really session ID I got in that test, so before launching &lt;STRONG&gt;verifySessionUserID&lt;/STRONG&gt; command, I replaced the dummy session ID with the one I got from the response of &lt;STRONG&gt;createSession&lt;/STRONG&gt; command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the attachment for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&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;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 06:00:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/ReadObject-and-verifySessionUserID-command-not-working/m-p/1021386#M8659</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-11-28T06:00:50Z</dc:date>
    </item>
  </channel>
</rss>

