Commit Graph

432 Commits

Author SHA1 Message Date
Gerrit Code Review
ab8cdff129 Update notes for submitted changes
* ara_m: Fix encoding of DeviceInterfaceVersionDO
2023-12-06 01:07:35 +00:00
Gerrit Code Review
999c380d76 Update notes for submitted changes
* filesystem: add flag to tell whether an ADF supports an FS or not
2023-12-05 17:37:37 +00:00
Gerrit Code Review
d37156caed Update notes for submitted changes
* perform multiple GET RESPONSE cycles if more data is available
2023-12-05 17:07:58 +00:00
Gerrit Code Review
13354d49f4 Update notes for submitted changes
* pySim-shell: Do not use self.lchan.scc when sending raw APDUs.
2023-11-29 15:30:10 +00:00
Gerrit Code Review
3093da4835 Update notes for submitted changes
* pySim-shell: refuse to execute a startup script on initialization errors
* app: do not catch exceptions in init_card
2023-11-28 15:42:06 +00:00
Gerrit Code Review
b5275d55d5 Update notes for submitted changes
* ts_31_102: correct name of EF_ePDGId
2023-11-15 21:28:55 +00:00
Gerrit Code Review
7b8c574fdc Update notes for submitted changes
* runtime: fix tracking of selected_adf
2023-11-09 14:43:08 +00:00
Gerrit Code Review
50d257d60d Update notes for submitted changes
* pySim-shell: Move init_card() function to new pySim.app module
2023-11-09 12:36:47 +00:00
Gerrit Code Review
281a945c6e Update notes for submitted changes
* transport: Log it explicitly if user doesn't specify a reader
* Use construct 'Flag' instead of 'Bit' for type descriptions
2023-11-04 15:55:59 +00:00
Gerrit Code Review
f104b72555 Update notes for submitted changes
* sysmocom_sja2: Add some de/encode test vectors
* pySim-shell: Reject any non-decimal PIN values
* pySim-shell: permit string with spaces for 'echo' command
* pySim-shell: Validate that argument to 'apdu' command is proper hexstr
* pySim-shell: Improved argument validation for verify_adm argument
2023-11-03 07:29:33 +00:00
Gerrit Code Review
76102b1a7d Update notes for submitted changes
* pySim-shell: Use argparser for verify_adm to support --help
* pySim-shell: Add copyright statement and link to online manual to banner
* docs: shell: Various documentation updates/extensions
* docs: shell: update output in examples
* docs: Fix docstring syntax to avoid warnings
* docs: shell: Re-order the command sections/classes
2023-11-02 23:43:05 +00:00
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