aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSupreeth Herle <herlesupreeth@gmail.com>2020-03-23 12:06:29 +0100
committerherlesupreeth <herlesupreeth@gmail.com>2020-09-15 15:56:31 +0200
commit8016405994cf64e6e6900285579e853e67c35727 (patch)
tree975043980cf8904edb0853811473e25ea15955b2
parent0f247f8766312c55741f6807027cb467ae364a26 (diff)
cards.py: Populate AIDs present in SysmoISIMSJA2 UICC
-rw-r--r--pySim/cards.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pySim/cards.py b/pySim/cards.py
index 2971d45..76d405b 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -1152,6 +1152,9 @@ class SysmoISIMSJA2(UsimCard):
r = self._scc.select_file(['3f00', '7f10'])
data, sw = self._scc.update_record('6f42', 1, lpad(p['smsp'], 104), force_len=True)
+ # Populate AIDs
+ self.read_aids()
+
# update EF-SIM_AUTH_KEY (and EF-USIM_AUTH_KEY_2G, which is
# hard linked to EF-USIM_AUTH_KEY)
self._scc.select_file(['3f00'])