WIP.. EF.auth changes

This commit is contained in:
Holger Hans Peter Freyther 2015-11-05 09:35:10 +01:00
parent 533a0dce3a
commit d56eb30eea
1 changed files with 5 additions and 1 deletions

View File

@ -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):