mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-08-12 05:39: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/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
-
1c849f8bc2
pySim-shell: Reject any non-decimal PIN values
Harald Welte
2023-11-01 23:48:28 +01:00 -
977c5925a1
pySim-shell: permit string with spaces for 'echo' command
Harald Welte
2023-11-01 23:42:55 +01:00 -
4e59d89a5d
pySim-shell: Validate that argument to 'apdu' command is proper hexstr
Harald Welte
2023-11-01 23:40:07 +01:00 -
f9ea63ea51
pySim-shell: Improved argument validation for verify_adm argument
Harald Welte
2023-11-01 23:35:31 +01:00 -
469db9393f
pySim-shell: Use argparser for verify_adm to support --help
Harald Welte
2023-11-01 23:17:06 +01:00 -
0ba3fd996a
pySim-shell: Add copyright statement and link to online manual to banner
Harald Welte
2023-11-01 19:18:24 +01:00 -
3d16fdd8da
docs: shell: Various documentation updates/extensions
Harald Welte
2023-11-01 19:16:37 +01:00 -
aa07ebcdac
docs: shell: update output in examples
Harald Welte
2023-11-01 18:50:19 +01:00 -
6663218ab8
docs: Fix docstring syntax to avoid warnings
Harald Welte
2023-11-01 17:28:18 +01:00 -
0c25e922be
docs: shell: Re-order the command sections/classes
Harald Welte
2023-11-01 17:25:59 +01:00 -
350cfd822b
docs: shell: link to cmd2 documentation
Harald Welte
2023-11-01 17:24:55 +01:00 -
0f2faa59fb
docs: shell: By now we have encoders/decoders for most files
Harald Welte
2023-11-01 17:24:41 +01:00 -
47bb33f937
docs: shell: Clarify various different card support
Harald Welte
2023-11-01 17:24:22 +01:00 -
a24755e066
filesystem: fix method build_select_path_to
Philipp Maier
2023-10-31 16:04:29 +01:00 -
1da8636c0f
runtime: cosmetic: fix formatting of comment
Philipp Maier
2023-10-31 13:17:14 +01:00 -
4af63dc760
transport: print reader device/number on init
Philipp Maier
2023-10-26 12:17:32 +02:00 -
cbc0bdfaa9
euicc: add some first IoT eUICC commands (GSMA SGP.32)
Harald Welte
2023-10-24 12:11:04 +02:00 -
884eb551af
euicc: Add get_profiles_info command
Harald Welte
2023-10-24 11:03:50 +02:00 -
268a2025db
Initial support for eUICC
Harald Welte
2023-10-22 13:12:11 +02:00 -
8c82378bfd
transport: move argument parser setup into concrete classes
Philipp Maier
2023-10-23 10:44:44 +02:00 -
3077343739
transport: move init message into concrete classes
Philipp Maier
2023-10-23 10:18:04 +02:00 -
10669f2ddf
utils: Fix bertlv_encode_tag() for multi-byte tags
Harald Welte
2023-10-23 01:54:36 +02:00 -
237ddb5bb3
pySim-shell: Include current logical channel in prompt
Harald Welte
2023-10-22 10:36:58 +02:00 -
20650997e8
pySim-shell: Add 'switch_channel' command
Harald Welte
2023-10-21 23:47:02 +02:00 -
6dd6f3e12c
prevent SimCardCommands.select_adf_by_aid bypassing lchan
Harald Welte
2023-10-22 10:28:18 +02:00 -
46255121e0
pySim-shell: Create + use per-RuntimeLchan SimCardCommands
Harald Welte
2023-10-21 23:40:42 +02:00 -
3dfab9dede
commands.py: Add support for multiple logical channels.
Harald Welte
2023-10-21 23:38:32 +02:00 -
91eeecfbf3
docs: Fix command reference for 'apdu' command
Harald Welte
2023-10-23 22:26:06 +02:00 -
49acc06327
RuntimeState: Add type annotation for 'card' argument
Harald Welte
2023-10-21 20:21:51 +02:00 -
bdf595756e
pySim-shell: Create/delete RuntimeLchan objects on open/close of channel
Harald Welte
2023-10-21 20:06:19 +02:00 -
7997252267
cards.py: Fix type annotation
Harald Welte
2023-10-21 20:19:32 +02:00 -
7c0cd0a93b
pySim-shell: do not fail when EF.ICCID does not exist
Philipp Maier
2023-10-16 15:02:07 +02:00 -
509ecf84fa
Use keyword argument for file description argument
Harald Welte
2023-10-18 23:32:57 +02:00 -
28accc88c3
ts_31_102: Fix initialization of file size
Harald Welte
2023-10-18 23:21:46 +02:00 -
af4e5bb18c
transport: do not catch exceptions in init_reader
Philipp Maier
2023-10-10 12:29:14 +02:00 -
58e89eb15a
transport: add return type annotation to method __str__
Philipp Maier
2023-10-10 11:59:03 +02:00 -
6bfa8a8533
pySim-shell: print device info in case an exception occurs
Philipp Maier
2023-10-09 13:32:49 +02:00 -
8e03f2f2ed
pySim-shell: do not pass failed card object to PysimApp
Philipp Maier
2023-10-09 13:27:59 +02:00 -
91c971bf82
pySim-prog, pySim-shell do not use global variables
Philipp Maier
2023-10-09 10:48:46 +02:00 -
37e57e0c45
filesystem: add attribute "leftpad" to class LinFixedEF
Philipp Maier
2023-09-07 12:43:12 +02:00 -
0ac4d3c7dc
commands: make method verify_binary and verify_record private
Philipp Maier
2023-09-07 13:13:43 +02:00 -
4840d4dc8f
pySim-shell: fix commandline option -a (verify_adm)
Philipp Maier
2023-09-06 14:54:14 +02:00 -
3a37ad015c
sim-reset-server: fix error printing sw_match_error
Philipp Maier
2023-08-16 12:08:56 +02:00 -
7d13845285
sim-rest-server: fix REST method info
Philipp Maier
2023-08-16 11:47:36 +02:00 -
91b379a039
sim-rest-server: use UiccCardBase instead of UsimCard
Philipp Maier
2023-08-16 11:43:19 +02:00 -
71a3fb8b3a
sim-rest-server: do not select ADF.USIM in connect_to_card
Philipp Maier
2023-08-16 11:31:31 +02:00 -
a42ee6f99d
cards: get rid of method read_iccid
Philipp Maier
2023-08-16 10:44:57 +02:00 -
09ff0e2b43
README.md: sort dependencies, document smpp.pdu
Florian Klink
2023-08-13 12:16:16 +02:00 -
83222abf2e
setup.py: fix package name
Florian Klink
2023-08-13 11:48:18 +02:00 -
e6cba76a36
pySim-shell: check presence of runtime state before accessing it
Philipp Maier
2023-08-11 11:23:17 +02:00 -
63e8a18883
pySim-prog_test: fix typo
Philipp Maier
2023-08-01 16:09:29 +02:00 -
a380e4efbe
pySim-trace_test: verify output of pySim-trace.py
Philipp Maier
2023-08-01 15:29:13 +02:00 -
7124ad1031
pySim-trace_test: fix shebang line
Philipp Maier
2023-08-01 16:00:28 +02:00 -
d62182ca43
runtime: make sure applications are always listed in the same order
Philipp Maier
2023-08-01 15:23:19 +02:00 -
600e284a7b
README.md: Add note about pySim-trace.py dependencies
Philipp Maier
2023-07-28 11:19:40 +02:00 -
1cdcbe4f57
pysim-test: rename pysim-test.sh to pySim-prog_test.sh
Philipp Maier
2023-07-27 14:55:30 +02:00 -
ec9cdb73e7
tests: add test script for pySim-trace
Philipp Maier
2023-07-27 14:43:08 +02:00 -
c8facea845
Fix the remaining functions using the broken Card.update_ust() call
Alexander Couzens
2023-07-29 05:01:57 +02:00 -
2dd59edd74
ARA-M: fix encoding of the PkgRefDO when using aram_store_ref_ar_do
Alexander Couzens
2023-07-29 02:29:08 +02:00 -
760e421be5
utils.py: remove superfluous import from itself
Alexander Couzens
2023-07-28 16:39:08 +02:00 -
6c5c3f8b2b
Reimplement ust_service_activate and ust_service_deactivate for USIM/EF.UST
Alexander Couzens
2023-07-28 05:13:06 +02:00 -
8dc2ca2d37
pySim-trace: catch StopIteration exception on trace file end
Philipp Maier
2023-07-27 13:00:41 +02:00 -
162ba3af3e
pySim-trace: mark card reset in the trace
Philipp Maier
2023-07-27 11:46:26 +02:00 -
1f46f07e3c
utils: tolerate uninitialized fields in dec_addr_tlv
Philipp Maier
2023-07-27 10:38:38 +02:00 -
784b947b11
pySim-trace: remove stray debug print
Philipp Maier
2023-07-27 12:48:55 +02:00 -
407c95520f
pySim-trace: add commandline option --show-raw-apdu
Philipp Maier
2023-07-27 11:11:11 +02:00 -
791f80a44f
construct: add adapter Utf8Adapter to safely interpret utf8 text
Philipp Maier
2023-07-26 17:01:37 +02:00 -
fec721fcb1
Fixed
mncencoding
farhadh
2023-07-19 15:43:13 +02:00 -
92b9356ed2
runtime: fix lchan deletion in method reset
Philipp Maier
2023-07-21 11:38:26 +02:00 -
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