mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-08-12 12:39:28 +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
-
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()
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 -
5981aa5c7f
contrib/jenkins.sh: Fix PUBLISH
Harald Welte
2022-02-09 18:02:31 +01:00 -
6b08fc3b49
contrib/jenkins.sh: first upload manuals, then execute physical tests
Harald Welte
2022-02-09 17:01:46 +01:00 -
bf82cebb7b
avoid pylint E0611: No name 'strxor' in module 'Crypto.Util.strxor'
Harald Welte
2022-02-09 16:36:53 +01:00 -
f03894aa65
update pyyaml dependency to >= 5.1
Harald Welte
2022-02-09 13:57:15 +00:00 -
e91405e04e
implement shell command to update PLMN in IMSI
Bjoern Riemer
2021-12-17 15:16:35 +01:00 -
9c93cec32a
transport/serial: fix for Python 3
Steve Markgraf
2022-01-25 00:57:06 +01:00 -
0c840f0aab
ts_102_221: decode/encode EF.PL
Harald Welte
2022-01-21 15:42:22 +01:00 -
b3d68c0b98
pySim-shell: alphabetically sort name of files in 'dir' command
Harald Welte
2022-01-21 15:31:29 +01:00 -
2a701eea60
cosmetic: Use EF.FDN instead of EF_FDN in ts_51_011.py
Harald Welte
2022-01-21 15:20:42 +01:00 -
ff2d86d977
ts_31_102: Add support for EF.ECC (emergency call codes)
Harald Welte
2022-01-21 15:19:47 +01:00 -
ffee89a031
add missing bit definition for NG-RAN in xAcT
Bjoern Riemer
2022-01-20 22:05:22 +01:00 -
da57ef1529
catch and ignore SwMatchError on probing for AID's
Bjoern Riemer
2022-01-18 15:38:14 +01:00 -
3e33cc7157
Add pyyaml to requirements.txt
Julian Lemmerich
2022-01-13 15:41:54 +01:00 -
0e4515f53d
filesystem: use correct AID for applications found by probing
Philipp Maier
2022-01-04 18:04:44 +01:00 -
8d8bdef637
filesystem: actively probe applications
Philipp Maier
2021-12-01 11:48:27 +01:00 -
e903a40530
fix invalid dependency
johannes.richter
2021-09-10 14:57:28 +02:00 -
c104095c69
fix: Decoder may raise KeyError
Lennart Rosam
2021-11-25 16:19:53 +01:00 -
931bc66331
cards: Make select_adf_by_aid() use prefix AID selection
Philipp Maier
2021-11-18 11:25:34 +01:00 -
abc2336571
pySim-read: put try/catch block around select_adf_by_aid()
Philipp Maier
2021-11-15 17:24:44 +01:00 -
47833bc176
cards: make _get_aid case insensitive
Philipp Maier
2021-11-19 14:04:12 +01:00 -
9e42e7ffce
profile: decode_select_response use object instead 'Any'
Philipp Maier
2021-11-16 15:46:42 +01:00 -
5998a3a8b3
profile: decode_select_response can be a static method
Philipp Maier
2021-11-16 15:16:39 +01:00 -
825b564115
pySim-shell: export command: guess number of records when not specified
Philipp Maier
2021-11-10 17:36:26 +01:00 -
f1fc619b2d
commands: use send_apdu_checksw() in method read_record
Philipp Maier
2021-11-11 12:06:21 +01:00 -
4ab971c62e
ts_51_011: move _decode_select_response into profile class
Philipp Maier
2021-11-11 11:53:49 +01:00 -
a028c7d7aa
pySim-shell: add method to match card profile to card
Philipp Maier
2021-11-08 16:12:03 +01:00 -
055b80aa5c
pySim-read: do not select ADF.ISIM again
Philipp Maier
2021-11-18 10:33:57 +01:00 -
46c6154e9d
cards: select_adf_by_aid: split off aid completion
Philipp Maier
2021-11-16 16:36:50 +01:00 -
95ce6b1708
ARA-M related command support
Harald Welte
2021-10-20 18:40:54 +02:00 -
a4df942fe6
ts_51_011: add status word definition
Philipp Maier
2021-11-10 17:13:40 +01:00 -
6b590c5483
filesystem: CardProfile: initialize empty sw table as empty dict
Philipp Maier
2021-11-10 16:38:40 +01:00