Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Secure Messaging

JavaCard Applet Development Related Questions and Answers.
Rasiand
Posts: 12
Joined: Mon Mar 14, 2016 8:25 am
Points :133
Contact:

Secure Messaging

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


User avatar
mabel
Posts: 237
Joined: Mon May 18, 2015 3:09 am
Points :1705
Contact:

Re: Secure Messaging

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:

Re: Secure Messaging

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.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: Secure Messaging

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

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 36 guests

JavaCard OS : Disclaimer