Commit Graph

421 Commits

Author SHA1 Message Date
Gerrit Code Review
fafd48fe82 Update notes for submitted changes
* docs: shell: link to cmd2 documentation
* docs: shell: By now we have encoders/decoders for most files
* docs: shell: Clarify various different card support
2023-11-02 21:45:02 +00:00
Gerrit Code Review
c5578e136c Update notes for submitted changes
* filesystem: fix method build_select_path_to
2023-11-01 14:31:01 +00:00
Gerrit Code Review
5f6cd4f9c3 Update notes for submitted changes
* runtime: cosmetic: fix formatting of comment
2023-11-01 14:30:42 +00:00
Gerrit Code Review
f5c9056c60 Update notes for submitted changes
* transport: print reader device/number on init
2023-10-26 15:17:07 +00:00
Gerrit Code Review
493c1e4ed3 Update notes for submitted changes
* euicc: add some first IoT eUICC commands (GSMA SGP.32)
* euicc: Add get_profiles_info command
* Initial support for eUICC
2023-10-26 15:16:31 +00:00
Gerrit Code Review
bd285cafbe Update notes for submitted changes
* transport: move argument parser setup into concrete classes
* transport: move init message into concrete classes
2023-10-24 19:28:34 +00:00
Gerrit Code Review
8a9fe64ec6 Update notes for submitted changes
* utils: Fix bertlv_encode_tag() for multi-byte tags
* pySim-shell: Include current logical channel in prompt
* pySim-shell: Add 'switch_channel' command
2023-10-24 16:42:41 +00:00
Gerrit Code Review
0c6192e02b Update notes for submitted changes
* prevent SimCardCommands.select_adf_by_aid bypassing lchan
* pySim-shell: Create + use per-RuntimeLchan SimCardCommands
* commands.py: Add support for multiple logical channels.
2023-10-24 13:26:55 +00:00
Gerrit Code Review
0acc00ee64 Update notes for submitted changes
* docs: Fix command reference for 'apdu' command
2023-10-24 09:06:19 +00:00
Gerrit Code Review
1ed01927b7 Update notes for submitted changes
* RuntimeState: Add type annotation for 'card' argument
* pySim-shell: Create/delete RuntimeLchan objects on open/close of channel
* cards.py: Fix type annotation
2023-10-22 08:38:56 +00:00
Gerrit Code Review
3008f8963a Update notes for submitted changes
* pySim-shell: do not fail when EF.ICCID does not exist
2023-10-20 20:51:24 +00:00
Gerrit Code Review
bdfd1a319b Update notes for submitted changes
* Use keyword argument for file description argument
* ts_31_102: Fix initialization of file size
2023-10-20 20:48:01 +00:00
Gerrit Code Review
f1bc700b0c Update notes for submitted changes
* transport: do not catch exceptions in init_reader
2023-10-18 15:06:51 +00:00
Gerrit Code Review
1c7fccec73 Update notes for submitted changes
* transport: add return type annotation to method __str__
2023-10-16 12:18:16 +00:00
Gerrit Code Review
c6ac5f15ab Update notes for submitted changes
* pySim-shell: print device info in case an exception occurs
2023-10-10 09:58:25 +00:00
Gerrit Code Review
11185f4a0b Update notes for submitted changes
* pySim-shell: do not pass failed card object to PysimApp
2023-10-10 09:43:13 +00:00
Gerrit Code Review
ed99052956 Update notes for submitted changes
* pySim-prog, pySim-shell do not use global variables
2023-10-10 09:25:36 +00:00
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