JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

Questions about a script file for java card

JavaCard Applet Development Related Questions and Answers.
wousim
Posts: 14
Joined: Tue Feb 16, 2016 10:12 pm
Points :109
Contact:

Questions about a script file for java card

Post by wousim » Wed Feb 17, 2016 5:14 am

I download GPShell tool and I also found the following script file from web.

Code: Select all

mode_211
enable_trace
establish_context
card_connect
 
select -AID a00000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f
send_apdu -sc 1 -APDU 80F0800708A000000003000000
send_apdu -sc 1 -APDU 80F0800F08A000000003000000
card_disconnect
release_context


Q1: What is this script for ? to change ISD state from OP_READY to SECURED?

Q2: Is the operation of the above script reversible by another script?

Q3: What capability of my card lost in this new ISD's status?

User avatar
lostsiwonlw
Posts: 55
Joined: Fri Jul 31, 2015 9:09 pm
Points :358
Contact:

Re: Questions about a script file for java card

Post by lostsiwonlw » Fri Feb 19, 2016 5:11 am

Q1: What is this script for ? to change ISD state from OP_READY to SECURED?
A1: Yes! Your are right. The script is used to change ISD state from OP_READY to SECURED.


Q2: Is the operation of the above script reversible by another script?
A2: No. The change of state from SECURED to OP_READY is irreversible.

Q3: What capability of my card lost in this new ISD's status?
A3: The SECURED state is used to indicate that the ISD contains all necessary keys and security elements for full functionality.
No Secure communication is possible with the Security Level as "AUTHENTICATED" during the card state "SECURED". It means at least C-MAC is required to communicate securely with the card.
Searching for meaning...

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 47 guests

JavaCard OS : Disclaimer