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.

Trouble with GlobalPlatform Secure Connection

Communication

Moderator: UNKNwYSHSA

OneUser
Posts: 1
Joined: Sat Aug 10, 2019 4:28 pm
Points :26
Contact:

Trouble with GlobalPlatform Secure Connection

Post by OneUser » Sat Aug 10, 2019 4:38 pm

I am trying to work with Gemalto sim card (JavaCard 3.0, GlobalPlatform 2.2.1),ATR=3B9F96C00A1FC68031E073FE211F65D00233131B810FFA. I can't create a secure channel regardless of the selected options .

Code: Select all

    select -AID A000000151000000
    Command --> 00A4040008A000000151000000
    Wrapped command --> 00A4040008A000000151000000
    Response <-- 6F7E8408A000000151000000A572736306072A864886FC6B01600B06092A864886FC6B020202630906072A864886FC6B03640B06092A864886FC6B048000640B06
    092A864886FC6B040255650E060C2A864886FC6B0506010000016616060A2B060104012A026E0103060847544F303034011C9F6E0600773136011C9F6501FF9000
    command time: 31 ms
    open_sc -scp 1 -scpimpl 0x55 -security 3 -keyind 0 -keyver 0 -key 404142434445464748494a4b4c4d4e4f
    Command --> 8050000008DD7D31C4F9E9D20D00
    Wrapped command --> 8050000008DD7D31C4F9E9D20D00
    Response <-- 6985
    mutual_authentication() returns 0x80206985 (6985: Command not allowed - Conditions of use not satisfied.)
What could be the problem?

andromeda92
Posts: 38
Joined: Tue Aug 18, 2020 6:08 pm
Points :320
Contact:

Re: Trouble with GlobalPlatform Secure Connection

Post by andromeda92 » Sun Sep 06, 2020 8:30 am

try this :

Code: Select all

open_sc -scp 2 -scpimpl 0x15 -security 1 -keyind 0 -keyver 1  -key 404142434445464748494a4b4c4d4e4f -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f // Open secure channel

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 22 guests

JavaCard OS : Disclaimer