Page 1 of 1

JCKit JAVACOS_1.0.5.36 released

Posted: Sat Sep 26, 2015 5:24 am
by product
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

Re: JCKit JAVACOS_1.0.5.36 released

Posted: Fri Nov 25, 2016 8:32 am
by Dakal947
Thanks for your comment. :)
Where can i config card auth parameters such as keys and key set for real card connection through card reader?

Re: JCKit JAVACOS_1.0.5.36 released

Posted: Sun Nov 27, 2016 11:19 pm
by product
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

Re: JCKit JAVACOS_1.0.5.36 released

Posted: Mon Nov 28, 2016 5:50 am
by Amir2510
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...
:?:

Re: JCKit JAVACOS_1.0.5.36 released

Posted: Tue Nov 29, 2016 2:20 am
by UNKNwYSHSA
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.

Re: JCKit JAVACOS_1.0.5.36 released

Posted: Sun Dec 04, 2016 4:21 am
by Dakal947
nice method
thanks a lot

Re: JCKit JAVACOS_1.0.5.36 released

Posted: Sun Dec 04, 2016 7:00 am
by UNKNwYSHSA
:D