martinpaljak/vJCRE

Unable to test the ouput of a select applet command

Opened this issue · 0 comments

The tool is very good.
However it is difficult to test functions involving selectingApplet() returning true except doing test with a hardcoded value of "true". Hopefully, this is case only for the first function called.

Indeed, selectingApplet() returns false every time and I wasn't able to call the overwrite of the select function of the applet.
Seems to be a FIXME:

protected final boolean selectingApplet() {
return false; // FIXME
}

Maybe modify the "selectApplet" or "install" function to call the select function of the applet, set selectingApplet to return true and issue a SELECT APDU before setting selectingApplet to false