Commit Graph

335 Commits

Author SHA1 Message Date
Gerrit Code Review
bc623cc330 Update notes for submitted changes
* ts_51_011: Support EF.SDN
* ts_51_011: Fix bit-order in EF.VGCSS and EF.VBSS
* gsm_r: Fix byte/nibble ordering of predefined_value1
* gsm_r: EF_Predefined: Decode first record different from others
2023-01-28 16:31:36 +00:00
Gerrit Code Review
88d1a87949 Update notes for submitted changes
* Prepare for decoding/encoding records differently based on record number
2023-01-27 19:49:37 +00:00
Gerrit Code Review
44333e8849 Update notes for submitted changes
* gsm_r: Fix decoding of EF.FN
2023-01-24 20:00:38 +00:00
Gerrit Code Review
1cbf9a38ea Update notes for submitted changes
* gsm_r: Fix typo (it's EF.FN, not EF.EN)
2023-01-24 19:14:34 +00:00
Gerrit Code Review
71f29bb3ee Update notes for submitted changes
* pySim-trace: Also consider SW 91xx as successful
* pySim-trace: Fix missing MANAGE CHANNEL decode
* pySim-trace: Add support for reading GSMTAP from pcap files
2023-01-24 13:08:29 +00:00
Gerrit Code Review
27ccd9d6ea Update notes for submitted changes
* cards: also program EF.AD under ADF.USIM
2023-01-23 10:51:40 +00:00
Gerrit Code Review
5894b6be24 Update notes for submitted changes
* cards: fix typo
2023-01-03 13:03:59 +00:00
Gerrit Code Review
8ea662fbd0 Update notes for submitted changes
* pySim-prog: add python docstring for read_params_csv
2022-12-23 11:15:47 +00:00
Gerrit Code Review
c8751da6cb Update notes for submitted changes
* sysmocom_sja2: simplify and fix op/opc decoder/encoder
2022-12-02 16:27:39 +00:00
Gerrit Code Review
717e4f14ff Update notes for submitted changes
* OTA: Adjust IV length for AES
2022-11-25 14:27:27 +00:00
Gerrit Code Review
78875ad225 Update notes for submitted changes
* contrib/jenkins.sh: split test/pylint/docs
2022-11-07 08:16:13 +00:00
Gerrit Code Review
4e36f18c1f Update notes for submitted changes
* docs: allow overriding OSMO_GSM_MANUALS_DIR
2022-10-24 11:29:13 +00:00
Gerrit Code Review
2fa27c0e83 Update notes for submitted changes
* Revert "contrib/jenkins.sh: pylint v2.15 is unstable, pin v2.14.5"
2022-09-14 05:00:33 +00:00
Gerrit Code Review
0b23ec5b85 Update notes for submitted changes
* Add new pySim.ota library, implement SIM OTA crypto
2022-09-08 13:55:34 +00:00
Gerrit Code Review
821f2a9963 Update notes for submitted changes
* README.md: update installation instructions for Debian
2022-09-08 08:23:07 +00:00
Gerrit Code Review
f6655cae54 Update notes for submitted changes
* README.md: update git URLs (git -> https; gitea)
* README.md: list recent dependencies from requirements.txt
* README.md: fix module name: s/serial/pyserial/
* README.md,requirements.txt: add missing construct version info
* Bump minimum required construct version to v2.9.51
2022-09-05 17:15:34 +00:00
Gerrit Code Review
b3e40cbaa7 Update notes for submitted changes
* construct: use Python's API for int<->bytes conversion
* contrib/jenkins.sh: install dependencies from requirements.txt
* contrib/jenkins.sh: execute this script with -x and -e
2022-09-05 16:42:43 +00:00
Gerrit Code Review
155f0fa602 Update notes for submitted changes
* contrib/jenkins.sh: speed up pylint by running multiple processes
* contrib/jenkins.sh: pylint v2.15 is unstable, pin v2.14.5
2022-09-05 11:27:50 +00:00
Gerrit Code Review
9ac9ca96e1 Update notes for submitted changes
* proactive: Send a Terminal Response automatically after a Fetch
* proactive: Avoid clobbering the output of the command that triggered the FETCH
2022-08-21 13:16:24 +00:00
Gerrit Code Review
e1b096c55d Update notes for submitted changes
* tlv: Use self._compute_tag() method rather than direct self.tag
2022-08-07 14:59:50 +00:00
Gerrit Code Review
f48fd0bdf9 Update notes for submitted changes
* apdu/ts_102_221: SELECT: allow select of SELF
* apdu/ts_102_221: SELECT: allow select of parent/ancestor DFs
* filesystem: We can select not just immediate parent DF but all ancestors
2022-07-26 06:11:44 +00:00
Gerrit Code Review
77aa0f8609 Update notes for submitted changes
* apdu/ts_102_221: Fix SELECT of 3f00
* apdu/ts_102_221: Implement SELECT case "df_ef_or_mf_by_file_id"
* filesystem.py: Make CardDF.get_selectables() respect the flags
2022-07-25 12:21:59 +00:00
Gerrit Code Review
686ba703c4 Update notes for submitted changes
* pySim-trace: Don't print argparse object at start-up
* pySim-trace: Fix --no-suppress-{select.status} command line arguments
* pySim-trace: Support SELECT with empty response body
2022-07-25 12:20:47 +00:00
Gerrit Code Review
7f612c8cb9 Update notes for submitted changes
* sim-rest-server: Report meaningful error message if PIN is blocked
2022-07-23 12:29:00 +00:00
Gerrit Code Review
ce6ef85873 Update notes for submitted changes
* sim-rest-server: Render error messages as JSON
2022-07-23 12:28:54 +00:00
Gerrit Code Review
2227906def Update notes for submitted changes
* pySim-shell: Add a "version" command to print the pySim package version
2022-07-23 12:28:37 +00:00
Gerrit Code Review
0f531bf554 Update notes for submitted changes
* Introduce APDU/TPDU trace decoder
* sysmocom_sja2: Prevent KeyError/None exception on encode
2022-07-23 10:37:48 +00:00
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