Hello!
I encountered a problem performing select for an installed applet. The applet is HelloWorld app from the Java Card SDK 2.2.1
If I understand correctly, I should select an applet (execute the select command) and then send an apdu command to the selected applet. After that, HelloWorld should return the payload of the received command in response.
I am using gpshell. The applet is installed on a physical card. get_status -element 20 returns the following:
When I try to execute select I get error 6108. (Also tried d00000006203010c01 - same result)
The sequence of commands to execute is as follows:
mode_211
enable_trace
set_context
card_connect
select -AID A000000003000000
open_sc -security 3 -scpimpl 0x15 -scp 2 -keyind 0 -key 404142434445464748494a4b4c4d4e4f -keyDerivation emvcps11
get_status -element 20
select -AID d00000006203010c
I'm just starting to work with Java Card, so maybe the problem is obvious. Thanks in advance!
PS: According to https://www.eftlab.com/knowledge-base/complete-list-of-apdu-responses code 6108 is not an error code(??) It is Info message (61 - SW1; 08 - number of bytes available - SW2 ). So why gpshell terminate connection?