Page 1 of 1

Card always returns invalid INS

Posted: Wed Jun 30, 2021 3:07 pm
by coolgardie
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?

Re: Card always returns invalid INS

Posted: Sun Aug 01, 2021 9:28 pm
by Tolice
Maybe you need to check you card reader and your java card are connect successful, and the card is on the OP_READY status.

Re: Card always returns invalid INS

Posted: Wed Sep 01, 2021 2:48 pm
by coolgardie
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.

Re: Card always returns invalid INS

Posted: Sat Sep 18, 2021 11:19 pm
by tay00000
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 ?