aboutsummaryrefslogtreecommitdiffstats
path: root/pySim/cards.py
diff options
context:
space:
mode:
Diffstat (limited to 'pySim/cards.py')
-rw-r--r--pySim/cards.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pySim/cards.py b/pySim/cards.py
index 23352a7..87367ef 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -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):