cards.py: Populate AIDs present in SysmoISIMSJA2 UICC

Change-Id: I5f00aa9b03b41818aaa95291fe6c1e525bb0571f
This commit is contained in:
Supreeth Herle 2020-03-23 12:06:29 +01:00 committed by herlesupreeth
parent 0f247f8766
commit 8016405994
1 changed files with 3 additions and 0 deletions

View File

@ -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'])