Change in pysim[master]: pySim-shell: do not use usim/isim APDUs in the beginnning

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Mon Oct 18 12:37:39 UTC 2021


dexter has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/25804 )

Change subject: pySim-shell: do not use usim/isim APDUs in the beginnning
......................................................................


Patch Set 1:

> Patch Set 1:
> 
> (1 comment)
> 
> I am not sure this is the right way to go about this.
> 
> The Class 0x00 / 0x80 are _not_ a feature of the USIM/ISIM application (and their ADF), but a feature of the TS 102 221 UICC.  So if you have an UICC in front of you, then you can use those class values.
> 
> Only the classic SIM card will require you to use 0xA0.
> 
> I have also seen UICC/USIM cards that do _not_ have a SIM application and that hence will reject any A0 APDUs in the MF or anywhere else.  The reason is simple: IF an operator never had a 2G access network, he does not need the 2G SIM function.  Classic 2G phones will not even attempt to ever register as they will not even be able to read the SIM card.  You need at least a 3G phone to access the USIM on the UICC.
> 
> So I think the only reliable way to go about this is to try either way and then decide.

I am a bit confused by this. I have a LycaMobile sim here that starts up fine with 2G APDUs but does not allow UICC APDUs until I have selected at least ADF.USIM and I have to do the select of ADF.USIM also with UICC APDUs. I wonder how this works in real life. Maybe I should take some traces to learn how real phones figure this out.


-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/25804
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I985261a1bddae60ffeaccb9c8d8d1b8a2ae4d0fc
Gerrit-Change-Number: 25804
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Mon, 18 Oct 2021 12:37:39 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211018/6249ff95/attachment.htm>


More information about the gerrit-log mailing list