> On 17 Oct 2016, at 19:27, Ivaylo Kostov <[email protected]> wrote:
> 
>> ./pySim-read.py -p 0
>> Reading ...
>> Traceback (most recent call last):
>>  File "./pySim-read.py", line 90, in <module>
>>    (res, sw) = scc.read_binary(['3f00', '2fe2'])
>>  File "/home/wirelesss/net/pysim/pySim/commands.py", line 51, in read_binary
>>    r = self.select_file(ef)
>>  File "/home/wirelesss/net/pysim/pySim/commands.py", line 44, in select_file
>>    data, sw = self._tp.send_apdu_checksw(self.cla_byte + "a4000C02" + i)
>>  File "/home/wirelesss/net/pysim/pySim/transport/__init__.py", line 87, in 
>> send_apdu_checksw
>>    raise RuntimeError("SW match failed ! Expected %s and got %s." % 
>> (sw.lower(), rv[1]))
>> RuntimeError: SW match failed ! Expected 9000 and got 6b00.

I think master has issues with the GR1 card, e.g. try 
e9e5ecbe3068dae7e6e0959f22ed1855911dc892

holger

Reply via email to