mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
WIP.. EF.auth changes
This commit is contained in:
@@ -454,10 +454,14 @@ class SysmoUSIMSJS1(Card):
|
||||
content = "01" + p['opc']
|
||||
data, sw = self._scc.update_binary('00F7', content)
|
||||
|
||||
|
||||
# write EF.IMSI
|
||||
data, sw = self._scc.update_binary('6f07', enc_imsi(p['imsi']))
|
||||
|
||||
# write EF.AUTH
|
||||
content = "0101"
|
||||
r = self._scc.select_file(['7FCC', '6f00'])
|
||||
data, sw = self._scc.update_binary('6f00', content)
|
||||
|
||||
|
||||
|
||||
def erase(self):
|
||||
|
||||
Reference in New Issue
Block a user