mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-25 14:58: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
-
6f8a870c65
move EF_UServiceTable from ts_31_102 to ts_31_102_telecom
Harald Welte
2022-07-17 21:50:31 +02:00 -
a0452216a4
minimalistic support for DF.MULTIMEDIA
Harald Welte
2022-07-17 21:23:21 +02:00 -
a6c0f880da
filesystem: Introduce the basic notion of 'logical channels'
Harald Welte
2022-07-17 14:23:17 +02:00 -
de4c14c0dc
Add very simplistic DF_PHONEBOOK support
Harald Welte
2022-07-16 11:53:59 +02:00 -
afe093ce41
ts_31_103: Fix typos related to IMSConfigData + MudMidConfigData
Harald Welte
2022-07-17 21:39:51 +02:00 -
eb882052f5
ts_31_102: Fix FID in DF.HNB
Harald Welte
2022-07-17 21:13:57 +02:00 -
4b00365c6e
fileystem: Use human-readable ADF name if available.
Harald Welte
2022-07-16 11:55:07 +02:00 -
1e52b0d3b7
pySim-shell: Remove unused imports
Harald Welte
2022-07-16 11:53:21 +02:00 -
46a7a3fcc2
filesystem: keep track of currently selected ADF
Harald Welte
2022-07-16 11:47:47 +02:00 -
d56f45d720
filesystem: raise exception only when applicable
Harald Welte
2022-07-16 11:46:59 +02:00 -
c655518654
pySim/ts_102_222.py: remove ununsed imports from 'cmd2'
Vadim Yanitskiy
2022-07-14 19:12:21 +07:00 -
0d9f088853
pySim-shell.py: remove unused imports of 'bg' from 'cmd2'
Vadim Yanitskiy
2022-07-14 19:08:24 +07:00 -
6f8cf9b315
sim-rest-server: Set Content-Type: application/json on response
Harald Welte
2022-07-06 16:28:56 +02:00 -
77d510b4be
scripts/deactivate-5g.script: Also disable service 126
Harald Welte
2022-07-08 20:46:16 +02:00 -
04b5d9d7ab
Py2 -> Py3: do not inherit classes from object
Vadim Yanitskiy
2022-07-07 03:05:30 +07:00 -
bda52830c9
cards: populate ADM1 key reference member
Philipp Maier
2022-06-14 16:18:12 +02:00 -
2403125a34
pySim-shell: set default ADM key reference
Philipp Maier
2022-06-14 16:16:42 +02:00 -
541a9154da
ts_102_221: The BTLV IEs FILE SIZE and TOTAL FILE SIZE have a min length
Philipp Maier
2022-06-01 18:21:17 +02:00 -
40ea4a4a1c
commands: add ".." notation to expand hexstrings
Philipp Maier
2022-06-02 14:45:41 +02:00 -
f16ac6acf8
pySim-shell: catch exceptions from walk() while exporting
Philipp Maier
2022-05-31 14:08:47 +02:00 -
7b138b0d2d
pySim-shell: extend walk() so that we can also have an action of ADF or DF
Philipp Maier
2022-05-31 13:42:56 +02:00 -
e7d1b67d80
pySim-shell: match SW in apdu command
Philipp Maier
2022-06-01 18:05:34 +02:00 -
7226c09569
pySim-shell: make APDU command available on the lowest level
Philipp Maier
2022-06-01 17:58:38 +02:00 -
373b23c372
ts_102_221: fix SFI generation
Philipp Maier
2022-06-01 18:16:02 +02:00 -
6b8eedc501
filesystem: also return the encoded FCP from probe_file
Philipp Maier
2022-06-01 18:10:04 +02:00 -
9a4091d93a
pySim-shell: more generic export options
Philipp Maier
2022-05-19 10:20:30 +02:00 -
ea81f75e94
pySim-shell: explain why we insist on a DF or ADF
Philipp Maier
2022-05-19 10:13:30 +02:00 -
e17e277a24
ts_102_222: Set number of records when creating linear files
Christian Amsüss
2022-04-19 10:29:09 +02:00 -
e6b86872ce
transport/pcsc: throw ReaderError with a message
Vadim Yanitskiy
2022-04-21 16:50:25 +03:00 -
da2fa83256
pySim-shell.py: add a command for RUN GSM ALGORITHM
1774447689318584307/tmp_refs/heads/fixeria/run_gsm_alg
1774447689318584307/fixeria/run_gsm_alg
1774440393432389989/tmp_refs/heads/fixeria/run_gsm_alg
1774440393432389989/fixeria/run_gsm_alg
fixeria/run_gsm_alg
Vadim Yanitskiy
2022-04-22 15:52:38 +03:00 -
6865819859
SimCardCommands.run_gsm(): use send_apdu_checksw()
Vadim Yanitskiy
2022-04-22 00:29:10 +03:00 -
a576764c5e
fix SimCardCommands.run_gsm(): always use CLA=0xa0
Vadim Yanitskiy
2022-04-22 00:18:59 +03:00 -
b95445159b
SimCard.reset(): fix SyntaxWarning: 'is' with a literal
Vadim Yanitskiy
2022-04-21 16:46:03 +03:00 -
c30bed235e
ts_102_221: Add encode/write support of EF.ARR records
Harald Welte
2022-04-05 14:45:18 +02:00 -
0dcdfbfe94
utils: Add DataObjectSequence.encode_multi()
Harald Welte
2022-04-05 14:42:48 +02:00 -
785d484709
utils: Fix bugs in DataObject encoders
Harald Welte
2022-04-05 14:24:22 +02:00 -
b7f35ac163
ts_31_103: Correct file-id of EF.DOMAIN in ADF.ISIM
æstrid smith
2022-03-26 19:59:54 -07:00 -
ab91d874e4
ts_31_102: Avoid pylint false positive
Harald Welte
2022-03-27 12:32:21 +02:00 -
aefd0649a2
pySim-shell: Add 'decode_hex' command for transparent + linear EF
Harald Welte
2022-02-25 15:26:37 +01:00 -
34eb504b3b
Initial support for GlobalPlatform
Harald Welte
2022-02-21 17:19:28 +01:00 -
a037762b04
ts_31_102: Further decode TAI in EF.OPL5G
Harald Welte
2022-02-25 15:36:44 +01:00 -
3a5afff022
ts_31_102: Further decode LAI in EF_LOCI
Harald Welte
2022-02-25 15:33:46 +01:00 -
1459e45005
ts_51_011: Better decode of EF_OPL LAI
Harald Welte
2022-02-25 15:25:52 +01:00 -
22a1cdde25
ts_51_011: Properly decode EF.OPL
Harald Welte
2022-02-25 15:22:11 +01:00 -
dd45d8ee3b
ts_31_102: Fix decoding of UServiceTable
Harald Welte
2022-02-25 15:16:39 +01:00 -
4ebeebffca
ts_102_221: Fix decoding the 'num_of_rec' field
Harald Welte
2022-02-25 09:47:51 +01:00 -
5e9bd93bbd
ts_102_221: properly decode short file identifier
Harald Welte
2022-02-25 09:35:28 +01:00 -
fa578bd601
add scripts/deactivate-ims.script to deactivate IMS related services
Harald Welte
2022-02-17 12:51:54 +01:00 -
c89a1a99ca
Add scripts/deacivate-5g.script
Harald Welte
2022-02-17 12:42:14 +01:00 -
12af793d4b
doc: Improve documentation in various places
Harald Welte
2022-02-15 16:39:08 +01:00 -
d01bd3632c
docs: Document missing 'status' command in 7816 section
Harald Welte
2022-02-15 15:56:48 +01:00 -
799c354827
shell: Proper argparser (for help + manual) activate_file
Harald Welte
2022-02-15 15:56:28 +01:00 -
2bb17f3df9
pySim-shell: export: Add FCP template to export
Harald Welte
2022-02-15 15:41:55 +01:00 -
9e241435cc
docs/legcay.txt: Point to pySim-shell as replacement
Harald Welte
2022-02-15 15:38:19 +01:00 -
3c9b784825
pySim-shell: support TS 102 222 administrative commands
Harald Welte
2021-10-19 21:44:24 +02:00 -
747a978478
ts_102_221: Implement File Descriptor using construct
Harald Welte
2022-02-13 17:52:28 +01:00 -
ee670bc1c6
pySim-shell: Allow selecting of deep paths like DF.GSM/EF.IMSI
Harald Welte
2022-02-13 15:10:15 +01:00 -
226b866f51
ts_31_103: TLV definitions for IMS, XCAP and MudMid configuration
Harald Welte
2022-02-13 11:53:08 +01:00 -
540adb0ee6
ts_51_011: EF_CMI: Decoder the alpha_id string
Harald Welte
2022-02-13 11:33:21 +01:00 -
1e73d228f4
ts_51_011: Convert EF_ADN and EF_ACC to Construct
Harald Welte
2022-02-13 11:32:50 +01:00 -
bc0e209a9f
ts_51_011: Proper decode of EF.SMSP
Harald Welte
2022-02-13 10:54:58 +01:00 -
3bb516b2b1
Improve IST/UST check documentation (for the user manual)
Harald Welte
2022-02-12 21:53:18 +01:00 -
aceb2a548a
ust_service_check: proper treatment of files in sub-directories
Harald Welte
2022-02-12 21:41:59 +01:00 -
419bb496e1
ts_31_102: service annotations for DF.{5GS,WLAN,HNB}
Harald Welte
2022-02-12 21:39:35 +01:00 -
fa8b8d1160
ts_31_102: Use perror() instead of poutput() for errors
Harald Welte
2022-02-12 18:30:28 +01:00 -
82f75c200f
ts_31_102: Add more EF.UST checks to 'ust_service_check' command
Harald Welte
2022-02-12 18:22:28 +01:00 -
d53918c3e1
filesystem: Fix CardMF.get_app_names()
Harald Welte
2022-02-12 18:20:49 +01:00 -
6ca2fa7a5d
Split EF.UST handling from EF.IST and EF.SST
Harald Welte
2022-02-12 16:29:31 +01:00 -
4c5e2310fa
ts_31_102: Add "ust_service_check" command.
Harald Welte
2022-02-12 14:37:48 +01:00 -
d16d904c57
README.md: Remove old usage examples, refer to user manual instead
Harald Welte
2022-02-15 15:33:52 +01:00 -
3729c47651
commands: Add method to select parent DF ("cd ..")
Harald Welte
2022-02-12 14:36:37 +01:00 -
a630a3cd28
cosmetic: Remove extraneous empty lines between spec-section-comment and class
Harald Welte
2022-02-12 10:41:00 +01:00 -
6169c72f82
USIM + ISIM: Specify the services associated with each file
Harald Welte
2022-02-12 09:05:15 +01:00 -
9170fbf08d
filesystem: Maintain a 'service' attribute for all files on a card
Harald Welte
2022-02-11 21:54:37 +01:00 -
afb8d3f925
pySim-shell: introduce 'apdu' command for sending raw APDU to card
Harald Welte
2022-02-11 16:03:06 +01:00 -
08b11abc2f
pySim-shell: export: allow export as JSON instead of hex
Harald Welte
2022-02-10 18:56:41 +01:00 -
c8c3327b6e
ts_102_221: Proper parsing of FCP using pySim.tlv instead of pytlv
Harald Welte
2022-02-11 14:45:23 +01:00 -
e4a6eafc6f
tlv: Don't raise exception if somebody passes empty data to TLV decoder
Harald Welte
2022-02-11 16:29:32 +01:00 -
c975251a48
filesystem: Don't pass empty string to parse_select_response()
Harald Welte
2022-02-11 16:31:15 +01:00 -
81f4b4058b
Extend unit test coverage for construct, add [some] tests for TLV
Harald Welte
2022-02-12 10:31:27 +01:00 -
d0519e0c37
construct: Add Construct for variable-length int 'GreedyInteger'
Harald Welte
2022-02-11 18:05:48 +01:00 -
f0592812e6
transport/bt_rsap.py: fix unknown variable in reset_card()
1774450593738724305/tmp_refs/heads/fixeria/btsap
1774450593738724305/fixeria/btsap
1774446806792196141/tmp_refs/heads/fixeria/btsap
1774446806792196141/fixeria/btsap
fixeria/btsap
Vadim Yanitskiy
2022-02-13 22:27:07 +06:00 -
d5056cd3ca
transport/bt_rsap.py: properly implement get_atr() method
Vadim Yanitskiy
2022-02-13 22:26:44 +06:00 -
ccb8499ea9
transport: add Bluetooth (SIM Access Profile) based transport
Gabriel K. Gegenhuber
2022-02-13 21:51:27 +06:00 -
e8d177d88f
tlv: Convert CamelCase class name to snake_case in json
Harald Welte
2022-02-11 17:08:45 +01:00 -
9a2a6691b0
tlv: Function for flattening the list-of-dict output of TLV decoder
Harald Welte
2022-02-11 15:44:28 +01:00 -
425038ffbc
utils: Fix missing Optional[] in type annotations
Harald Welte
2022-02-10 19:32:04 +01:00 -
c91085e744
cosmetic: Switch to consistent four-spaces indent; run autopep8
Harald Welte
2022-02-10 18:05:45 +01:00 -
181c7c5930
ts_102_221: Implement proper parsing of EF.DIR
Harald Welte
2022-02-10 14:18:32 +01:00 -
ca60ac253e
filesystem.py: Accept both a class or an instance as TLV._tlv member
Harald Welte
2022-02-10 18:01:02 +01:00 -
6551627cb8
ts_31_102: TLV._tlv must point to the class, not an instance
Harald Welte
2022-02-10 17:51:05 +01:00 -
944cd2fcf8
filesystem: Fix TLV decode/encode
Harald Welte
2022-01-21 16:01:29 +01:00 -
e8947493e6
Better decode of EF.UST, EF.EST and EF.IST
Harald Welte
2022-02-10 10:33:20 +01:00 -
08b2499c35
utils.py: Fix some tuple type annotations
Harald Welte
2022-02-10 15:23:36 +01:00 -
5036877147
utils.py: type annotations for DataObject related methods
Harald Welte
2022-02-10 15:22:22 +01:00 -
b060833e9a
ts_102_221: Handle nested security condition data objects
Harald Welte
2022-02-10 12:45:37 +01:00 -
aaf5931b60
ts_51_011: Fix type annotation for Tuple[int, int]
Harald Welte
2022-02-10 14:53:12 +01:00 -
6113fe9929
ts_51_011: Fix typo in EF_MMSUP
Harald Welte
2022-01-21 15:51:35 +01:00 -
06c4a5b2d9
ts_31_102: EF.PNN encoding is identical to that of DF.GSM
Harald Welte
2022-01-21 15:49:00 +01:00 -
362d2d0433
publish also the HTML manual for pySim
Harald Welte
2022-02-09 21:01:00 +01:00