Installing applet in javacard

前端 未结 3 1249
野的像风
野的像风 2021-02-15 22:38

I made a .cap file of the popular \"Hello World\" javacard code via Eclipse

And now I want to load it in a real javacard via GPShell and ACR38 smart card reader.

<
相关标签:
3条回答
  • 2021-02-15 23:00

    Response code 6A 82 is used for Security_Status_Not_Satisfied.

    On selection of Security Domain, this status word may occur due to one of following two reasons :

    • Either Card Life Cycle State (CLCS) of Card is LOCKED or TERMINATED, so the selection of Security Domain is not allowed, because if the CLCS is LOCKED then only that security domain and/or application can be selected which has Card Lock privilege, and if CLCS is TERMINATED then if a Security Domain has the Final Application privilege only the GET DATA command shall be processed, all other commands shall be disabled and shall return an error.If the CLCS is LOCKED then try to select that security domain and/or application which has Card Lock privilege and try to move Card Life Cycle State (CLCS) to SECURED using SETSTATUS command with the help of SCP session,otherwise if CLCS is TERMINATED then CLCS can't switch back to SECURED, as this state is irreversible.

    • OR the Security Domain, which you try to select is itself in LOCKED state, in this case that Security Domain may be prevented from further selection by the OPEN and error status word is returned.

    @CLCS - Card Life Cycle State.

    Happy to Help.

    0 讨论(0)
  • 2021-02-15 23:08

    the Card Manager AID shows that it is a Gemalto XPresso Card. the default cards for this card is 47454d5850524553534f53414d504c45 try to set those keys. in case it does not work the card has changed CM Keys or the Card might be locked beware that trying to authenticate too often with wrong keys might lock the card

    0 讨论(0)
  • 2021-02-15 23:17

    You should require about the Global Platform state of the card. 6982 is a general status word that means "Security status not satisfied", so your card may be in the wrong state (e.g. the Global Platform LOCKED or TERMINATED state).

    It could also be that you are using an invalid Global Platform key set, or that the keys are not available.

    Please contact the supplier of the smart card about the card state and which keys you should use.

    0 讨论(0)
提交回复
热议问题