Project

General

Profile

Actions

Bug #1919

open

issue with grcardsim from Greencard (grcard.cn)

Added by danyway about 7 years ago. Updated over 6 years ago.

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

0%

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.

Actions #1

Updated by msuraev about 7 years ago

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

Actions #2

Updated by danyway about 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

Actions #3

Updated by laforge over 6 years ago

  • Project changed from Cellular Network Infrastructure to pySim
Actions #4

Updated by laforge over 6 years ago

  • Priority changed from Normal to Low
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)