mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-25 06:48:33 +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/wip
osmith/wip
pmaier/fixgr
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
pmaier/putkey
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/wip
osmith/wip
pmaier/fixgr
pmaier/otatest
pmaier/otatestprep
pmaier/pgsql
pmaier/putkey
sysmocom/factory
users/daniel/csv-format
zecke/hacks
zecke/tmp2
1.0
-
7d86fe1d8a
apdu/ts_102_221: extract channel number from dict before calling del_lchan
Philipp Maier
2023-07-19 15:58:45 +02:00 -
cfb665bb3f
pySim-shell: fix verify_adm command
Philipp Maier
2023-07-20 17:30:24 +02:00 -
3175d61eb2
cards: fix swapped PIN mapping number
Philipp Maier
2023-07-20 17:28:10 +02:00 -
38306dfc04
pySim-shell: Add a mode where a pySim-shell cmd can be passed by shell
Harald Welte
2023-07-11 21:17:55 +02:00 -
531894d386
move Runtime{State,Lchan} from pySim.filesystem to new pySim.runtime
Harald Welte
2023-07-11 19:11:11 +02:00 -
b77063b9b7
pySim/filesystem.py: remove unused class FileData
Harald Welte
2023-07-11 19:03:10 +02:00 -
6ad9a247ef
pySim-shell: Iterate over CardApplication sub-classes
Harald Welte
2023-07-11 18:55:29 +02:00 -
2d5959bf47
ts_102_221: Remove CardProfileUICCSIM
Harald Welte
2023-07-12 21:57:47 +02:00 -
323a35043f
Introduce concept of CardProfileAddon
Harald Welte
2023-07-11 17:26:39 +02:00 -
f9e2df1296
cdma_ruim: Fix unit tests and actually enable them
Harald Welte
2023-07-11 21:03:54 +02:00 -
659d7c11ca
cards: all UICC should use sel_ctrl="0400" and SIM "0000"
Harald Welte
2023-07-10 22:25:58 +02:00 -
775ab01a2b
cards: cosmetic rename, argument name should be scc, not ssc
Harald Welte
2023-07-10 22:23:07 +02:00 -
172c28eba8
cards: All derived of SimCardBase use CLA=A0; all UiccCardBase use CLA=00
Harald Welte
2023-07-10 22:20:40 +02:00 -
b314b9be34
ts_31_102, ts_31_103: Move legacy-only code to pySim.legacy
Harald Welte
2023-07-09 22:19:49 +02:00 -
57ad38e661
create pySim.legacy.ts_51_011.py and move legacy code there
Harald Welte
2023-07-09 22:14:09 +02:00 -
a3961298ef
pySim/cards: Add type annotations
Harald Welte
2023-07-09 21:44:52 +02:00 -
f8d2e2ba08
split pySim/legacy/{cards,utils} from pySim/{cards,utils}
Harald Welte
2023-07-09 17:58:38 +02:00 -
263fb0871c
pySim/cards: Split legacy classes away from core SIM + UICC
Harald Welte
2023-07-09 17:15:36 +02:00 -
02a7f7441f
filesystem: Support selecting MF from MF
Harald Welte
2023-07-11 09:21:52 +02:00 -
284efda086
pySim-prog: Also accept 18-digit ICCIDs
Harald Welte
2023-07-11 11:08:24 +02:00 -
fdcf3c5702
GlobalPlatform ADF.SD: Add command line reference + error message
Harald Welte
2023-07-11 08:52:39 +02:00 -
a1561fe9ae
ts_102_222: Remove unneeded imports
Harald Welte
2023-07-09 22:25:13 +02:00 -
f9f8d7a294
pySim/transport: Use newly-defined ResTuple type
Harald Welte
2023-07-09 17:06:16 +02:00 -
fdb187d7ff
pySim/commands.py: Better type annotations
Harald Welte
2023-07-09 17:03:17 +02:00 -
ab6897c4cd
pySim/transport: More type annotations
Harald Welte
2023-07-09 16:21:23 +02:00 -
f5e26ae954
pySim/utils: define 'Hexstr' using NewType
Harald Welte
2023-07-09 16:11:46 +02:00 -
2352f2dcdd
pySim/tlv.py: Fix TLV_IE_Collection from_dict with nested collections
Harald Welte
2023-07-09 21:28:13 +02:00 -
ba955b650e
pySim/tlv.py: Don't create an exception from within raise
Harald Welte
2023-07-09 21:27:07 +02:00 -
30de9fd8ab
TLV_IE_Collection: use snake-style names during from_dict()
Harald Welte
2023-07-09 21:25:14 +02:00 -
f818acd5eb
pySim-shell: Unregister profile commands during equip
iw0
2023-06-19 10:27:04 +02:00 -
f4a01472bf
pySim-shell: Support USIM specific methods/commands on unknown UICC
Harald Welte
2023-07-04 21:14:23 +02:00 -
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