JavaCard Applet Development Related Questions and Answers.
-
Rasiand
- Posts: 12
- Joined: Mon Mar 14, 2016 8:25 am
- Points :133
-
Contact:
Post
by Rasiand » Wed Jul 05, 2017 3:16 am
I am using SCP01 with static key 40 41 42..4F to protect the READ BINARY APDU. And the external authentication is successful. But I always got error status word 6982 (Security condition not satisfied). Could anyone figure out the reason? Thank you.
Code: Select all
>> 80 50 00 00 08 00 00 00 00 00 00 00 00
<< 00 00 70 71 00 00 02 5B 00 00 FF 01 A0 0A 8C B5 F9 0C 4F 1B 10 90 AD D5 DC 71 B5 A3 90 00
>> 84 82 01 00 10 9A 03 1D 03 34 CC 7C 24 10 BF 87 05 D3 A2 93 C8
<< 90 00
>> 00 A4 02 0C 02 01 02
<< 90 00
>> 04 B0 00 00 08 A2 2C AC BB 79 64 95 1B
<< 69 82
-
mabel
- Posts: 237
- Joined: Mon May 18, 2015 3:09 am
- Points :1705
-
Contact:
Post
by mabel » Wed Jul 05, 2017 11:00 pm
The problem is your SELECT command is terminating the secure channel. So perform the select before the secure channel.
-
Rasiand
- Posts: 12
- Joined: Mon Mar 14, 2016 8:25 am
- Points :133
-
Contact:
Post
by Rasiand » Thu Jul 06, 2017 6:17 am
I have tried but it return with 6E00( Class not supported). I guess SELECT command is sent in plain outside the secure channel.
-
UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
-
Contact:
Post
by UNKNwYSHSA » Thu Jul 06, 2017 10:05 pm
1 Maybe you need the PIN verfied.
2 Maybe the command MAC is incorrect. Which tool are you using to send theses commands? The MAC of the READ BINARY command is calculated yourself?
sense and simplicity
Users browsing this forum: No registered users and 80 guests
JavaCard OS : Disclaimer
Board Disclaimer
The views and comments posted in these fora are personal and do not necessarily represent the those of the Management of JavaCard OS.
The Management of JavaCard OS does not, under any circumstances whatsoever, accept any responsibility for any advice, or recommentations, made by, or implied by, any member or guest vistor of JavaCard OS that results in any loss whatsoever in any manner to a member of JavaCard OS, or to any other person.
Furthermore, the Management of JavaCard OS is not, and cannot be, responsible for the content of any other Internet site(s) that have been linked to from JavaCard OS.