laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/43976?usp=email )


Change subject: esim.saip: FilesAtMF lists EF.ICCID at 2FE2
......................................................................

esim.saip: FilesAtMF lists EF.ICCID at 2FE2

The FilesAtMF template declared EF.ICCID with file identifier 2F02.
EF.ICCID is 2FE2, as pySim's own EF_ICCID defines it. Correct the FID
and leave the rest of the row unchanged.

The folder osmocom-pysim-saip-implicit-template-ppath of
hampushellsberg-dev/PySIM-upstream-patches on GitHub has the analysis
and a repro.

Change-Id: Iac7725d421e80d990f3c07e9b5d70d2fa315333e
---
M pySim/esim/saip/templates.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/76/43976/1

diff --git a/pySim/esim/saip/templates.py b/pySim/esim/saip/templates.py
index 72ad26c..a7fe69e 100644
--- a/pySim/esim/saip/templates.py
+++ b/pySim/esim/saip/templates.py
@@ -231,7 +231,7 @@
     files = [
         FileTemplate(0x3f00, 'MF',           'MF', None, None,  14, None, 
None, None, params=['pinStatusTemplateDO']),
         FileTemplate(0x2f05, 'EF.PL',        'TR', None,    2,   1, 0x05, 
'FF...FF', None),
-        FileTemplate(0x2f02, 'EF.ICCID',     'TR', None,   10,  11, None, 
None, True),
+        FileTemplate(0x2fe2, 'EF.ICCID',     'TR', None,   10,  11, None, 
None, True),
         FileTemplate(0x2f00, 'EF.DIR',       'LF', None, None,  10, 0x1e, 
None, True, params=['nb_rec', 'size']),
         FileTemplate(0x2f06, 'EF.ARR',       'LF', None, None,  10, None, 
None, True, params=['nb_rec', 'size']),
         FileTemplate(0x2f08, 'EF.UMPC',      'TR', None,    5,  10, 0x08, 
None, False),

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/43976?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Iac7725d421e80d990f3c07e9b5d70d2fa315333e
Gerrit-Change-Number: 43976
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-CC: hampushellsberg <[email protected]>

Reply via email to