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.

Create personlization to java card

JavaCard Applet Development Related Questions and Answers.
yasergh74
Posts: 10
Joined: Tue Oct 18, 2016 3:33 pm
Points :114
Contact:

Create personlization to java card

Post by yasergh74 » Tue Oct 18, 2016 3:40 pm

Hi
I have java card type j2a80 when i try to download cap file i will recived response A682 file not find when i check the card by gpshell i found was not made personalization so how can i do that
Best regards

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

Re: Create personlization to java card

Post by UNKNwYSHSA » Tue Oct 18, 2016 10:01 pm

Please show us the full logs generated by gpshell.
sense and simplicity

yasergh74
Posts: 10
Joined: Tue Oct 18, 2016 3:33 pm
Points :114
Contact:

Re: Create personlization to java card

Post by yasergh74 » Wed Oct 19, 2016 3:33 am

Hi ,

mode_211
enable_trace
establish_context
card_connect
select -AID a000000003000000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
install -file HelloWorld.cap -nvDataLimit 2000 -instParam 00 -priv 2
card_disconnect
release_context

Result :

mode_211
enable_trace
establish_context
card_connect
select -AID a000000003000000
Command --> 00A4040008A000000003000000
Wrapped command --> 00A4040008A000000003000000
Response <-- 6A82
select_application() returns 0x80216A82 (6A82: The application to be selected could not be found.)

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

Re: Create personlization to java card

Post by UNKNwYSHSA » Wed Oct 19, 2016 3:59 am

Send select command without AID: 00A4040000.
And give us the response.
(The response data contains AID of the ISD).
sense and simplicity

yasergh74
Posts: 10
Joined: Tue Oct 18, 2016 3:33 pm
Points :114
Contact:

Re: Create personlization to java card

Post by yasergh74 » Wed Oct 19, 2016 4:58 am

mode_211
enable_trace
establish_context
card_connect
open_sc -security 1 -keyind 0 -keyver 0 -mac_key FB03D7FF6A8FF4349A8ED9FB9E2BDBDC -enc_key FB03D7FF6A8FF4349A8ED9FB9E2BDBDC // Open secure channel
Command --> 80CA006600
Wrapped command --> 80CA006600
Response <-- 6985
GP211_get_secure_channel_protocol_details() returns 0x80206985 (6985: Command not allowed - Conditions of use not satisfied.)

yasergh74
Posts: 10
Joined: Tue Oct 18, 2016 3:33 pm
Points :114
Contact:

Re: Create personlization to java card

Post by yasergh74 » Wed Oct 19, 2016 5:15 am

How can initialize the card ?

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

Re: Create personlization to java card

Post by UNKNwYSHSA » Wed Oct 19, 2016 5:36 am

Set argument -scp and -scpimpl, because gpshell can't get these datas from the card.
sense and simplicity

yasergh74
Posts: 10
Joined: Tue Oct 18, 2016 3:33 pm
Points :114
Contact:

Re: Create personlization to java card

Post by yasergh74 » Wed Oct 19, 2016 5:56 am

The same problem

mode_211
enable_trace
establish_context
card_connect
open_sc -scp -scpimpl -security 1 -keyind 0 -keyver 0 -mac_key FB03D7FF6A8FF4349A8ED9FB9E2BDBDC -enc_key FB03D7FF6A8FF4349A8ED9FB9E2BDBDC // Open secure channel
Command --> 80CA006600
Wrapped command --> 80CA006600
Response <-- 6985
GP211_get_secure_channel_protocol_details() returns 0x80206985 (6985: Command not allowed - Conditions of use not satisfied.)

My dear the card it not initialized how can initialized can you send me the script ?

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

Re: Create personlization to java card

Post by UNKNwYSHSA » Wed Oct 19, 2016 6:01 am

Code: Select all

open_sc -scp -scpimpl -security 1 -keyind 0 -keyver 0 -mac_key FB03D7FF6A8FF4349A8ED9FB9E2BDBDC -enc_key FB03D7FF6A8FF4349A8ED9FB9E2BDBDC // Open secure channel


====>>>>

Code: Select all

open_sc -scp 2 -scpimpl 15 -security 1 -keyind 0 -keyver 0 -mac_key FB03D7FF6A8FF4349A8ED9FB9E2BDBDC -enc_key FB03D7FF6A8FF4349A8ED9FB9E2BDBDC // Open secure channel

And have a try.
sense and simplicity

yasergh74
Posts: 10
Joined: Tue Oct 18, 2016 3:33 pm
Points :114
Contact:

Re: Create personlization to java card

Post by yasergh74 » Wed Oct 19, 2016 6:05 am

mode_211
enable_trace
establish_context
card_connect
open_sc -scp 2 -scpimpl 15 -security 1 -keyind 0 -keyver 0 -mac_key FB03D7FF6A8FF4349A8ED9FB9E2BDBDC -enc_key FB03D7FF6A8FF4349A8ED9FB9E2BDBDC // Open secure channel
Command --> 805000000850319C570507ADD700
Wrapped command --> 805000000850319C570507ADD700
Response <-- 6985
mutual_authentication() returns 0x80206985 (6985: Command not allowed - Conditions of use not satisfied.)

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 10 guests

JavaCard OS : Disclaimer