Commit Graph

308 Commits

Author SHA1 Message Date
Gerrit Code Review
1f4fa3956f Update notes for submitted changes
* ts_31_102: Fix EF_EPSLOCI argument ordering
2022-07-22 10:40:01 +00:00
Gerrit Code Review
25a81d76f4 Update notes for submitted changes
* Never use Bytes without any 'Adapter'
* EF.AD: Avoid NotImplementedErrror regarding network names
* tlv: Make NotImplementedError more verbose
* README: Mention the manual can also be built from the source
2022-07-21 13:41:57 +00:00
Gerrit Code Review
8ede4d5e8c Update notes for submitted changes
* pySim/ts_102_222.py: remove ununsed imports from 'cmd2'
2022-07-14 17:14:50 +00:00
Gerrit Code Review
dd7855dbd8 Update notes for submitted changes
* pySim-shell.py: remove unused imports of 'bg' from 'cmd2'
2022-07-14 17:14:41 +00:00
Gerrit Code Review
45ad922d5d Update notes for submitted changes
* sim-rest-server: Set Content-Type: application/json on response
2022-07-08 20:24:07 +00:00
Gerrit Code Review
f91671e6b8 Update notes for submitted changes
* scripts/deactivate-5g.script: Also disable service 126
2022-07-08 20:23:59 +00:00
Gerrit Code Review
caf5ac6019 Update notes for submitted changes
* Py2 -> Py3: do not inherit classes from object
2022-07-07 09:53:49 +00:00
Gerrit Code Review
6721b8fc6a Update notes for submitted changes
* cards: populate ADM1 key reference member
2022-06-21 10:08:51 +00:00
Gerrit Code Review
f4e7075d66 Update notes for submitted changes
* pySim-shell: set default ADM key reference
2022-06-14 19:57:39 +00:00
Gerrit Code Review
4f39ef4186 Update notes for submitted changes
* ts_102_221: The BTLV IEs FILE SIZE and TOTAL FILE SIZE have a min length
2022-06-11 06:04:39 +00:00
Gerrit Code Review
0d16d57f45 Update notes for submitted changes
* commands: add ".." notation to expand hexstrings
2022-06-10 14:26:05 +00:00
Gerrit Code Review
9e94e59795 Update notes for submitted changes
* pySim-shell: catch exceptions from walk() while exporting
2022-06-03 08:25:38 +00:00
Gerrit Code Review
60482720b9 Update notes for submitted changes
* pySim-shell: extend walk() so that we can also have an action of ADF or DF
2022-06-03 08:17:57 +00:00
Gerrit Code Review
0eefb58519 Update notes for submitted changes
* pySim-shell: match SW in apdu command
2022-06-03 08:17:00 +00:00
Gerrit Code Review
e8a4b16b19 Update notes for submitted changes
* pySim-shell: make APDU command available on the lowest level
2022-06-03 08:07:42 +00:00
Gerrit Code Review
a16658bb8f Update notes for submitted changes
* ts_102_221: fix SFI generation
2022-06-02 08:43:54 +00:00
Gerrit Code Review
e94d4334f8 Update notes for submitted changes
* filesystem: also return the encoded FCP from probe_file
2022-06-02 08:42:27 +00:00
Gerrit Code Review
a576cb13c8 Update notes for submitted changes
* pySim-shell: more generic export options
2022-05-31 10:22:04 +00:00
Gerrit Code Review
ccd89f4848 Update notes for submitted changes
* pySim-shell: explain why we insist on a DF or ADF
2022-05-19 08:30:14 +00:00
Gerrit Code Review
b6218276cb Update notes for submitted changes
* ts_102_222: Set number of records when creating linear files
2022-05-06 11:04:51 +00:00
Gerrit Code Review
6b5529b7e1 Update notes for submitted changes
* transport/pcsc: throw ReaderError with a message
2022-04-25 17:01:35 +00:00
Gerrit Code Review
70bd79511c Update notes for submitted changes
* SimCard.reset(): fix SyntaxWarning: 'is' with a literal
2022-04-25 14:59:16 +00:00
Gerrit Code Review
4d1680d18e Update notes for submitted changes
* ts_102_221: Add encode/write support of EF.ARR records
* utils: Add DataObjectSequence.encode_multi()
* utils: Fix bugs in DataObject encoders
2022-04-05 13:00:19 +00:00
Gerrit Code Review
cbbe297eeb Update notes for submitted changes
* ts_31_103: Correct file-id of EF.DOMAIN in ADF.ISIM
2022-03-27 11:47:59 +00:00
Gerrit Code Review
adeec2345d Update notes for submitted changes
* ts_31_102: Avoid pylint false positive
2022-03-27 10:43:27 +00:00
Gerrit Code Review
54cb71cf11 Update notes for submitted changes
* pySim-shell: Add 'decode_hex' command for transparent + linear EF
2022-03-01 16:48:22 +00:00
Gerrit Code Review
c924a9f405 Update notes for submitted changes
* Initial support for GlobalPlatform
2022-03-01 16:32:15 +00:00
Gerrit Code Review
fa65297e5d Update notes for submitted changes
* ts_31_102: Further decode TAI in EF.OPL5G
* ts_31_102: Further decode LAI in EF_LOCI
* ts_51_011: Better decode of EF_OPL LAI
* ts_51_011: Properly decode EF.OPL
* ts_31_102: Fix decoding of UServiceTable
2022-02-25 18:19:00 +00:00
Gerrit Code Review
affa3fd7ef Update notes for submitted changes
* ts_102_221: Fix decoding the 'num_of_rec' field
* ts_102_221: properly decode short file identifier
2022-02-25 12:41:47 +00:00
Gerrit Code Review
b21262b796 Update notes for submitted changes
* add scripts/deactivate-ims.script to deactivate IMS related services
2022-02-21 09:05:42 +00:00
Gerrit Code Review
4bb9f2f07b Update notes for submitted changes
* Add scripts/deacivate-5g.script
* doc: Improve documentation in various places
* docs: Document missing 'status' command in 7816 section
* shell: Proper argparser (for help + manual) activate_file
* pySim-shell: export: Add FCP template to export
* docs/legcay.txt: Point to pySim-shell as replacement
* pySim-shell: support TS 102 222 administrative commands
* ts_102_221: Implement File Descriptor using construct
2022-02-18 11:56:45 +00:00
Gerrit Code Review
dc5f7df482 Update notes for submitted changes
* pySim-shell: Allow selecting of deep paths like DF.GSM/EF.IMSI
* ts_31_103: TLV definitions for IMS, XCAP and MudMid configuration
* ts_51_011: EF_CMI: Decoder the alpha_id string
* ts_51_011: Convert EF_ADN and EF_ACC to Construct
* ts_51_011: Proper decode of EF.SMSP
* Improve IST/UST check documentation (for the user manual)
* ust_service_check: proper treatment of files in sub-directories
* ts_31_102: service annotations for DF.{5GS,WLAN,HNB}
* ts_31_102: Use perror() instead of poutput() for errors
* ts_31_102: Add more EF.UST checks to 'ust_service_check' command
* filesystem: Fix CardMF.get_app_names()
* Split EF.UST handling from EF.IST and EF.SST
* ts_31_102: Add "ust_service_check" command.
2022-02-17 11:41:29 +00:00
Gerrit Code Review
c891f8ef37 Update notes for submitted changes
* README.md: Remove old usage examples, refer to user manual instead
2022-02-15 14:46:05 +00:00
Gerrit Code Review
4d9e15fc9a Update notes for submitted changes
* commands: Add method to select parent DF ("cd ..")
* cosmetic: Remove extraneous empty lines between spec-section-comment and class
* USIM + ISIM: Specify the services associated with each file
* filesystem: Maintain a 'service' attribute for all files on a card
* pySim-shell: introduce 'apdu' command for sending raw APDU to card
* pySim-shell: export: allow export as JSON instead of hex
2022-02-14 18:34:28 +00:00
Gerrit Code Review
daa0f4b78b Update notes for submitted changes
* ts_102_221: Proper parsing of FCP using pySim.tlv instead of pytlv
* tlv: Don't raise exception if somebody passes empty data to TLV decoder
* filesystem: Don't pass empty string to parse_select_response()
* Extend unit test coverage for construct, add [some] tests for TLV
* construct: Add Construct for variable-length int 'GreedyInteger'
2022-02-14 10:10:57 +00:00
Gerrit Code Review
17fb49adcb Update notes for submitted changes
* tlv: Convert CamelCase class name to snake_case in json
* tlv: Function for flattening the list-of-dict output of TLV decoder
2022-02-12 08:33:45 +00:00
Gerrit Code Review
8f6b7238e3 Update notes for submitted changes
* utils: Fix missing Optional[] in type annotations
* cosmetic: Switch to consistent four-spaces indent; run autopep8
2022-02-11 13:50:38 +00:00
Gerrit Code Review
ea9c82cfe5 Update notes for submitted changes
* ts_102_221: Implement proper parsing of EF.DIR
* filesystem.py: Accept both a class or an instance as TLV._tlv member
2022-02-11 12:31:22 +00:00
Gerrit Code Review
50a1ec2d9f Update notes for submitted changes
* ts_31_102: TLV._tlv must point to the class, not an instance
* filesystem: Fix TLV decode/encode
* Better decode of EF.UST, EF.EST and EF.IST
* utils.py: Fix some tuple type annotations
* utils.py: type annotations for DataObject related methods
2022-02-10 18:31:53 +00:00
Gerrit Code Review
ef8243af23 Update notes for submitted changes
* ts_102_221: Handle nested security condition data objects
2022-02-10 16:21:04 +00:00
Gerrit Code Review
062c26d50c Update notes for submitted changes
* ts_51_011: Fix type annotation for Tuple[int, int]
2022-02-10 16:20:54 +00:00
Gerrit Code Review
f9e1a19cc2 Update notes for submitted changes
* ts_51_011: Fix typo in EF_MMSUP
* ts_31_102: EF.PNN encoding is identical to that of DF.GSM
2022-02-09 20:23:27 +00:00
Gerrit Code Review
0ab9281ff7 Update notes for submitted changes
* publish also the HTML manual for pySim
2022-02-09 20:18:08 +00:00
Gerrit Code Review
05fb5246d4 Update notes for submitted changes
* contrib/jenkins.sh: Fix PUBLISH
* contrib/jenkins.sh: first upload manuals, then execute physical tests
2022-02-09 17:25:27 +00:00
Gerrit Code Review
640dcd4d8b Update notes for submitted changes
* avoid pylint E0611: No name 'strxor' in module 'Crypto.Util.strxor'
* update pyyaml dependency to >= 5.1
2022-02-09 15:57:11 +00:00
Gerrit Code Review
4f9268c4e7 Update notes for submitted changes
* implement shell command to update PLMN in IMSI
2022-01-31 11:55:12 +00:00
Gerrit Code Review
7a086d846d Update notes for submitted changes
* transport/serial: fix for Python 3
2022-01-25 01:01:17 +00:00
Gerrit Code Review
ff56ca3c27 Update notes for submitted changes
* ts_102_221: decode/encode EF.PL
* pySim-shell: alphabetically sort name of files in 'dir' command
* cosmetic: Use EF.FDN instead of EF_FDN in ts_51_011.py
* ts_31_102: Add support for EF.ECC (emergency call codes)
2022-01-22 12:59:02 +00:00
Gerrit Code Review
6fa1f4cf87 Update notes for submitted changes
* add missing bit definition for NG-RAN in xAcT
2022-01-22 12:58:00 +00:00
Gerrit Code Review
4dc750e590 Update notes for submitted changes
* catch and ignore SwMatchError on probing for AID's
2022-01-21 11:14:43 +00:00