Gerrit Code Review
6d760f2b1e
Update notes for submitted changes
...
* move {enc,dec}_addr_tlv functions from pySim.util to pySim.legacy.util
* isim: Replace legacy imperative address TLV encoder/decoder with construct
* bertlv_parse_len: Fix input data is smaller than num length octets
* usim: Properly decode/encode IPv4 + IPv6 addresses
* usim: ePDGId + ePDGSelection: Fix encoder/decoder + add test cases
* usim: Add EF.ePDGSelection + EF.ePDGSelectionEm support
* USIM: add support for EG.ePDGIdEm (Emergency ePDG)
2023-12-17 10:46:31 +00:00
Gerrit Code Review
503a090fa1
Update notes for submitted changes
...
* filesystem: fix typo
* runtime: refactor file selection methods select and select_file
* filesystem: use sort path when selecting an application
2023-12-16 19:45:59 +00:00
Gerrit Code Review
a2a31795fc
Update notes for submitted changes
...
* runtime: explain how file probing works
2023-12-13 09:02:30 +00:00
Gerrit Code Review
2c0b9795cf
Update notes for submitted changes
...
* euicc: Fix TLV IE definitions for SetNickname{Req,Resp}
* euicc: Fix encoding of Lc value in STORE DATA
* euicc: the ICCID TLV object uses bcd-swapped-nibble encoding
2023-12-07 22:33:59 +00:00
Gerrit Code Review
ce801bfa85
Update notes for submitted changes
...
* pySim-shell: don't get trapped in applications without file system
2023-12-07 13:21:07 +00:00
Gerrit Code Review
cbdec5d06d
Update notes for submitted changes
...
* euicc: Fix encoding of {enable,disable,delete}_profile
* tlv: Fix encoding of zero-valued TLVs
2023-12-07 13:19:52 +00:00
Gerrit Code Review
c662305ed9
Update notes for submitted changes
...
* runtime: cosmetic: prnounce file reference data
* runtime: explain why we may access the card object directly
* runtime: do not use the _scc object of the card object to select MF
2023-12-07 13:19:08 +00:00
Gerrit Code Review
62b9a5fa68
Update notes for submitted changes
...
* flatten_dict_lists(): Don't flatten lists with duplicate keys
2023-12-06 14:09:11 +00:00
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