Commit Graph

580 Commits

Author SHA1 Message Date
Gerrit Code Review
b239182b02 Update notes for submitted changes
* pySim-shell: rework startup procedure and introduce non interactive mode
2024-09-04 07:15:14 +00:00
Gerrit Code Review
cb20d7537f Update notes for submitted changes
* commands: avoid double lchan patching, get rid of cla_byte getter+setter methods
2024-09-03 21:17:28 +00:00
Gerrit Code Review
7a76f6afc2 Update notes for submitted changes
* esim.saip.templates: Fix expand_default_value_pattern for length==0
* pySim.esim.saip.ProfileElementGFM: Initialize 'fileManagementCMD'
* pySim.esim.saip.File: Turn file_size into a computed property
* pySim.esim.saip: Add missing initialization of File.df_name
* pySim.esim.saip: Another naming irregularity.
* pySim.esim.saip: Fix weird DF names
* remove pySim.gsmtap as it has moved to osmopython.gsmtap
* Migrate over to using pyosmocom
* contrib/jenkins.sh: Install dependencies before calling pylint
2024-09-03 21:16:43 +00:00
Gerrit Code Review
39c67534a4 Update notes for submitted changes
* suci-tutorial: put download links for specs to the front
2024-09-03 16:01:01 +00:00
Gerrit Code Review
6d71471d5b Update notes for submitted changes
* tests: move pySim-prog test and its data into a sub directory
2024-09-03 15:12:19 +00:00
Gerrit Code Review
6aace1a09a Update notes for submitted changes
* tests: move pySim-trace test and its data into a sub directory
2024-09-03 15:04:24 +00:00
Gerrit Code Review
939dd09ec5 Update notes for submitted changes
* contrib: script to generate "update" commands from diff of fsdumps
2024-08-31 13:48:46 +00:00
Gerrit Code Review
bf79a803c2 Update notes for submitted changes
* tests: move unittests into a sub directory
2024-08-30 05:51:48 +00:00
Gerrit Code Review
fc0f39086c Update notes for submitted changes
* suci-tutorial: fix incorrect hnet_pubkey value
2024-08-30 05:24:18 +00:00
Gerrit Code Review
358fc91f01 Update notes for submitted changes
* ts_31_102: Add mssing help string for get_identity parameter --nswo-context
2024-08-30 05:15:50 +00:00
Gerrit Code Review
3db6010ec6 Update notes for submitted changes
* scp: fix key length in dek_encrypt and dek_decrypt
2024-08-30 05:12:44 +00:00
Gerrit Code Review
177ed35fce Update notes for submitted changes
* global_platform: use scp_key_identity ICCID for ADF.ISD
2024-08-28 12:07:27 +00:00
Gerrit Code Review
547236cd49 Update notes for submitted changes
* global_platform: fix help description for establish_scp03
2024-08-28 12:07:05 +00:00
Gerrit Code Review
a6ca009819 Update notes for submitted changes
* pySim.esim.saip: Add missing entry for 'rfm' to class4petype
2024-08-27 14:23:40 +00:00
Gerrit Code Review
b63690707f Update notes for submitted changes
* pySim-shell: fix sourcecode formatting
2024-08-27 11:16:50 +00:00
Gerrit Code Review
a1df32da5d Update notes for submitted changes
* filesystem: fix double space in docstring
2024-08-26 12:03:53 +00:00
Gerrit Code Review
b2f810a583 Update notes for submitted changes
* pySim-shell: fix CardKeyProvider for chv management commands
* runtime: fix get_file_by_name
2024-08-23 06:51:37 +00:00
Gerrit Code Review
3b62d711f9 Update notes for submitted changes
* contrib/saip-tool: Add 'tree' command to display filesystem tree of profile
* osmo-smdpp: Proper error handling in case ctxParams1 is missing member
* Fix pySim.esim.es2p.Param.timestamp._encode
* pySim.esim.saip: maintain a parsed fileystem hierarchy
2024-08-23 06:51:07 +00:00
Gerrit Code Review
4a03d97e89 Update notes for submitted changes
* jenkins: use osmo-clean-workspace.sh before and after build
2024-08-21 19:04:04 +00:00
Gerrit Code Review
2c5cfae454 Update notes for submitted changes
* pySim.esim.saip.File: move away from stream for file content
* pySim.esim.saip: Fix key used in FsProfileElement.files2pe
* pySim.esim.saip: Fix typo in ProfileElementAKA.set_mapping() method
* pySim.esim.saip: Add some more docstring comments
* pySim.esim.saip: Back-reference from ProfileElement to ProfileElementSequence
* pySim.esim.saip: pass up **kwargs from ProfileElement sub-class constructors
* pySim.esim.saip: Move AKA specific post_dec + pre_enc to AKA subclass
* pySim.esim.saip: Refactor file size encoding into a method
* pySim.esim.saip: Improve File.from_template feature support
2024-08-21 14:23:23 +00:00
Gerrit Code Review
ea58b0ed9e Update notes for submitted changes
* contrib/saip-tool: Add command-line arguments to configure log level
2024-08-21 13:21:41 +00:00
Gerrit Code Review
8357fef344 Update notes for submitted changes
* pySim.esim.saip.oid: Allow OID instance in prefix_match()
* saip-tool: Set default log level to INFO (instead of DEBUG)
* pySim.filesystem: Permit Path object construction from FID integer list
* pySim.ts_102_221: Make sure FileDescriptor for BER-TLV contains file_type
* pySim.esim.saip.templates: Introduce dependency/hierarchy information
2024-08-17 05:17:20 +00:00
Gerrit Code Review
8b3b959ab7 Update notes for submitted changes
* filesystem: fix typo
2024-08-08 14:45:48 +00:00
Gerrit Code Review
a7fc8fb218 Update notes for submitted changes
* ara_m: add export support for the ARA-M application
2024-08-08 09:03:59 +00:00
Gerrit Code Review
c6daea8c20 Update notes for submitted changes
* filesystem: add export method for ADF files
2024-08-08 09:03:29 +00:00
Gerrit Code Review
9db1732c03 Update notes for submitted changes
* filesystem: add placeholder export method in CardFile base class
2024-08-08 09:02:59 +00:00
Gerrit Code Review
36b25c0845 Update notes for submitted changes
* pySim.cards: Make file_exists() check for activated/deactivated
2024-08-07 14:10:21 +00:00
Gerrit Code Review
0a727fbaa9 Update notes for submitted changes
* ara_m: fix --apdu-filter setting
2024-08-07 13:38:41 +00:00
Gerrit Code Review
3515ea9363 Update notes for submitted changes
* pySim.esim.saip.templates: Add expand_default_value() method
* pySim.esim.saip.templates: Fix '...' notation in default value
* pySim.esim.saip.templates: Explicitly specifiy repeatable default value
* pySim.esim.saip.templates: Add SaipSpecVersion
2024-08-05 15:56:15 +00:00
Gerrit Code Review
e0bcb7fcb9 Update notes for submitted changes
* pySim-shell: fix typo
2024-08-05 13:33:45 +00:00
Gerrit Code Review
fcf561a35d Update notes for submitted changes
* pySim.esim.saip.oid: Fix OID defininitions for v3.3.1 IoT templates
* pySim.filesystem: Add __len__ method to Path object
* pySim.esim.saip.templates: Update to SAIP v3.3.1 (July 2023)
* pySim.esim.saip.templates: Add a notion of the path of a file
* pySim.esim.saip.template: Permit file-size for BER-TLV files
* pySim.esim.saip: Add subcasses for EAP, DF.SNPN and DF.5G_ProSe
* pySim-shell: Support other ADMx values beyond ADM1 from 'verify_adm'
2024-08-04 11:02:10 +00:00
Gerrit Code Review
0764c51cbe Update notes for submitted changes
* pySim-shell: Support hexadecimal ADM pin in 'verify_adm'
2024-08-04 08:53:00 +00:00
Gerrit Code Review
0e6f195258 Update notes for submitted changes
* Support EF.ICCID and EF.PL on classic TS 51.011 SIM
2024-08-04 08:42:18 +00:00
Gerrit Code Review
54d8f66471 Update notes for submitted changes
* pySim.tlv: Fix from_dict of nested TLVs
* ara_m: Fix pySim.tlv.IE.from_dict() calls
* pySim.esim.saip: Add subclasses for gsm-access, phonebook, 5gs, saip
* pySim.esim.saip: Refactor from_der() method to have class_for_petype()
* pySim.esim.saip.templates: Build tree from template files
* Fix missing AIDs in pySim.saip templates
* Reference pySim.filesystem derived classes from SAIP templates
* pySim.esim.saip: Initial support for parsing GenericFileManagement
* pySim.ts_102_221: Add ProprietaryInformation sub-IEs of TS 102 222
* pySim.ts_102_221: Fix FileDescriptor encoding for BER-TLV case
* pySim.filesystem: Add Path for abstraction/utility around file system paths
2024-08-01 09:05:20 +00:00
Gerrit Code Review
01c69f5860 Update notes for submitted changes
* pySim.commands: make use of status word interpreter for CHV
2024-07-31 17:35:09 +00:00
Gerrit Code Review
6881f17e85 Update notes for submitted changes
* pySim-shell: add "fsdump" command
2024-07-29 11:00:31 +00:00
Gerrit Code Review
cfedb881bc Update notes for submitted changes
* pySim.tlv: Separate {to,from}_val_dict() from {to,from}_dict()
* pySim.commands: Don't convert SwMatchError to ValueError
* pySim.runtime: Be more verbose if incompatible method is called
* pySim.tlv: Add convenience methods to IE class
* pySim.esim.saip: Decode each 'File' element in ProfileElement
* pySim.esim.saip: Add OID comparison functions
2024-07-29 10:48:12 +00:00
Gerrit Code Review
a954b6df3c Update notes for submitted changes
* ara_m: fix misspelled object name
* ara_m: fix sourcecode formatting
* pySim-shell: fix comment formatting
2024-07-27 08:22:57 +00:00
Gerrit Code Review
71e48051d2 Update notes for submitted changes
* pySim-shell: clean up method calls in do_switch_channel
* pySim-shell: fix reset command
* pySim-shell: turn "ADF-escape-code" into an lchan method.
* pySim-shell: move export code into filesystem class model
2024-07-27 08:22:04 +00:00
Gerrit Code Review
885eba7d1d Update notes for submitted changes
* pySim.global_platform.ota: Support KVN 0x70 for SCP02
* saip-tool: Fix TAR display for implicit TAR
* pySim.apdu.global_platform: Decode the INSTALL command parameters
* pySim.ota: Add construct definition for SIM File + TK Param definition
2024-07-26 09:44:32 +00:00
Gerrit Code Review
e4d537ec6b Update notes for submitted changes
* pySim-shell: fix comment formatting
* ts_31_103_shared: fix file structure of EF.WebRTCURI
* runtime: rename get_file_for_selectable to get_file_for_filename
* runtime: add missing docstring
2024-07-26 06:24:07 +00:00
Gerrit Code Review
c1b575e5d8 Update notes for submitted changes
* pySim.apdu: Get rid of HexAdapter
* pySim-trace: display decoded result as JSON, not as python dict
* pySim.apdu.ts_102_222: APDU decoding for administrative commands
2024-07-26 06:21:16 +00:00
Gerrit Code Review
0cc6093140 Update notes for submitted changes
* pySim.apdu: Fix APDU CLA matching
* pySim.apdu: Refactor cmd_to_dict() method
2024-07-23 14:47:46 +00:00
Gerrit Code Review
646304bacf Update notes for submitted changes
* pySim.ts_31_102: Fix name of EF.VBSCA
* ts_31_102: Make use of ts_31_103_shared and add Rel 18 files
* [cosmetic] ts_31_102: Note in comment which release introdcued recent files
* move parts of pySim.ts_31_103 to pySim.ts_31_103_shared
* pySim.ts_31_103: update to spec v18.1.0 Release 18
* osmo-smdpp + es9p_client: HTTP status 204 is used for handleNotification
* pySim.globalplatform: Add 'http' submodule for GP Amd B RAM over HTTPS
* pySim.esim.es8p: Add support for encoding icon in ProfileMetadata
* osmo-smdpp: Request enable/disable/delete notifications in metadata
* osmo-smdpp: Implement 'other' notification signature validation
* contrib/es9p_client: Add support for reporting notifications to SM-DP+
2024-07-19 12:10:10 +00:00
Gerrit Code Review
20a8587ee2 Update notes for submitted changes
* es9p_client: Move code into a class; do common steps in constructor
2024-07-17 15:58:28 +00:00
Gerrit Code Review
1b3fdad714 Update notes for submitted changes
* osmo-smdpp: Make sure to return empty HTTP response in handleNotification
2024-07-17 14:07:16 +00:00
Gerrit Code Review
cae35b507d Update notes for submitted changes
* pySim.esim.http_json_api: 'header' is not always present in response
2024-07-16 16:58:55 +00:00
Gerrit Code Review
f0d70108e3 Update notes for submitted changes
* saip-tool: Fix output of TAR values in "print" subcommand
2024-07-16 15:06:57 +00:00
Gerrit Code Review
9c1102072e Update notes for submitted changes
* pySim.cat: More spec references + explanations in comments
2024-07-15 15:08:41 +00:00
Gerrit Code Review
748c7dd1bb Update notes for submitted changes
* transport: Implement treatment of 62xx and 63xx warning/error responses
2024-07-15 15:08:24 +00:00