Excited to tell you that our welfare activity has been upgraded - Paying only $5.00 + Freight to get JCOP J3H145 card and A40CR card.
Please check this post for more details.

Moreover, if you want to get Free Samples by Paying Freight only , please check this page.

JCKit JAVACOS_1.0.5.36 released

Products Release

Moderators: product, kuafu

User avatar
product
Posts: 94
Joined: Wed May 20, 2015 2:04 am
Points :418
Contact:

JCKit JAVACOS_1.0.5.36 released

Post by product » Sat Sep 26, 2015 5:24 am

Greetings all,

We are pleased to announce the release of JCKit JAVACOS_1.0.5.36.

Compared with the previous version, this version fixed some bugs and add many new features.

New features include:
1. JCIDE: Based on the default card simulation, add IFD A40CR Card and eJava Token(coming soon in the store) simulation function.
2. JCIDE: Connect the real card via smart card reader to download the applet automatically and communicate with it.
3. JCIDE: Set multi-breakpoints during debugging.
4. JCIDE: Add the hot key "Ctrl+F10" to run to the current code line.
5. pyApdutool: Increase compatibility for supporting all versions of GP cards to download, install application operations.

Download Link:
    1. Click Here to download it from our forum.
    2. Download JCKit from Google Drive.

If you have any questions or comments, we'll be happy to address them in this Discussion.


- The JAVACOS Team

Dakal947
Posts: 2
Joined: Fri Nov 25, 2016 8:28 am
Points :44
Contact:

Re: JCKit JAVACOS_1.0.5.36 released

Post by Dakal947 » Fri Nov 25, 2016 8:32 am

Thanks for your comment. :)
Where can i config card auth parameters such as keys and key set for real card connection through card reader?

User avatar
product
Posts: 94
Joined: Wed May 20, 2015 2:04 am
Points :418
Contact:

Re: JCKit JAVACOS_1.0.5.36 released

Post by product » Sun Nov 27, 2016 11:19 pm

Hi,

We are so sorry to let you know that now there is no method to set card auth parameters in JCIDE. And also JCIDE cannot be used to debug real card.

We suggest you to set GP keys via pyApdutool and then do follow-up operations.

BR&Thanks

Amir2510
Posts: 1
Joined: Tue Nov 22, 2016 8:25 am
Points :12
Contact:

Re: JCKit JAVACOS_1.0.5.36 released

Post by Amir2510 » Mon Nov 28, 2016 5:50 am

Hi
Corresponding to line number 2 of new featured above, how we can config card options such as auth keys for applet upload and communications?
not for debug, exactly for real time apdu send and receive and so on...
:?:

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

Re: JCKit JAVACOS_1.0.5.36 released

Post by UNKNwYSHSA » Tue Nov 29, 2016 2:20 am

The JCIDE really do not support this function, you maybe need to wait for next version of JCKit.
But i have one method to do this.

Code: Select all

import os
import sys

if __name__ == "__main__":
    if len(sys.argv) < 3:
        print("Usage: ~ <jcide_path> <new_key_value>")
        exit(-1)
   
    # Get JCIDE path;
    exe_path = sys.argv[1]
    # Get new key value;
    new_key_value = sys.argv[2]
    if len(new_key_value) != 0x10 * 2:
        exit(-2)
   
    print("JCIDE path: " + exe_path);
    filesize = os.path.getsize(exe_path)
    exe_bin = ""
    with open(exe_path, 'rb') as exe_file:
        exe_bin = exe_file.read(filesize)
   
    # Replace default keys value to new values;
    exe_bin = exe_bin.replace("404142434445464748494A4B4C4D4E4F", new_key_value)
   
    # Create new JCIDE exe file;
    new_filename = "new_" + os.path.basename(exe_path)
    new_filepath = os.path.dirname(exe_path)
    new_exe_path = os.path.join(new_filepath, new_filename)
    with open(new_exe_path, 'wb') as exe_file:
        exe_file.write(exe_bin)
    print("New JCIDE.exe created at: " + new_exe_path)


Run in console:


New JCIDE exe file generated:


Now run new_jcide.exe, using new auth keys:

The auth key is "000102030405060708090A0B0C0D0E0F".

And you can download the py script file here.
You do not have the required permissions to view the files attached to this post. Please login first.
sense and simplicity

Dakal947
Posts: 2
Joined: Fri Nov 25, 2016 8:28 am
Points :44
Contact:

Re: JCKit JAVACOS_1.0.5.36 released

Post by Dakal947 » Sun Dec 04, 2016 4:21 am

nice method
thanks a lot

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

Re: JCKit JAVACOS_1.0.5.36 released

Post by UNKNwYSHSA » Sun Dec 04, 2016 7:00 am

:D
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer