aboutsummaryrefslogtreecommitdiffstats
path: root/pySim/cards.py
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-11-05 09:35:10 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-11-05 09:35:10 +0100
commitd56eb30eea2400a534d4533f9d238cae42263923 (patch)
treee2e6aa9eb663cf8f55d597656011d8c3c2c35f10 /pySim/cards.py
parent533a0dce3a48480f530798d4fce35ff779e870b6 (diff)
WIP.. EF.auth changeszecke/tmp2
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):