bertrandmartel / aram-applet

JavaCard implementation of GlobalPlatform Access Rule Application Master Applet
MIT License
29 stars 23 forks source link

Ability to de-select ARA-M applet? #7

Closed laf0rge closed 2 years ago

laf0rge commented 2 years ago

When selecting the ARA-M applet via normal AID based selection, it seems one cannot leave it anymore? At least selecting the MF via "80a40004023f00" doesn't work as the applet doesn't provide an implementation of the SELECT (a4) command?

At least on the cards I'm testing with, SW=6D00 is returned (invalid instruction).

What is the intended way to de-select the ARA-M application after it has been selected?

laf0rge commented 2 years ago

nevermind, one can send a SELECT for another application on the card, and the JCRE will take care of selecting that other applet. No explicit suport needed in the ARA-M applet (or any applet)

laf0rge commented 2 years ago

context: https://osmocom.org/issues/5418