Probleme mit pySim

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Freyther holger at freyther.de
Tue Oct 18 09:23:42 UTC 2016


> On 17 Oct 2016, at 19:27, Ivaylo Kostov <ikostov at sysmocom.de> 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


More information about the OpenBSC mailing list