mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
This introduces a new pySim.apdu module hierarchy, which contains
classes that represent TPDU/APDUs as exchanged between
SIM/UICC/USIM/ISIM card and UE.
It contains instruction level decoders for SELECT, READ BINARY and
friends, and then uses the pySim.filesystem.Runtime{Lchan,State} classes
to keep track of the currently selected EF/DF/ADF for each logical
channel, and uses the file-specific decoder classes of pySim to decode
the actual file content that is being read or written.
This provides a much more meaningful decode of protocol traces than
wireshark will ever be able to give us.
Furthermore, there's the new pySim.apdu_source set of classes which
provides "input plugins" for obtaining APDU traces in a variety of
formats. So far, GSMTAP UDP live capture and pyshark based RSPRO
live and pcap file reading are imlpemented.
Change-Id: I862d93163d495a294364168f7818641e47b18c0a
Closes: OS#5126
29 lines
635 B
Python
29 lines
635 B
Python
from setuptools import setup
|
|
|
|
setup(
|
|
name='pySim',
|
|
version='1.0',
|
|
packages=['pySim', 'pySim.transport'],
|
|
url='https://osmocom.org/projects/pysim/wiki',
|
|
license='GPLv2',
|
|
author_email='simtrace@lists.osmocom.org',
|
|
description='Tools related to SIM/USIM/ISIM cards',
|
|
install_requires=[
|
|
"pyscard",
|
|
"serial",
|
|
"pytlv",
|
|
"cmd2 >= 1.3.0, < 2.0.0",
|
|
"jsonpath-ng",
|
|
"construct >= 2.9",
|
|
"bidict",
|
|
"gsm0338",
|
|
"termcolor",
|
|
"colorlog"
|
|
],
|
|
scripts=[
|
|
'pySim-prog.py',
|
|
'pySim-read.py',
|
|
'pySim-shell.py'
|
|
]
|
|
)
|