This website requires JavaScript.
Explore
Redmine
Gerrit
Lists
Help
Register
Sign In
sim-card
/
pysim
mirror of
https://gerrit.osmocom.org/pysim
Watch
10
Star
0
Fork
You've already forked pysim
1
Code
Issues
Releases
Wiki
Activity
cab26c728c
pysim
/
requirements.txt
12 lines
101 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Check in requirements.txt to simplify installing dependencies Change-Id: I88db5e8a661fb3ddc72b7d423a878c0143353d3e
2021-03-12 14:45:17 +00:00
pyscard
fix invalid dependency * serial is according to pypi: "A framework for serializing/deserializing JSON/YAML/XML into python class instances and vice versa" Change-Id: I154276fbadd70f6be94ba7d99e61f7e9eedbeb33
2021-09-10 12:57:28 +00:00
pyserial
Check in requirements.txt to simplify installing dependencies Change-Id: I88db5e8a661fb3ddc72b7d423a878c0143353d3e
2021-03-12 14:45:17 +00:00
pytlv
cmd2: Constrain version to >= 1.3.0 but < 2.0.0 2.0.0 introduces several incompatible changes, see https://github.com/python-cmd2/cmd2/blob/master/CHANGELOG.md as well as https://github.com/python-cmd2/cmd2/issues/1120 As we want to be able to use what distributions ship, let's stay with 1.x for now. If piip is used, use 1.5 Change-Id: Iecc953269d5ae9ed9f31b829743c63bdfd29fa61
2021-06-11 21:45:26 +00:00
cmd2==1.5
pySim-shell: JSONpath support for updating files/records Change-Id: Iad09b3d878b8b58ad34cb549c80f8a6eb3149faa
2021-04-06 22:14:40 +00:00
jsonpath-ng
integrate 'construct' python library 'construct' is a declarative symmetric encoder/decoder for user specified binary formats. It should come in extremely handy in tools like pySim. We start the integration by adding transport methods for transceiving APDUs with built-in encoding of the command data and decoding of the response data. Change-Id: Ibf457aa8b9480a8db5979defcfafd67674303f6c
2021-04-10 15:22:35 +00:00
construct
Implement EF.ARR (Access Rule Reference) decoding The Access Mode (AM) and Security Condition (SC) DOs are incredibly convoluted, so we need a lot of code to properly decode them. Change-Id: If4f0725a849d41fd93de327ed00996d8179f2b0e
2021-05-02 19:29:04 +00:00
bidict
Add codecs for EF_SPN and GSM strings via construct This will replace the hand-crafted codec for EF_SPN by a struct definition using the construct library. Old encoders are updated and kept for API compatibility but are not used internally anymore. New data structures: * Rpad(Adapter): Right-padded bytestring (0xff, adjustable) * GsmStringAdapter(Adapter): Codec for "SMS default 7-bit coded alphabet as defined int TS 23.038" using the gsm0338 library. * GsmString(n): Convenient wrapper of both above Adjustments: * utils: update+deprecate old dec_spn(), enc_spn() * remove refs to deprecated functions Change-Id: Ia1d3a3835933bac0002b7c52511481dd8094b994
2021-05-07 13:23:20 +00:00
gsm0338
update pyyaml dependency to >= 5.1 5.1 was the version introducing pyyaml.FullLoader which we're using, see https://pyyaml.org/wiki/PyYAML#history Change-Id: I0f2fa08ceeac2759218e85ad5bdce3ef951d0b74
2022-02-09 13:57:15 +00:00
pyyaml>=5.1
Introduce APDU/TPDU trace decoder 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
2022-07-16 12:06:46 +00:00
termcolor
colorlog