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.

Card always returns invalid INS

JavaCard Applet Development Related Questions and Answers.
coolgardie
Posts: 2
Joined: Wed Jun 30, 2021 2:51 pm
Points :26
Contact:

Card always returns invalid INS

Post by coolgardie » Wed Jun 30, 2021 3:07 pm

I was sending test commands to my applet on the card when it just stopped working.

The card returns SW 6D00 (Invalid INS) whenever I send a SELECT APDU or any other GP or ISO command.
If I use a CLA that's not GP or ISO it returns SW 6E00 (Invalid Class).

Code: Select all

A>> T=0 (4+0000) 80F20000 7F
A<< (0000+2) (18ms) 6D00
A>> T=0 (4+0000) 00A40400 00
A<< (0000+2) (10ms) 6D00
A>> T=0 (4+0000) 90000000 00
A<< (0000+2) (18ms) 6E00
JC version is 3.0.4
GP version is 2.3
Using https://github.com/martinpaljak/GlobalPlatformPro to send APDUs

Has anyone seen this before?

User avatar
Tolice
Posts: 40
Joined: Wed May 20, 2015 2:41 am
Points :254
Contact:

Re: Card always returns invalid INS

Post by Tolice » Sun Aug 01, 2021 9:28 pm

Maybe you need to check you card reader and your java card are connect successful, and the card is on the OP_READY status.

coolgardie
Posts: 2
Joined: Wed Jun 30, 2021 2:51 pm
Points :26
Contact:

Re: Card always returns invalid INS

Post by coolgardie » Wed Sep 01, 2021 2:48 pm

How would I check that the card is in the OP_READY status?

I don't think the card reader is the problem since it still works with other cards.

tay00000
Posts: 161
Joined: Tue Sep 27, 2016 10:58 am
Points :2324
Contact:

Re: Card always returns invalid INS

Post by tay00000 » Sat Sep 18, 2021 11:19 pm

Where do you get the card from ?

What is the brand and model of the card ?

Also, can you post the GP commands you issued with GlobalPlatformPro ?

Can you issue

Code: Select all

java -jar gp.jar -i
to get a printout of the information from GlobalPlatformPro ?

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 55 guests

JavaCard OS : Disclaimer