Commit Graph

529 Commits

Author SHA1 Message Date
Gerrit Code Review
2fc82713dd Update notes for submitted changes
* pySim.tlv: Add COMPACT_TLV_IE TLV variant
2024-07-12 15:20:20 +00:00
Gerrit Code Review
06b194080a Update notes for submitted changes
* saip-tool: Also dump RFM information in "info" command
* saip-tool: Dump information about security domains from "info" command
* pySim.esim.saip: Add methods to rebuild "mandatory" lists in ProfileHeader
* pySim.esim.saip: ProfileElement{Header,End} classes
* pySim.esim.saip: Move initialization of PE header to base class
* pySim.saip: Add ProfileElementRFM class
* pySim.esim.saip: Add ProfileElementOpt{USIM,ISIM} classes
* pySim.saip.oid: Properly differentiate optional from non-optional templates
* tests: Add ProfileElementSD and ProfileElementSSD to test_constructor_encode
* pySim.esim.saip: Add ProfileElementAKA constructor + methods
* pySim.esim: Allow calling compile_asn1_subdir() with non-DER coddec
* pySim.esim.saip: Meaningful defaults in PE Constructor + test
2024-07-10 06:51:23 +00:00
Gerrit Code Review
2d39bd8613 Update notes for submitted changes
* pySim.tlv: Fix ComprTlvMeta() not passing kwargs to parent __new__
2024-07-10 06:49:29 +00:00
Gerrit Code Review
5b0883666f Update notes for submitted changes
* saip-tool: Add 'extract-apps' to dump all applications from eSIM profile
* saip-tool: Add new 'info' action to print general information
2024-06-13 14:50:23 +00:00
Gerrit Code Review
19504659b2 Update notes for submitted changes
* esim.saip: Remove debug print()
* es9p_client: Use a plausible TAC (copy from lpac)
2024-06-10 12:46:40 +00:00
Gerrit Code Review
34720202da Update notes for submitted changes
* contrib/jenkins.sh: Execute pylint also on all contrib python scripts
* unber.py: work-around pylint reporting (possibly-used-before-assignment)
* osmo-smdpp: use NIST-P256 by default
* tests/ota_test.py: Allow stand-alone execution
* pySim.ota.OtaDialectSms: Implement command decoding
2024-06-10 11:39:28 +00:00
Gerrit Code Review
5653478c21 Update notes for submitted changes
* pySim.ota.OtaDialectSms: Move SMS header construct up to class level
* pySim/ota: Don't modify input argument in OtaDialectSms.encode_cmd
* pySim.cat: Add more alredy-defined IEs to ProactiveCmd classes
* add contrib/saip-tool.py
* jenkins.sh: Include es9p_client in pylint
* pySim.tlv.COMPR_TLV_IE: Patch comprehension bit if derived class misses it
* pySim.cat: Make sure to always set comprehension bit in COMPR_TLV_IE
* pySim.tlv: Correctly parse COMPREHENSION-TLV without comprehension bit
* esim.saip: Add ProfileElementSequence.remove_naas_of_type
2024-06-10 11:39:03 +00:00
Gerrit Code Review
9798831cbc Update notes for submitted changes
* esim.saip: Introduce ProfileElement.identification property
* esim.es9p: Suppress sending requestHeader on ES9+
* add contrib/es9p_client: Perform ES9+ client functions like LPA+eUICC
* http_json_api / es9p: Add User-Agent header
* add pySim.esim.es9p with definitions of the ES9+ HTTP Interface
* esim.es2p: Split generic part of HTTP/REST API from ES2+
* pySim/cat: Fix "Decode the "Type of Comand" from numeric value to a string"
2024-06-09 14:21:18 +00:00
Gerrit Code Review
7450934fa6 Update notes for submitted changes
* pySim/cat: Decode the "Type of Comand" from numeric value to a string
2024-06-08 18:27:01 +00:00
Gerrit Code Review
bf626f69f8 Update notes for submitted changes
* global_platform/euicc: Implement obtaining SCP keys from CardKeyProvider
* CardKeyProvider: Implement support for column-based transport key encryption
* document the CardKeyProvider
* pySim.esim.saip: Meaningful constructors for [I]SD + SSD
* esim.saip: Implement ProfileElement.header_name for more PE types
2024-06-05 11:44:47 +00:00
Gerrit Code Review
e705baed70 Update notes for submitted changes
* pySim.esim.saip.validation: Ensure unique PE identification value
* esim.saip: Implement SecurityDomainSD.{add,has,remove}_key() methods
* esim.saip: Introduce ProfileElement derived classes
2024-06-04 20:51:58 +00:00
Gerrit Code Review
e4079f44e5 Update notes for submitted changes
* esim.bsp: Fix a bug in demac_only_one()
* utils: Introduce BER-TLV parsers that return raw tag or even raw TLV
2024-06-03 16:07:57 +00:00
Gerrit Code Review
b0fa6973e3 Update notes for submitted changes
* [cosmetic] fix typos in comments
2024-06-02 18:30:26 +00:00
Gerrit Code Review
3ea40a7e9e Update notes for submitted changes
* add globalplatform.uicc
* osmo-smdpp: Make error message more descriptive
* osmo-smdpp: Don't re-encode euiccSigned1/euiccSigned2
2024-05-31 21:32:59 +00:00
Gerrit Code Review
2627f3ac87 Update notes for submitted changes
* docs/shell: Mention GlobalPlatform and eUICC commands in overview
2024-05-31 08:44:01 +00:00
Gerrit Code Review
2a630088e0 Update notes for submitted changes
* pySim.app: Attempt to retrieve the EID of a SGP.22 / SGP.32 eUICC
* pySim-shell: Migrate PySimApp.iccid to RuntimeState.identity['ICCID']
* runtime: Introduce an 'identity' dict for things like ATR, ICCID, EID
2024-05-30 18:06:04 +00:00
Gerrit Code Review
3f8fcf1dad Update notes for submitted changes
* pysim/euicc: Remove duplicated code
* pySim/commands: STATUS: Use indeterminate length Le/P3 == '00'
* pySim/global_platform: Fix install_for_personalization command
2024-05-26 17:24:00 +00:00
Gerrit Code Review
74957f8ea8 Update notes for submitted changes
* contrib/sim-rest-client: don't crash without args
2024-05-24 20:23:35 +00:00
Gerrit Code Review
6550dbf2b0 Update notes for submitted changes
* pcsc: don't assume opts.pcsc_shared is present
2024-05-24 20:23:02 +00:00
Gerrit Code Review
dec08cdd62 Update notes for submitted changes
* pySim/cat: Fix contruct for Address class/IE
2024-05-23 15:01:01 +00:00
Gerrit Code Review
da19beb8e2 Update notes for submitted changes
* sysmocom_sjs2: Make sure 'Const' is imported
* euicc: clarify which eUICCs are supported
* pySim-trace.py: Resolve possible variable use before assignment
* pySim-prog.py: Resolve possible variable use before assignment
* osmo-smdpp.py: Resolve possible variable use before assignment
* euicc.py: Resolve possible variable use before assignment
* commands.py: Resolve possible variable use before assignment
* commands.py: Resolve possible variable use before assignment
2024-05-23 14:48:37 +00:00
Gerrit Code Review
d51f629b54 Update notes for submitted changes
* pySim-trace: Support decoding of eUICC traces
2024-05-10 19:18:14 +00:00
Gerrit Code Review
549e028bb2 Update notes for submitted changes
* pySim.global_platform: Fix key encryption with DEK
2024-05-10 18:28:33 +00:00
Gerrit Code Review
a7d1b23ef6 Update notes for submitted changes
* euicc: Fix shell command for SGP.31 get_certs
2024-05-10 18:19:29 +00:00
Gerrit Code Review
76d240eaf2 Update notes for submitted changes
* filesystem: Enforce lower-case hex AID
2024-05-10 18:17:08 +00:00
Gerrit Code Review
c2a6d96592 Update notes for submitted changes
* esim.esp2: Allow HTTP methods other than POST
* esim.es2p: Permit ApiParamInteger to be an actual integer
2024-04-05 11:42:31 +00:00
Gerrit Code Review
41037b49d2 Update notes for submitted changes
* Add funding link to github mirror
2024-03-23 10:27:01 +00:00
Gerrit Code Review
c6b78e1132 Update notes for submitted changes
* README.md: Add link to issue tracker
* README.md: Link to discourse forum
2024-03-23 09:22:44 +00:00
Gerrit Code Review
74dbb6afc9 Update notes for submitted changes
* README.md: Point to simtrace mailing list
2024-03-23 09:17:28 +00:00
Gerrit Code Review
1fc425af8b Update notes for submitted changes
* contrib/jenkins.sh: add 'distcheck' job to check package integrity
2024-03-22 19:21:04 +00:00
Gerrit Code Review
3e13228796 Update notes for submitted changes
* add missing modules to setup.py
2024-03-22 07:29:24 +00:00
Gerrit Code Review
3bd24a9a90 Update notes for submitted changes
* pcsc: open reader/card in EXCLUSIVE mode by default
* pySim-prog: convert from optparse to argparse
2024-03-15 20:33:09 +00:00
Gerrit Code Review
1d3c712aa4 Update notes for submitted changes
* osmo-smdpp: fix generation of transactionId
2024-03-15 15:10:47 +00:00
Gerrit Code Review
606df035f2 Update notes for submitted changes
* sysmocom_sja2: Add test vectors for EF_USIM_AUTH_KEY
2024-03-14 11:40:27 +00:00
Gerrit Code Review
6628230a58 Update notes for submitted changes
* docs/shell: Give users some hints on what to do if encoding/decoding fails
2024-03-13 21:05:03 +00:00
Gerrit Code Review
41f3a49f04 Update notes for submitted changes
* tests: assertEquals() is deprecated, use assertEqual()
2024-03-02 09:10:19 +00:00
Gerrit Code Review
1399c01856 Update notes for submitted changes
* saip.personalization: Fix encoding of ICCID in ProfileHeader
* saip.personalization: automatically compute class 'name' attribute
* saip.personalization: differentiate input_value from value
* saip.personalization: Add support for SCP80/81/02/03 keys
* saip.personalization: include encode/decode of value; add validation method
2024-02-22 10:23:36 +00:00
Gerrit Code Review
1c3490f091 Update notes for submitted changes
* osmo-smdpp: Add TS.48 profiles modified for unique ICCIDs
2024-02-21 08:28:35 +00:00
Gerrit Code Review
88afea9518 Update notes for submitted changes
* osmo-smdpp: Get rid of hard-coded ICCID
2024-02-21 08:28:25 +00:00
Gerrit Code Review
fc24c0d1e3 Update notes for submitted changes
* saip: improve docstrings
* pylint: esim/saip/validation.py
* pylint: esim/saip/__init__.py
* saip: profile processing; merging with templates
* asn1/saip: Fix typo in original ASN.1: Compontents -> Components
* utils: Add function to verify Luhn check digits and to sanitize ICCIDs
2024-02-19 11:02:17 +00:00
Gerrit Code Review
d204818c4e Update notes for submitted changes
* Dynamically determine maximum CMD data length depending on SCP
* Add terminal_capability command to send TERMINAL CAPABILITY
* ts_31_102: Add support for "USIM supporting non-IMSI SUPI Type"
2024-02-18 18:30:57 +00:00
Gerrit Code Review
f316136960 Update notes for submitted changes
* Introduce code for ES2+ API client functionality
2024-02-12 17:05:14 +00:00
Gerrit Code Review
bac940bbf8 Update notes for submitted changes
* global_platform: Add --suppress-key-check option to put_key command
2024-02-07 19:35:10 +00:00
Gerrit Code Review
5d3c997816 Update notes for submitted changes
* pySim-shell: Fix regression in 'apdu' command on cards without profile
* global_platform: Fix INSTALL [for personalization]
* pylint: global_platform/__init__.py
* pylint: construct.py
* pylint: tlv.py
2024-02-05 18:20:59 +00:00
Gerrit Code Review
e3335ed362 Update notes for submitted changes
* pylint: utils.py
* pylint: ts_102_222.py
2024-02-05 17:18:46 +00:00
Gerrit Code Review
54f26ac457 Update notes for submitted changes
* pylint: filesystem.py
* pylint: commands.py
* pylint: pySim/euicc.py
* pylint: runtime.py
* pylint: ara_m.py
* pylint: ts_102_221.py
* pylint: apdu/ts_102_221.py
2024-02-05 17:09:13 +00:00
Gerrit Code Review
fe938f9bb7 Update notes for submitted changes
* pylint: ts_31_102.py
* pylint: sysmocom_sja2.py
* pylint: cdma_ruim.py
* pylint: global_platform/scp.py
* pylint: esim/saip/oid.py
* pylint: esim/saip/templates.py
* pylint: esim/saip/personalization.py
* pylint: esim/rsp.py
* pylint: esim/x509_cert.py
* pylint: pySim/esim/bsp.py
* pylint: apdu/__init__.py
* pylint: apdu/ts_31_102.py
* pylint: apdu_source/pyshark_rspro
* pylint: apdu_source/pyshark_gsmtap
* pylint: apdu_source/gsmtap.py
* pylint: apdu_source/__init__.py
* pylint: transport/__init__.py
* pylint: transport/serial.py
* pylint: transport/pcsc.py
* pylint: transport/modem_atcmd.py
2024-02-05 17:05:40 +00:00
Gerrit Code Review
e98cd10c3c Update notes for submitted changes
* pylint: transport/calypso.py
* pylint: gsm_r.py
* pylint: cat.py
* pylint: app.py
* pylint: ts_31_102_telecom.py
* pylint: profile.py
* pylint: sms.py
* pylint: ota.py
* pylint: exceptions.py
* pylint: cards.py
* pylint: gsmtap.py
2024-02-05 17:04:56 +00:00
Gerrit Code Review
d2d8db831f Update notes for submitted changes
* pylint: card_key_provider.py, card_handler.py, iso7816_4.py, jsonpath.py
* global_platform: Add DEK (key) encryption support
* global_platform: INSTALL [for install] support
* construct: Add StripTrailerAdapter
2024-02-05 16:56:30 +00:00
Gerrit Code Review
fecbcf1180 Update notes for submitted changes
* global_platform: KCV support for PUT KEY
* Be more conservative in our imports
* contrib/jenkins.sh: include tests/*.py in pylint
* make our tests pass pylint
2024-02-04 23:58:23 +00:00