mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-08-12 01:33:27 +03:00
Commit Graph
Select branches
Hide Pull Requests
27c3
ccc
chrysn/for-29033
chrysn/ota
daniel/ota
ewild/ossl_verify
ewild/ppk_tests
fairwaves/sim
fixeria/btsap
fixeria/cmd2
fixeria/run_gsm_alg
laforge/ota
laforge/scp
laforge/smdp_asn1
laforge/wip
laforge/wsrc
lynxis/esim-cccprofile
master
neels/saip
neels/saip2
neels/saip3
neels/smsp_test
neels/suci
neels/wip
osmith/saip2
osmith/wip
pmaier/fixgr
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
pmaier/putkey
pmaier/rcp
sysmocom/factory
users/daniel/csv-format
zecke/hacks
zecke/tmp2
1.0
Select branches
Hide Pull Requests
27c3
ccc
chrysn/for-29033
chrysn/ota
daniel/ota
ewild/ossl_verify
ewild/ppk_tests
fairwaves/sim
fixeria/btsap
fixeria/cmd2
fixeria/run_gsm_alg
laforge/ota
laforge/scp
laforge/smdp_asn1
laforge/wip
laforge/wsrc
lynxis/esim-cccprofile
master
neels/saip
neels/saip2
neels/saip3
neels/smsp_test
neels/suci
neels/wip
osmith/saip2
osmith/wip
pmaier/fixgr
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
pmaier/putkey
pmaier/rcp
sysmocom/factory
users/daniel/csv-format
zecke/hacks
zecke/tmp2
1.0
-
fa9f348180
ts_31_103: enable encode tests for files containing single TLV IE
Harald Welte
2023-06-26 10:51:38 +02:00 -
579ac3ec0e
tlv: Fix IE.from_dict() method
Harald Welte
2023-06-26 10:52:19 +02:00 -
0ec01504ab
cosmetic: Implement cmd2.Settable backwards-compat via wrapper class
Harald Welte
2023-06-24 10:00:12 +02:00 -
985ff31efa
work-around what appears to be a pylint bug
Harald Welte
2023-06-27 09:23:06 +02:00 -
e126872a29
Fix run-editor bug with cmd2 >= 2.0.0 compatibility
Harald Welte
2023-06-24 07:57:08 +02:00 -
721ba9b31f
tests: Add new, data-driven OTA tests
Harald Welte
2023-06-17 12:50:28 +02:00 -
0b32725f80
Add support for encoding/decoding SMS in TPDU and SMPP format
Harald Welte
2022-08-11 17:37:46 +02:00 -
7e55569f3a
docs: Add section on pySim-trace to user manual
Harald Welte
2023-06-09 11:14:44 +02:00 -
e345e1126d
pySim-shell: fix reset command
Philipp Maier
2023-06-09 15:19:56 +02:00 -
f422eb1886
Add ".py" suffix to sphinx-argparse generated docs
Harald Welte
2023-06-09 11:15:09 +02:00 -
f9a5ba5e0f
31.102: Fix EF.Routing_Indicator for odd number of digits
Harald Welte
2023-06-09 09:17:05 +02:00 -
1dce498a67
README: remove redundancy 'Manual' and 'Documentation
Harald Welte
2023-06-08 21:45:37 +02:00 -
555cf6f6db
README: rephrase initial section; add HPSIM; programmable vs. standard
Harald Welte
2023-06-08 21:43:09 +02:00 -
75e31c5d5b
test_ota: Add one first OTA SMS AES128 unit test
Harald Welte
2023-06-06 20:49:57 +02:00 -
19b4a971e9
SJA5: EF.USIM_AUTH_KEY: Display / enforce proper length TUAK K
Harald Welte
2023-06-08 17:18:31 +02:00 -
7ec822373e
ts_31_102: Add shell command for GET IDENTITY
Harald Welte
2023-06-06 18:15:52 +02:00 -
621f78c943
serial: return a return code in reset_card()
Philipp Maier
2023-06-01 18:00:54 +02:00 -
60951b0c17
utils: Remove format_xplmn leading zeros in MNC
Matan Perelman
2023-06-01 17:39:04 +03:00 -
777ee9e54d
Add FPLMN read and program
Matan Perelman
2023-05-14 08:58:50 +03:00 -
1de62c41d7
pySim/apdu/ts_31_102.py: Add Rel17 5G NSWO context for GET IDENTITY
Harald Welte
2023-06-06 18:08:54 +02:00 -
b0e0dce80a
ts_102221: Add "resume_uicc" command
Harald Welte
2023-06-06 17:21:13 +02:00 -
659781cbe1
Move "suspend_uicc" command from pySim-shell to ts_102_221.py
Harald Welte
2023-06-06 17:00:51 +02:00 -
4e5aa304fc
ts_31_102: fix typo
Philipp Maier
2023-06-06 19:22:19 +02:00 -
c85ae4188f
Fix result parsing of "suspend_uicc"
Harald Welte
2023-06-06 09:03:27 +02:00 -
892526ffd0
pySim-shell: Unregister TS 102 222 commands during 'equip'
Harald Welte
2023-06-06 17:09:50 +02:00 -
e619105249
HPSIM application support
Harald Welte
2023-06-06 10:32:46 +02:00 -
d75fa3f7c9
Switch from pycryptodome to pycryptodomex
Harald Welte
2023-05-31 20:47:55 +02:00 -
219a5f369c
OTA: Fix padding of AES CMAC
Harald Welte
2023-05-31 18:07:48 +02:00 -
03650582e0
SJA5: Proper encode/decode of TUAK data in EF.USIM_AUTH_KEY
Harald Welte
2023-05-29 21:07:24 +02:00 -
557c13685e
SJA5: Add TUAK + XOR-2G algorithm definitions for EF_[U]SIM_AUTH_KEY
Harald Welte
2023-05-29 15:26:22 +02:00 -
954ce95a16
SJA2: Implement DF.SYSTEM/EF.0348_KEY using construct
Harald Welte
2023-05-27 20:08:09 +02:00 -
ba6d6ab64f
ts_31_102: EF_SUPI_NAI: Decode/Encode GLI+GCI as UTF-8 strings
Harald Welte
2023-05-27 13:45:01 +02:00 -
455611c9a3
ts_31_102: Add decoder/encoder for DF.5GS/EF.Routing_Indicator
Harald Welte
2023-05-27 12:48:54 +02:00 -
d70ac22618
modem_atcmd: raise ProtocolError instead of ReaderError on CME ERROR
Tobias Engel
2023-05-29 21:20:59 +02:00 -
bca01523df
setup.py: fix syntax errors (missing commas)
Vadim Yanitskiy
2023-05-28 17:13:19 +07:00 -
c296cb593e
cards: Add support for Gialer SIM cards
Matan Perelman
2023-05-11 12:49:17 +03:00 -
69b69d4d84
docs: add SUPI/SUCI usage example
Merlin Chlosta
2023-05-11 12:59:01 +02:00 -
0489ae67cf
cards.py: support ATR-based detection of sysmoISIM-SJA5
Harald Welte
2023-05-24 10:28:34 +02:00 -
2bee70cbac
ts_31_102: Add DF.SAIP support
Harald Welte
2023-05-25 09:14:28 +02:00 -
24e77a7758
ts_31_102: Fix FID + SFI of EF.MCHPPLMN
Harald Welte
2023-05-24 15:26:29 +02:00 -
5206429c0c
ts_31_102: Fix FID of EF.OPL5G (it's 4F08 instead of 6F08)
Harald Welte
2023-05-24 15:25:26 +02:00 -
04bd5140fd
ts_31_102: Fix EF.NIA FID
Harald Welte
2023-05-24 15:23:53 +02:00 -
33eef850c0
ts_51_011: Fix EF.Phase FID (it's 6FAE, not 6FA3)
Harald Welte
2023-05-24 15:20:34 +02:00 -
10a1a0a22e
ts_51_011: Fix FID of EF.BCCH
Harald Welte
2023-05-24 15:19:28 +02:00 -
fc67de2219
ts_31_102: Extend from Rel16 to Rel17
Harald Welte
2023-05-23 20:29:49 +02:00 -
c224b3b5f1
ts_51_011: Add sst_service_[de]{activate,allocate} shell commands
Harald Welte
2023-05-23 18:44:44 +02:00 -
ade366d2a9
setup.py: add missing packages for pySim-trace.py
Vadim Yanitskiy
2023-05-16 17:08:57 +07:00 -
a793552b4f
contrib/jenkins.sh: print pylint version before running it
Vadim Yanitskiy
2023-05-16 16:15:06 +07:00 -
e47ea5f2e5
Fix pylint errors
Oliver Smith
2023-05-23 12:54:15 +02:00 -
3bcc22f73d
README.md: add missing pycryptodome to dependency list
Philipp Maier
2023-05-15 15:47:36 +02:00 -
2b15e315e2
setup: add missing pyyaml to setup.py and README.md
Philipp Maier
2023-05-15 15:42:56 +02:00 -
f8a3d2b3db
requirements.txt: allow cmd2 versions greater than 1.5
Philipp Maier
2023-05-05 14:01:28 +02:00 -
961b803ec4
pySim-shell: fix compatibility problem with cmd2 >= 2.3.0 (bg)
Harald Welte
2023-04-27 17:30:22 +02:00 -
c85d4067fd
pySim-shell: fix compatibility problem with cmd2 >= 2.0.0 (include_ipy)
Harald Welte
2023-04-27 17:10:17 +02:00 -
93aac3abe6
pySim-shell: fix compatibility problem with cmd2 >= 2.0.0 (Settable)
Harald Welte
2023-04-27 15:18:13 +02:00 -
87dd020d5f
Add very basic profile for R-UIM (CDMA) cards
Vadim Yanitskiy
2023-04-22 20:45:29 +07:00 -
6b19d80229
ts_51_011: fix EF_ServiceTable: use self for static method
Vadim Yanitskiy
2023-04-22 19:55:00 +07:00 -
e63cb2cc4d
setup.py: add missing pySim-trace.py' to scripts[]
Vadim Yanitskiy
2023-05-05 15:12:17 +07:00 -
b34f23448c
filesystem: define more convenient codec for EF.ACC
Vadim Yanitskiy
2023-04-18 04:25:27 +07:00 -
0d80fa9150
pySim-prog.py: fix SyntaxWarning: using is with a literal
Vadim Yanitskiy
2023-04-14 00:11:19 +07:00 -
7b9e24482d
pySim-shell: add cardinfo command
Philipp Maier
2023-03-22 15:19:54 +01:00 -
61ef1571f9
pySim-shell.py: add a command for RUN GSM ALGORITHM
Harald Welte
2023-03-09 19:42:38 +01:00 -
9970f59f4f
SimCardCommands.run_gsm(): use send_apdu_checksw()
Vadim Yanitskiy
2022-04-22 00:29:10 +03:00 -
1dd5cb540d
fix SimCardCommands.run_gsm(): always use CLA=0xa0
Vadim Yanitskiy
2022-04-22 00:18:59 +03:00 -
41fbf12dba
gitignore: add manuals related files
Oliver Smith
2023-03-20 13:30:38 +01:00 -
308d7cdf78
docs/Makefile: don't forward shrink to sphinx
Oliver Smith
2023-03-20 12:23:36 +01:00 -
0707b80ad3
ts_102_222: Implement support for RESIZE FILE for an EF
Harald Welte
2023-03-07 11:43:37 +01:00 -
da1f562294
docs: change upload path for html docs
Oliver Smith
2023-03-07 12:44:14 +01:00 -
a07d509de6
docs: Document the file-specific commands for ADF.USIM/EF.EST
Harald Welte
2023-02-23 10:02:49 +01:00 -
18b7539925
31.102: EF.EST enables/disables services; name commands accordingly
Harald Welte
2023-02-23 10:00:51 +01:00 -
577312a04e
docs: Add reference for various commands
Harald Welte
2023-02-23 09:51:30 +01:00 -
8490240ce6
cards: sysmo-isim-sja2: make sure an ADF is present in EF.DIR before selecting it
Philipp Maier
2023-02-10 18:23:36 +01:00 -
865eea68c3
filesystem: add unit tests for encoder/decoder methods
Harald Welte
2023-01-27 19:26:12 +01:00 -
d2edd414a8
ts_51_011: Fix decoding/encoding of EF_LOCIGPRS
Harald Welte
2023-01-31 16:49:03 +01:00 -
caa94b5a81
Assume first record number if caller specifies none
Harald Welte
2023-01-31 16:43:34 +01:00 -
9b9efb6a7a
ts_31_102: Fix several bugs in EF_ECC encoder
Harald Welte
2023-01-31 16:40:54 +01:00 -
136bdb065b
ts_51_011: EF_SMSP: Use integer division in ValidityPeriodAdapter
Harald Welte
2023-01-31 16:23:32 +01:00 -
9181a69a55
gsm_r: EF_IC: Network String Table Index is 16bit, not 8bit
Harald Welte
2023-01-31 16:32:28 +01:00 -
5924ec4d97
ts_51_011: Improve decoding of SELECT response for classic SIM
Harald Welte
2023-01-24 19:49:24 +01:00 -
a1bb3f7147
ts_51_011: Support EF.LND
Harald Welte
2023-01-24 18:15:56 +01:00 -
0dc6c201e5
ts_51_011, ts_31_102: point to proper EF_EXTn file
Harald Welte
2023-01-24 18:10:13 +01:00 -
f11f1308b1
ts_51_011: Implement Extended BCD Coding
Harald Welte
2023-01-24 17:59:59 +01:00 -
9ba68df3cc
ts_51_011: Support EF.SDN
Harald Welte
2023-01-24 17:47:08 +01:00 -
5b9472db7a
ts_51_011: Fix bit-order in EF.VGCSS and EF.VBSS
Harald Welte
2023-01-24 17:26:59 +01:00 -
73a7fea357
gsm_r: Fix byte/nibble ordering of predefined_value1
Harald Welte
2023-01-24 16:52:29 +01:00 -
6bf2d5f216
gsm_r: EF_Predefined: Decode first record different from others
Harald Welte
2023-01-24 15:54:26 +01:00 -
f6b37af721
Prepare for decoding/encoding records differently based on record number
Harald Welte
2023-01-24 15:42:26 +01:00 -
8dbf714e96
gsm_r: Fix decoding of EF.FN
Harald Welte
2023-01-24 14:35:19 +01:00 -
e6d7b14f43
gsm_r: Fix typo (it's EF.FN, not EF.EN)
Harald Welte
2023-01-24 14:27:25 +01:00 -
bc7437d3b6
pySim-trace: Also consider SW 91xx as successful
Harald Welte
2022-12-02 23:21:18 +01:00 -
7489947046
pySim-trace: Fix missing MANAGE CHANNEL decode
Harald Welte
2022-12-02 23:16:12 +01:00 -
c95f6e2124
pySim-trace: Add support for reading GSMTAP from pcap files
Harald Welte
2022-12-02 22:50:35 +01:00 -
284ac104af
cards: also program EF.AD under ADF.USIM
Philipp Maier
2023-01-17 14:26:56 +01:00 -
de0cf1648c
cards: fix typo
Philipp Maier
2023-01-03 13:29:45 +01:00 -
4237ccfb45
pySim-prog: add python docstring for read_params_csv
Philipp Maier
2022-12-20 11:21:47 +01:00 -
5f0cb3c5f2
pySim-prog: rename write_parameters function.
Philipp Maier
2022-12-16 17:03:01 +01:00 -
cbb8c02d25
pySim-prog: make dry-run more realistic
Philipp Maier
2022-12-16 16:57:16 +01:00 -
0a8d9f05b8
cards: check length of mnc more restrictively
Philipp Maier
2022-12-16 16:44:37 +01:00 -
32c0434540
pySim-prog: fix handling of mnclen parameter.
Philipp Maier
2022-12-16 16:39:24 +01:00 -
2688ddf459
pySim-prog: clean up csv file reader function
Philipp Maier
2022-12-16 13:36:42 +01:00