Commit Graph

404 Commits

Author SHA1 Message Date
Gerrit Code Review
ae64b5bb50 Update notes for submitted changes
* filesystem: add attribute "leftpad" to class LinFixedEF
* commands: make method verify_binary and verify_record private
2023-09-12 09:21:50 +00:00
Gerrit Code Review
28d18a3a62 Update notes for submitted changes
* pySim-shell: fix commandline option -a (verify_adm)
2023-09-06 14:07:41 +00:00
Gerrit Code Review
1abcb7e7c5 Update notes for submitted changes
* sim-reset-server: fix error printing sw_match_error
2023-09-06 11:59:56 +00:00
Gerrit Code Review
8cce507320 Update notes for submitted changes
* sim-rest-server: fix REST method info
2023-08-29 10:38:48 +00:00
Gerrit Code Review
466ebb6678 Update notes for submitted changes
* sim-rest-server: use UiccCardBase instead of UsimCard
* sim-rest-server: do not select ADF.USIM in connect_to_card
* cards: get rid of method read_iccid
2023-08-21 18:36:10 +00:00
Gerrit Code Review
08d7464361 Update notes for submitted changes
* README.md: sort dependencies, document smpp.pdu
* setup.py: fix package name
2023-08-17 15:00:52 +00:00
Gerrit Code Review
647936a48d Update notes for submitted changes
* pySim-shell: check presence of runtime state before accessing it
2023-08-11 09:41:22 +00:00
Gerrit Code Review
9d8103d11b Update notes for submitted changes
* pySim-prog_test: fix typo
* pySim-trace_test: verify output of pySim-trace.py
* pySim-trace_test: fix shebang line
2023-08-02 19:54:47 +00:00
Gerrit Code Review
a3a6ebc9c0 Update notes for submitted changes
* README.md: Add note about pySim-trace.py dependencies
* pysim-test: rename pysim-test.sh to pySim-prog_test.sh
* tests: add test script for pySim-trace
2023-07-29 08:56:07 +00:00
Gerrit Code Review
cf92bbd3a4 Update notes for submitted changes
* Fix the remaining functions using the broken Card.update_ust() call
* ARA-M: fix encoding of the PkgRefDO when using aram_store_ref_ar_do
2023-07-29 06:23:15 +00:00
Gerrit Code Review
5120750fbf Update notes for submitted changes
* utils.py: remove superfluous import from itself
2023-07-29 06:22:11 +00:00
Gerrit Code Review
8128e1bc19 Update notes for submitted changes
* Reimplement ust_service_activate and ust_service_deactivate for USIM/EF.UST
2023-07-28 15:34:40 +00:00
Gerrit Code Review
c109673ad3 Update notes for submitted changes
* pySim-trace: catch StopIteration exception on trace file end
2023-07-28 09:07:37 +00:00
Gerrit Code Review
059a652339 Update notes for submitted changes
* pySim-trace: remove stray debug print
2023-07-28 08:20:14 +00:00
Gerrit Code Review
a3e2f151cb Update notes for submitted changes
* pySim-trace: add commandline option --show-raw-apdu
2023-07-28 08:12:43 +00:00
Gerrit Code Review
18a6141247 Update notes for submitted changes
* construct: add adapter Utf8Adapter to safely interpret utf8 text
2023-07-27 06:52:27 +00:00
Gerrit Code Review
41a94a2e27 Update notes for submitted changes
* Fixed `mnc` encoding
2023-07-21 11:09:49 +00:00
Gerrit Code Review
f55c93648c Update notes for submitted changes
* runtime: fix lchan deletion in method reset
2023-07-21 10:48:12 +00:00
Gerrit Code Review
b4aa9a9a54 Update notes for submitted changes
* apdu/ts_102_221: extract channel number from dict before calling del_lchan
2023-07-20 16:19:23 +00:00
Gerrit Code Review
495dde15e5 Update notes for submitted changes
* pySim-shell: fix verify_adm command
* cards: fix swapped PIN mapping number
2023-07-20 15:44:46 +00:00
Gerrit Code Review
e5b5530fd4 Update notes for submitted changes
* pySim-shell: Add a mode where a pySim-shell cmd can be passed by shell
* move Runtime{State,Lchan} from pySim.filesystem to new pySim.runtime
* pySim/filesystem.py: remove unused class FileData
* pySim-shell: Iterate over CardApplication sub-classes
* ts_102_221: Remove CardProfileUICCSIM
* Introduce concept of CardProfileAddon
2023-07-18 06:29:35 +00:00
Gerrit Code Review
73730a4bb7 Update notes for submitted changes
* cdma_ruim: Fix unit tests and actually enable them
* cards: all UICC should use sel_ctrl="0400" and SIM "0000"
* cards: cosmetic rename, argument name should be scc, not ssc
* cards: All derived of SimCardBase use CLA=A0; all UiccCardBase use CLA=00
* ts_31_102, ts_31_103: Move legacy-only code to pySim.legacy
* create pySim.legacy.ts_51_011.py and move legacy code there
2023-07-18 06:29:08 +00:00
Gerrit Code Review
7b6333a45d Update notes for submitted changes
* pySim/cards: Add type annotations
* split pySim/legacy/{cards,utils} from pySim/{cards,utils}
2023-07-17 17:48:32 +00:00
Gerrit Code Review
922a051dc2 Update notes for submitted changes
* pySim/cards: Split legacy classes away from core SIM + UICC
2023-07-17 17:48:12 +00:00
Gerrit Code Review
10ed72265e Update notes for submitted changes
* filesystem: Support selecting MF from MF
2023-07-12 18:53:39 +00:00
Gerrit Code Review
0a5fd246c6 Update notes for submitted changes
* pySim-prog: Also accept 18-digit ICCIDs
* GlobalPlatform ADF.SD: Add command line reference + error message
* ts_102_222: Remove unneeded imports
* pySim/transport: Use newly-defined ResTuple type
* pySim/commands.py: Better type annotations
* pySim/transport: More type annotations
* pySim/utils: define 'Hexstr' using NewType
* pySim/tlv.py: Fix TLV_IE_Collection from_dict with nested collections
2023-07-12 16:13:22 +00:00
Gerrit Code Review
173bed21c5 Update notes for submitted changes
* pySim/tlv.py: Don't create an exception from within raise
* TLV_IE_Collection: use snake-style names during from_dict()
2023-07-11 09:11:55 +00:00
Gerrit Code Review
94ceb4fa80 Update notes for submitted changes
* pySim-shell: Unregister profile commands during equip
2023-07-09 08:12:28 +00:00
Gerrit Code Review
9bd60018da Update notes for submitted changes
* pySim-shell: Support USIM specific methods/commands on unknown UICC
2023-07-09 08:11:27 +00:00
Gerrit Code Review
c3fb8715ad Update notes for submitted changes
* ts_31_103: enable encode tests for files containing single TLV IE
* tlv: Fix IE.from_dict() method
* cosmetic: Implement cmd2.Settable backwards-compat via wrapper class
* work-around what appears to be a pylint bug
2023-06-27 08:37:35 +00:00
Gerrit Code Review
b2cc5061ab Update notes for submitted changes
* Fix run-editor bug with cmd2 >= 2.0.0 compatibility
2023-06-26 08:33:54 +00:00
Gerrit Code Review
b54d9908b9 Update notes for submitted changes
* tests: Add new, data-driven OTA tests
* Add support for encoding/decoding SMS in TPDU and SMPP format
2023-06-25 06:23:45 +00:00
Gerrit Code Review
846786a75a Update notes for submitted changes
* docs: Add section on pySim-trace to user manual
2023-06-13 15:10:25 +00:00
Gerrit Code Review
6e17a3d9e6 Update notes for submitted changes
* pySim-shell: fix reset command
2023-06-11 19:11:37 +00:00
Gerrit Code Review
6f6eaabe76 Update notes for submitted changes
* Add ".py" suffix to sphinx-argparse generated docs
2023-06-11 19:10:39 +00:00
Gerrit Code Review
9a7cb97167 Update notes for submitted changes
* 31.102: Fix EF.Routing_Indicator for odd number of digits
* README: remove redundancy 'Manual' and 'Documentation
* README: rephrase initial section; add HPSIM; programmable vs. standard
* test_ota: Add one first OTA SMS AES128 unit test
* SJA5: EF.USIM_AUTH_KEY: Display / enforce proper length TUAK K
2023-06-11 19:10:26 +00:00
Gerrit Code Review
603e5f5843 Update notes for submitted changes
* ts_31_102: Add shell command for GET IDENTITY
2023-06-07 15:54:17 +00:00
Gerrit Code Review
9ac3e68708 Update notes for submitted changes
* serial: return a return code in reset_card()
2023-06-07 10:00:52 +00:00
Gerrit Code Review
9d7618b374 Update notes for submitted changes
* utils: Remove format_xplmn leading zeros in MNC
* Add FPLMN read and program
2023-06-07 10:00:07 +00:00
Gerrit Code Review
ce4d927782 Update notes for submitted changes
* ts_31_102: fix typo
2023-06-07 07:51:01 +00:00
Gerrit Code Review
432d443241 Update notes for submitted changes
* Fix result parsing of "suspend_uicc"
* pySim-shell: Unregister TS 102 222 commands during 'equip'
2023-06-06 16:26:15 +00:00
Gerrit Code Review
472ae93c63 Update notes for submitted changes
* HPSIM application support
2023-06-06 16:25:49 +00:00
Gerrit Code Review
71389ca5e5 Update notes for submitted changes
* Switch from pycryptodome to pycryptodomex
2023-06-06 08:55:46 +00:00
Gerrit Code Review
8a762d8f65 Update notes for submitted changes
* OTA: Fix padding of AES CMAC
* SJA5: Proper encode/decode of TUAK data in EF.USIM_AUTH_KEY
* SJA5: Add TUAK + XOR-2G algorithm definitions for EF_[U]SIM_AUTH_KEY
* SJA2: Implement DF.SYSTEM/EF.0348_KEY using construct
* ts_31_102: EF_SUPI_NAI: Decode/Encode GLI+GCI as UTF-8 strings
* ts_31_102: Add decoder/encoder for DF.5GS/EF.Routing_Indicator
2023-06-03 12:45:35 +00:00
Gerrit Code Review
a2e0ebaf1e Update notes for submitted changes
* modem_atcmd: raise ProtocolError instead of ReaderError on CME ERROR
2023-06-02 15:35:43 +00:00
Gerrit Code Review
0cd2c5c450 Update notes for submitted changes
* setup.py: fix syntax errors (missing commas)
2023-05-30 09:45:29 +00:00
Gerrit Code Review
20505761d3 Update notes for submitted changes
* cards: Add support for Gialer SIM cards
* docs: add SUPI/SUCI usage example
2023-05-27 10:58:08 +00:00
Gerrit Code Review
5aae08829a Update notes for submitted changes
* cards.py: support ATR-based detection of sysmoISIM-SJA5
* ts_31_102: Add DF.SAIP support
2023-05-26 14:38:40 +00:00
Gerrit Code Review
53b1396b38 Update notes for submitted changes
* ts_31_102: Fix FID + SFI of EF.MCHPPLMN
* ts_31_102: Fix FID of EF.OPL5G (it's 4F08 instead of 6F08)
* ts_31_102: Fix EF.NIA FID
* ts_51_011: Fix EF.Phase FID (it's 6FAE, not 6FA3)
* ts_51_011: Fix FID of EF.BCCH
* ts_31_102: Extend from Rel16 to Rel17
* ts_51_011: Add sst_service_[de]{activate,allocate} shell commands
2023-05-25 07:55:44 +00:00
Gerrit Code Review
9824093dad Update notes for submitted changes
* setup.py: add missing packages for pySim-trace.py
2023-05-24 09:03:01 +00:00