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/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Oct 15 18:21:14 UTC 2021


laforge 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:

(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.

https://gerrit.osmocom.org/c/pysim/+/25804/1//COMMIT_MSG 
Commit Message:

https://gerrit.osmocom.org/c/pysim/+/25804/1//COMMIT_MSG@14 
PS1, Line 14: 0x0A
0xA0



-- 
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: Fri, 15 Oct 2021 18:21:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211015/d75e9fd2/attachment.htm>


More information about the gerrit-log mailing list