Bug #1919
openissue with grcardsim from Greencard (grcard.cn)
0%
Description
Hi,
I have have an issue with grcardsim from Greencard (grcard.cn)
when i do a :
./pySim-prog.py -p 0 -x 888 -y 01 -t grcardsim -n Mytest -i 888889600166383 -s 890042842000000 -o 6112XXXXXXXXXXXXXXXXXXX-k C55A0B653XXXXXXXXXXXXXXXXXXXXXXXXX
(please not that OPC and KI / IMSI are fake in my example)
I have this issue at the end of programming
Programming ...
Traceback (most recent call last):
File "./pySim-prog.py", line 626, in <module>
card.program(cp)
File "/mysim/pysim/pySim/cards.py", line 271, in program
self._scc.verify_chv(5, pin)
File "/mysim/pysim/pySim/commands.py", line 104, in verify_chv
return self._tp.send_apdu_checksw(self.cla_byte + '2000' + ('%02X' % chv_no) + '08' + fc)
File "/mysim/pysim/pySim/transport/__init__.py", line 87, in send_apdu_checksw
raise RuntimeError("SW match failed ! Expected %s and got %s." % (sw.lower(), rv1))
RuntimeError: SW match failed ! Expected 9000 and got 6b00.
Updated by msuraev over 7 years ago
I think latest commits to pysim broke support for older cards. Give a try to e9e5ecbe3068dae7e6e0959f22ed1855911dc892 commit.
Updated by danyway over 7 years ago
I try this one but it's always the same issue
Someone here able to write on grcardsim - Greencard (grcard.cn)
I have the sim adpu values from Greencard if it help
BR
Olivier
Updated by laforge almost 7 years ago
- Project changed from Cellular Network Infrastructure to pySim