Hello Vadim,
Is there a specific reason to write your own code for
that?
I was told that the OSS shadysim.py is a raw version, moreover
there are bytes in strings that are not explained in comments etc.
I wanted to understand every byte I need to send, reading specs,
so I've managed to write this script, APDUs are same as in shadysim.py,
except the encryption part as my SPI, KIC, KID are different from sysmoUSIM-J2.
I will try again, thanks.
Last time I was stuck at --key-enc (KIC1),
--key-mac (KID1),
params are not taken and default keys are used for some reason.
Generally, I chose initially applet installation via SMS-DELIVER, AFAIK,
GP is a different approach.
Another question please:
- If I have already installed USIM applet on SIM card, and I want to
install another one,
will it be a conflict? As EF_DIR needs to be updated probably? Or last
SELECTed AID
is saved on UICC (per specification) and it will "replace" the older
applet, or should I
DELETE the original one?
Thanks
On Mon, Jan 24, 2022 at 5:59 PM Vadim Yanitskiy <vyanitskiy(a)sysmocom.de> wrote:
>
> Hi Sabyrzhan,
>
> AFAIU, in your script you're using the GlobalPlatform API to manage
> cardlets. Is there a specific reason to write your own code for that?
>
> Best regards,
> Vadim.
>
> --
> - Vadim Yanitskiy <vyanitskiy at sysmocom.de>
http://www.sysmocom.de/
> =======================================================================
> * sysmocom - systems for mobile communications GmbH
> * Alt-Moabit 93
> * 10559 Berlin, Germany
> * Sitz / Registered office: Berlin, HRB 134158 B
> * Geschaeftsfuehrer / Managing Director: Harald Welte
--
Sabr