Page 1 of 1

Trouble with GlobalPlatform Secure Connection

Posted: Sat Aug 10, 2019 4:38 pm
by OneUser
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
    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?