Project

General

Profile

Bug #1919

issue with grcardsim from Greencard (grcard.cn)

Added by danyway over 1 year ago. Updated 12 months ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
01/15/2017
Due date:
% Done:

0%

Estimated time:
Spec Reference:

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.

History

#1 Updated by msuraev over 1 year ago

I think latest commits to pysim broke support for older cards. Give a try to e9e5ecbe3068dae7e6e0959f22ed1855911dc892 commit.

#2 Updated by danyway over 1 year 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

#3 Updated by laforge about 1 year ago

  • Project changed from Cellular Network Infrastructure to pySim

#4 Updated by laforge 12 months ago

  • Priority changed from Normal to Low

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)