lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

July 2026

  • 1 participants
  • 869 discussions
[XS] Change in onomondo-eim[master]: doc/build.md: fix typo
by laforge 16 Jul '26

16 Jul '26
Attention is currently required from: dexter. laforge has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/onomondo-eim/+/42994?usp=email ) Change subject: doc/build.md: fix typo ...................................................................... Patch Set 3: (1 comment) Patchset: PS3: it's not really a typo, but a question whether you'd want american or british english? -- To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/42994?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: onomondo-eim Gerrit-Branch: master Gerrit-Change-Id: Ie6a066f3289fbdde40f55bd9f38a3dd90102e7e6 Gerrit-Change-Number: 42994 Gerrit-PatchSet: 3 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: laforge <laforge(a)osmocom.org> Gerrit-Attention: dexter <pmaier(a)sysmocom.de> Gerrit-Comment-Date: Thu, 16 Jul 2026 14:43:53 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[L] Change in onomondo-eim[master]: mnesia_db_euicc: renovate handling of euicc table (mnesia, REST)
by laforge 16 Jul '26

16 Jul '26
Attention is currently required from: dexter. laforge has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/onomondo-eim/+/42993?usp=email ) Change subject: mnesia_db_euicc: renovate handling of euicc table (mnesia, REST) ...................................................................... Patch Set 3: (1 comment) Patchset: PS3: as with other patches changing the JSON schema: shouldn't there be some kind of version in it, and that version being bumped before making incompatible changes? So that any user of the JSON interface could at runtime inquire about the schema version used by the eIM and decide if it can work with that version or raise an error? -- To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/42993?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: onomondo-eim Gerrit-Branch: master Gerrit-Change-Id: I74c602555b194a28d6eb9dd67ec4c6a8865fcb77 Gerrit-Change-Number: 42993 Gerrit-PatchSet: 3 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: laforge <laforge(a)osmocom.org> Gerrit-Attention: dexter <pmaier(a)sysmocom.de> Gerrit-Comment-Date: Thu, 16 Jul 2026 14:42:58 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[L] Change in onomondo-ipa[master]: V1.2: Add new fields to ProfileInfo list
by Jenkins Builder 16 Jul '26

16 Jul '26
Jenkins Builder has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43032?usp=email ) Change subject: V1.2: Add new fields to ProfileInfo list ...................................................................... Patch Set 1: (3 comments) File src/ipa/libipa/es10c_get_prfle_info.c: Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/onomondo-ipa/+/43032/comment/2247934f_d9252347… : PS1, Line 78: if (conv_req && conv_req->fallback_attribute_removed) { braces {} are not necessary for single statement blocks Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/onomondo-ipa/+/43032/comment/8dc9f3f6_a02c5a59… : PS1, Line 109: struct ipa_es10c_get_prfle_info_req *conv_get_prfle_info_req(const struct ipa_es10c_get_prfle_info_req *req) { open brace '{' following function definitions go on the next line Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/onomondo-ipa/+/43032/comment/d5fb15a4_452e81f6… : PS1, Line 110: uint8_t default_tags[] = { 0x5A, 0x4F, 0x9F, 0x70, 0x91, 0x92, 0x95, 0x9F,0x7B, 0x9F,0x26, 0x9F,0x67 }; space required after that ',' (ctx:VxV) -- To view, visit https://gerrit.osmocom.org/c/onomondo-ipa/+/43032?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: onomondo-ipa Gerrit-Branch: master Gerrit-Change-Id: I6667dba8dd84817cfee69daa1c44b98239fa171c Gerrit-Change-Number: 43032 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-CC: Jenkins Builder Gerrit-Comment-Date: Thu, 16 Jul 2026 14:23:21 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[M] Change in onomondo-ipa[master]: V1.2: Add EimConfigurationData.indirectProfileDownload
by Jenkins Builder 16 Jul '26

16 Jul '26
Jenkins Builder has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43029?usp=email ) Change subject: V1.2: Add EimConfigurationData.indirectProfileDownload ...................................................................... Patch Set 1: (1 comment) File src/ipa/libipa/proc_eim_pkg_retr.c: Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/onomondo-ipa/+/43029/comment/d2cfef33_d353eb21… : PS1, Line 122: "Indirect profile download is not suppoted by eIM, we don't support direct profile download, -- cannot continue!\n"); 'suppoted' may be misspelled - perhaps 'supported'? -- To view, visit https://gerrit.osmocom.org/c/onomondo-ipa/+/43029?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: onomondo-ipa Gerrit-Branch: master Gerrit-Change-Id: Ic40111531e6f35d5ea7f3789de6cae0f1c0d5ba7 Gerrit-Change-Number: 43029 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-CC: Jenkins Builder Gerrit-Comment-Date: Thu, 16 Jul 2026 14:22:58 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[S] Change in onomondo-ipa[master]: V1.2: Add function to set Device Capabilities
by Jenkins Builder 16 Jul '26

16 Jul '26
Jenkins Builder has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43060?usp=email ) Change subject: V1.2: Add function to set Device Capabilities ...................................................................... Patch Set 1: (2 comments) File include/onomondo/ipa/ipad.h: Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/onomondo-ipa/+/43060/comment/c3823fc2_cabc9083… : PS1, Line 90: /*! Set the Device Capabilites. 'Capabilites' may be misspelled - perhaps 'Capabilities'? File src/ipa/main.c: Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/onomondo-ipa/+/43060/comment/b2f7a23b_6e5266b4… : PS1, Line 67: printf(" -D ......................... set SGP.22 device capabilites other than the 3 that are required by this IPAd\n"); 'capabilites' may be misspelled - perhaps 'capabilities'? -- To view, visit https://gerrit.osmocom.org/c/onomondo-ipa/+/43060?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: onomondo-ipa Gerrit-Branch: master Gerrit-Change-Id: I866787b8cda9a87a9f2e0db4965fbb554d339a6c Gerrit-Change-Number: 43060 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-CC: Jenkins Builder Gerrit-Comment-Date: Thu, 16 Jul 2026 14:22:12 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[S] Change in onomondo-ipa[master]: V1.2: Add TERMINAL CAPABILITY for IoT support
by Jenkins Builder 16 Jul '26

16 Jul '26
Jenkins Builder has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43047?usp=email ) Change subject: V1.2: Add TERMINAL CAPABILITY for IoT support ...................................................................... Patch Set 1: (2 comments) File src/ipa/libipa/euicc.c: Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/onomondo-ipa/+/43047/comment/fbd21064_30159478… : PS1, Line 539: /* Set capabilites to enable support for eUICC functions. */ 'capabilites' may be misspelled - perhaps 'capabilities'? Robot Comment from checkpatch (run ID ): https://gerrit.osmocom.org/c/onomondo-ipa/+/43047/comment/b2eb8cae_9c3fe749… : PS1, Line 544: /* Set capabilites to enable support for IoT functions. */ 'capabilites' may be misspelled - perhaps 'capabilities'? -- To view, visit https://gerrit.osmocom.org/c/onomondo-ipa/+/43047?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: onomondo-ipa Gerrit-Branch: master Gerrit-Change-Id: I1116bee93b31ee4a159125d840d7c5866be6fdb4 Gerrit-Change-Number: 43047 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu> Gerrit-CC: Jenkins Builder Gerrit-Comment-Date: Thu, 16 Jul 2026 14:21:50 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No
1 0
0 0
[M] Change in onomondo-ipa[master]: V1.2: Add StateChangeCause to GetEimPackageRequest
by jolly 16 Jul '26

16 Jul '26
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43057?usp=email ) Change subject: V1.2: Add StateChangeCause to GetEimPackageRequest ...................................................................... V1.2: Add StateChangeCause to GetEimPackageRequest State change notification is optional and currently not supported by IPA. Reference: SGP.32 Section 6.3.2.6 Related: SYS#8101 Change-Id: I1ae561f6709a9eb490fa7a53420c332ff20bd058 --- M asn1/SGP32Definitions.asn M src/ipa/libasn/CMakeLists.txt M src/ipa/libasn/GetEimPackageRequest.c M src/ipa/libasn/GetEimPackageRequest.h A src/ipa/libasn/StateChangeCause.c A src/ipa/libasn/StateChangeCause.h 6 files changed, 124 insertions(+), 13 deletions(-) git pull ssh://gerrit.osmocom.org:29418/onomondo-ipa refs/changes/57/43057/1 diff --git a/asn1/SGP32Definitions.asn b/asn1/SGP32Definitions.asn index b99168b..3bc2398 100644 --- a/asn1/SGP32Definitions.asn +++ b/asn1/SGP32Definitions.asn @@ -989,10 +989,21 @@ -- Section 6.3.2.6 -- ASN1START +StateChangeCause ::= INTEGER { + otherEim(0), -- for change(s) requested by another registered eIM + fallback(1), -- for change(s) following fallback requested by IPA + emergencyProfile(2), -- for change(s) following Emergency Profile swap requested by IPA + local(3), -- for change(s) applied locally (RFU, not supported in this version) + reset(4), -- for change(s) following an euicc reset + immediateEnableProfile(5), -- for change(s) following immediate Profile enabling requested by IPA + deviceChange(6), -- for change(s) detected by IPAe following a IoT Device change (removable eSIMs) + undefined(127) -- unknown cause +} GetEimPackageRequest ::= [79] SEQUENCE { -- Tag 'BF4F' eidValue [APPLICATION 26] Octet16, -- Tag '5A' notifyStateChange [0] NULL OPTIONAL, -- Notification to the eIM that it should update its information about the eUICC (e.g. list of profiles, profile states...) - rPLMN [1] OCTET STRING (SIZE(3)) OPTIONAL -- MCC and MNC of the last registered PLMN, coded as defined in 3GPP TS 24.008 [22] + stateChangeCause [1] StateChangeCause OPTIONAL, -- Provide the cause of the notified state change(s) + rPLMN [2] OCTET STRING (SIZE(3)) OPTIONAL -- MCC and MNC of the last registered PLMN, coded as defined in 3GPP TS 24.008 [22] } GetEimPackageResponse ::= [79] CHOICE { -- Tag 'BF4F' euiccPackageRequest [81] EuiccPackageRequest, -- Tag 'BF51' diff --git a/src/ipa/libasn/CMakeLists.txt b/src/ipa/libasn/CMakeLists.txt index 3d5d649..3ab0559 100644 --- a/src/ipa/libasn/CMakeLists.txt +++ b/src/ipa/libasn/CMakeLists.txt @@ -880,6 +880,8 @@ SkipCerts.h SmdpSigned2.c SmdpSigned2.h +StateChangeCause.c +StateChangeCause.h StoreMetadataRequest.c StoreMetadataRequest.h StreetAddress.c diff --git a/src/ipa/libasn/GetEimPackageRequest.c b/src/ipa/libasn/GetEimPackageRequest.c index 1d58a9d..8528351 100644 --- a/src/ipa/libasn/GetEimPackageRequest.c +++ b/src/ipa/libasn/GetEimPackageRequest.c @@ -33,10 +33,10 @@ } } -static asn_oer_constraints_t asn_OER_memb_rPLMN_constr_4 CC_NOTUSED = { +static asn_oer_constraints_t asn_OER_memb_rPLMN_constr_5 CC_NOTUSED = { { 0, 0 }, 3 /* (SIZE(3..3)) */}; -static asn_per_constraints_t asn_PER_memb_rPLMN_constr_4 CC_NOTUSED = { +static asn_per_constraints_t asn_PER_memb_rPLMN_constr_5 CC_NOTUSED = { { APC_UNCONSTRAINED, -1, -1, 0, 0 }, { APC_CONSTRAINED, 0, 0, 3, 3 } /* (SIZE(3..3)) */, 0, 0 /* No PER value map */ @@ -51,7 +51,7 @@ 0, 0, /* No default value */ "eidValue" }, - { ATF_POINTER, 2, offsetof(struct GetEimPackageRequest, notifyStateChange), + { ATF_POINTER, 3, offsetof(struct GetEimPackageRequest, notifyStateChange), (ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_NULL, @@ -60,17 +60,26 @@ 0, 0, /* No default value */ "notifyStateChange" }, - { ATF_POINTER, 1, offsetof(struct GetEimPackageRequest, rPLMN), + { ATF_POINTER, 2, offsetof(struct GetEimPackageRequest, stateChangeCause), (ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */ + &asn_DEF_StateChangeCause, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "stateChangeCause" + }, + { ATF_POINTER, 1, offsetof(struct GetEimPackageRequest, rPLMN), + (ASN_TAG_CLASS_CONTEXT | (2 << 2)), + -1, /* IMPLICIT tag at current level */ &asn_DEF_OCTET_STRING, 0, - { &asn_OER_memb_rPLMN_constr_4, &asn_PER_memb_rPLMN_constr_4, memb_rPLMN_constraint_1 }, + { &asn_OER_memb_rPLMN_constr_5, &asn_PER_memb_rPLMN_constr_5, memb_rPLMN_constraint_1 }, 0, 0, /* No default value */ "rPLMN" }, }; -static const int asn_MAP_GetEimPackageRequest_oms_1[] = { 1, 2 }; +static const int asn_MAP_GetEimPackageRequest_oms_1[] = { 1, 2, 3 }; static const ber_tlv_tag_t asn_DEF_GetEimPackageRequest_tags_1[] = { (ASN_TAG_CLASS_CONTEXT | (79 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) @@ -78,16 +87,17 @@ static const asn_TYPE_tag2member_t asn_MAP_GetEimPackageRequest_tag2el_1[] = { { (ASN_TAG_CLASS_APPLICATION | (26 << 2)), 0, 0, 0 }, /* eidValue */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* notifyStateChange */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* rPLMN */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 }, /* stateChangeCause */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 3, 0, 0 } /* rPLMN */ }; asn_SEQUENCE_specifics_t asn_SPC_GetEimPackageRequest_specs_1 = { sizeof(struct GetEimPackageRequest), offsetof(struct GetEimPackageRequest, _asn_ctx), asn_MAP_GetEimPackageRequest_tag2el_1, - 3, /* Count of tags in the map */ + 4, /* Count of tags in the map */ asn_MAP_GetEimPackageRequest_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - 3, /* First extension addition */ + 3, 0, /* Root/Additions */ + 4, /* First extension addition */ }; asn_TYPE_descriptor_t asn_DEF_GetEimPackageRequest = { "GetEimPackageRequest", @@ -101,7 +111,7 @@ /sizeof(asn_DEF_GetEimPackageRequest_tags_1[0]), /* 2 */ { 0, 0, SEQUENCE_constraint }, asn_MBR_GetEimPackageRequest_1, - 3, /* Elements count */ + 4, /* Elements count */ &asn_SPC_GetEimPackageRequest_specs_1 /* Additional specs */ }; diff --git a/src/ipa/libasn/GetEimPackageRequest.h b/src/ipa/libasn/GetEimPackageRequest.h index 3075bd9..994c28f 100644 --- a/src/ipa/libasn/GetEimPackageRequest.h +++ b/src/ipa/libasn/GetEimPackageRequest.h @@ -14,6 +14,7 @@ /* Including external dependencies */ #include "Octet16.h" #include <NULL.h> +#include "StateChangeCause.h" #include <OCTET_STRING.h> #include <constr_SEQUENCE.h> @@ -25,6 +26,7 @@ typedef struct GetEimPackageRequest { Octet16_t eidValue; NULL_t *notifyStateChange /* OPTIONAL */; + StateChangeCause_t *stateChangeCause /* OPTIONAL */; OCTET_STRING_t *rPLMN /* OPTIONAL */; /* * This type is extensible, @@ -38,7 +40,7 @@ /* Implementation */ extern asn_TYPE_descriptor_t asn_DEF_GetEimPackageRequest; extern asn_SEQUENCE_specifics_t asn_SPC_GetEimPackageRequest_specs_1; -extern asn_TYPE_member_t asn_MBR_GetEimPackageRequest_1[3]; +extern asn_TYPE_member_t asn_MBR_GetEimPackageRequest_1[4]; #ifdef __cplusplus } diff --git a/src/ipa/libasn/StateChangeCause.c b/src/ipa/libasn/StateChangeCause.c new file mode 100644 index 0000000..64e6e29 --- /dev/null +++ b/src/ipa/libasn/StateChangeCause.c @@ -0,0 +1,31 @@ +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + * From ASN.1 module "SGP32Definitions" + * found in "../../../asn1/SGP32Definitions.asn" + * `asn1c -fcompound-names -no-gen-example` + */ + +#include "StateChangeCause.h" + +/* + * This type is implemented using NativeInteger, + * so here we adjust the DEF accordingly. + */ +static const ber_tlv_tag_t asn_DEF_StateChangeCause_tags_1[] = { + (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) +}; +asn_TYPE_descriptor_t asn_DEF_StateChangeCause = { + "StateChangeCause", + "StateChangeCause", + &asn_OP_NativeInteger, + asn_DEF_StateChangeCause_tags_1, + sizeof(asn_DEF_StateChangeCause_tags_1) + /sizeof(asn_DEF_StateChangeCause_tags_1[0]), /* 1 */ + asn_DEF_StateChangeCause_tags_1, /* Same as above */ + sizeof(asn_DEF_StateChangeCause_tags_1) + /sizeof(asn_DEF_StateChangeCause_tags_1[0]), /* 1 */ + { 0, 0, NativeInteger_constraint }, + 0, 0, /* Defined elsewhere */ + 0 /* No specifics */ +}; + diff --git a/src/ipa/libasn/StateChangeCause.h b/src/ipa/libasn/StateChangeCause.h new file mode 100644 index 0000000..db0e315 --- /dev/null +++ b/src/ipa/libasn/StateChangeCause.h @@ -0,0 +1,55 @@ +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + * From ASN.1 module "SGP32Definitions" + * found in "../../../asn1/SGP32Definitions.asn" + * `asn1c -fcompound-names -no-gen-example` + */ + +#ifndef _StateChangeCause_H_ +#define _StateChangeCause_H_ + + +#include <asn_application.h> + +/* Including external dependencies */ +#include <NativeInteger.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/* Dependencies */ +typedef enum StateChangeCause { + StateChangeCause_otherEim = 0, + StateChangeCause_fallback = 1, + StateChangeCause_emergencyProfile = 2, + StateChangeCause_local = 3, + StateChangeCause_reset = 4, + StateChangeCause_immediateEnableProfile = 5, + StateChangeCause_deviceChange = 6, + StateChangeCause_undefined = 127 +} e_StateChangeCause; + +/* StateChangeCause */ +typedef long StateChangeCause_t; + +/* Implementation */ +extern asn_TYPE_descriptor_t asn_DEF_StateChangeCause; +asn_struct_free_f StateChangeCause_free; +asn_struct_print_f StateChangeCause_print; +asn_constr_check_f StateChangeCause_constraint; +ber_type_decoder_f StateChangeCause_decode_ber; +der_type_encoder_f StateChangeCause_encode_der; +xer_type_decoder_f StateChangeCause_decode_xer; +xer_type_encoder_f StateChangeCause_encode_xer; +oer_type_decoder_f StateChangeCause_decode_oer; +oer_type_encoder_f StateChangeCause_encode_oer; +per_type_decoder_f StateChangeCause_decode_uper; +per_type_encoder_f StateChangeCause_encode_uper; + +#ifdef __cplusplus +} +#endif + +#endif /* _StateChangeCause_H_ */ +#include <asn_internal.h> -- To view, visit https://gerrit.osmocom.org/c/onomondo-ipa/+/43057?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: onomondo-ipa Gerrit-Branch: master Gerrit-Change-Id: I1ae561f6709a9eb490fa7a53420c332ff20bd058 Gerrit-Change-Number: 43057 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu>
1 0
0 0
[S] Change in onomondo-ipa[master]: V1.2: Change field name in InitiateAuthenticationOkEsipa
by jolly 16 Jul '26

16 Jul '26
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43058?usp=email ) Change subject: V1.2: Change field name in InitiateAuthenticationOkEsipa ...................................................................... V1.2: Change field name in InitiateAuthenticationOkEsipa Change the fiel name euiccCiPKIdToBeUsed in InitiateAuthenticationOkEsipa to euiccCiPKIdentifierToBeUsed. Reference: SGP.32 Section 6.3.2.1 Related: SYS#8101 Change-Id: I68d59b44bd8b5dd23ae070d42dab9727c0da5272 --- M asn1/SGP32Definitions.asn M src/ipa/libasn/InitiateAuthenticationOkEsipa.c M src/ipa/libasn/InitiateAuthenticationOkEsipa.h M src/ipa/libipa/proc_cmn_mtl_auth.c 4 files changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.osmocom.org:29418/onomondo-ipa refs/changes/58/43058/1 diff --git a/asn1/SGP32Definitions.asn b/asn1/SGP32Definitions.asn index 3bc2398..0f6b892 100644 --- a/asn1/SGP32Definitions.asn +++ b/asn1/SGP32Definitions.asn @@ -887,7 +887,7 @@ transactionId [0] TransactionId OPTIONAL, -- The TransactionID generated by the SM-DP+ serverSigned1 ServerSigned1, -- Signed information serverSignature1 [APPLICATION 55] OCTET STRING, -- Server Sign1, Tag '5F37' - euiccCiPKIdToBeUsed OCTET STRING, -- Key identifier (possibly truncated) of the CI Public Key to be used as required by ES10b.AuthenticateServer + euiccCiPKIdentifierToBeUsed OCTET STRING, -- Key identifier (possibly truncated) of the CI Public Key to be used as required by ES10b.AuthenticateServer serverCertificate Certificate, matchingId UTF8String OPTIONAL, ctxParams1 [2] CtxParams1 OPTIONAL diff --git a/src/ipa/libasn/InitiateAuthenticationOkEsipa.c b/src/ipa/libasn/InitiateAuthenticationOkEsipa.c index 0a208dd..3f2a065 100644 --- a/src/ipa/libasn/InitiateAuthenticationOkEsipa.c +++ b/src/ipa/libasn/InitiateAuthenticationOkEsipa.c @@ -35,14 +35,14 @@ 0, 0, /* No default value */ "serverSignature1" }, - { ATF_NOFLAGS, 0, offsetof(struct InitiateAuthenticationOkEsipa, euiccCiPKIdToBeUsed), + { ATF_NOFLAGS, 0, offsetof(struct InitiateAuthenticationOkEsipa, euiccCiPKIdentifierToBeUsed), (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, &asn_DEF_OCTET_STRING, 0, { 0, 0, 0 }, 0, 0, /* No default value */ - "euiccCiPKIdToBeUsed" + "euiccCiPKIdentifierToBeUsed" }, { ATF_NOFLAGS, 0, offsetof(struct InitiateAuthenticationOkEsipa, serverCertificate), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), @@ -77,7 +77,7 @@ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_InitiateAuthenticationOkEsipa_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 3, 0, 0 }, /* euiccCiPKIdToBeUsed */ + { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 3, 0, 0 }, /* euiccCiPKIdentifierToBeUsed */ { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 5, 0, 0 }, /* matchingId */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 1 }, /* serverSigned1 */ { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -1, 0 }, /* serverCertificate */ diff --git a/src/ipa/libasn/InitiateAuthenticationOkEsipa.h b/src/ipa/libasn/InitiateAuthenticationOkEsipa.h index 90af2bf..7880a03 100644 --- a/src/ipa/libasn/InitiateAuthenticationOkEsipa.h +++ b/src/ipa/libasn/InitiateAuthenticationOkEsipa.h @@ -31,7 +31,7 @@ TransactionId_t *transactionId /* OPTIONAL */; ServerSigned1_t serverSigned1; OCTET_STRING_t serverSignature1; - OCTET_STRING_t euiccCiPKIdToBeUsed; + OCTET_STRING_t euiccCiPKIdentifierToBeUsed; Certificate_t serverCertificate; UTF8String_t *matchingId /* OPTIONAL */; struct CtxParams1 *ctxParams1 /* OPTIONAL */; diff --git a/src/ipa/libipa/proc_cmn_mtl_auth.c b/src/ipa/libipa/proc_cmn_mtl_auth.c index a8670ae..53ad401 100644 --- a/src/ipa/libipa/proc_cmn_mtl_auth.c +++ b/src/ipa/libipa/proc_cmn_mtl_auth.c @@ -205,7 +205,7 @@ auth_serv_req.req.serverSignature1.size = ipa_strip_tlv_envelope(auth_serv_req.req.serverSignature1.buf, auth_serv_req.req.serverSignature1.size, 0x5f37); - auth_serv_req.req.euiccCiPKIdToBeUsed = init_auth_res->init_auth_ok->euiccCiPKIdToBeUsed; + auth_serv_req.req.euiccCiPKIdToBeUsed = init_auth_res->init_auth_ok->euiccCiPKIdentifierToBeUsed; auth_serv_req.req.euiccCiPKIdToBeUsed.size = ipa_strip_tlv_envelope(auth_serv_req.req.euiccCiPKIdToBeUsed.buf, auth_serv_req.req.euiccCiPKIdToBeUsed.size, 0x04); -- To view, visit https://gerrit.osmocom.org/c/onomondo-ipa/+/43058?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: onomondo-ipa Gerrit-Branch: master Gerrit-Change-Id: I68d59b44bd8b5dd23ae070d42dab9727c0da5272 Gerrit-Change-Number: 43058 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu>
1 0
0 0
[S] Change in onomondo-ipa[master]: V1.2: Add new causes to initiateAuthenticationErrorEsipa
by jolly 16 Jul '26

16 Jul '26
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43059?usp=email ) Change subject: V1.2: Add new causes to initiateAuthenticationErrorEsipa ...................................................................... V1.2: Add new causes to initiateAuthenticationErrorEsipa Reference: SGP.32 Section 6.3.2.1 Related: SYS#8101 Change-Id: I0a9acaba7b706f68bc89bae3dff7d2d0e380e797 --- M asn1/SGP32Definitions.asn M src/ipa/libasn/InitiateAuthenticationResponseEsipa.h M src/ipa/libipa/esipa_init_auth.c 3 files changed, 13 insertions(+), 7 deletions(-) git pull ssh://gerrit.osmocom.org:29418/onomondo-ipa refs/changes/59/43059/1 diff --git a/asn1/SGP32Definitions.asn b/asn1/SGP32Definitions.asn index 0f6b892..83fcf91 100644 --- a/asn1/SGP32Definitions.asn +++ b/asn1/SGP32Definitions.asn @@ -876,12 +876,14 @@ InitiateAuthenticationResponseEsipa ::= [57] CHOICE { -- Tag 'BF39' initiateAuthenticationOkEsipa InitiateAuthenticationOkEsipa, initiateAuthenticationErrorEsipa INTEGER { - invalidDpAddress(1), - euiccVersionNotSupportedByDp(2), - ciPKIdNotSupported(3), - smdpAddressMismatch(50), - smdpOidMismatch(51) -} + invalidDpAddress(1), + euiccVersionNotSupportedByDp(2), + ciPKIdNotSupported(3), + smdpAddressMismatch(50), + smdpOidMismatch(51), + invalidEimTransactionId(52), + undefinedError(127) + } } InitiateAuthenticationOkEsipa ::= SEQUENCE { transactionId [0] TransactionId OPTIONAL, -- The TransactionID generated by the SM-DP+ diff --git a/src/ipa/libasn/InitiateAuthenticationResponseEsipa.h b/src/ipa/libasn/InitiateAuthenticationResponseEsipa.h index 2e56766..c3da3ef 100644 --- a/src/ipa/libasn/InitiateAuthenticationResponseEsipa.h +++ b/src/ipa/libasn/InitiateAuthenticationResponseEsipa.h @@ -33,7 +33,9 @@ InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_euiccVersionNotSupportedByDp = 2, InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_ciPKIdNotSupported = 3, InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_smdpAddressMismatch = 50, - InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_smdpOidMismatch = 51 + InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_smdpOidMismatch = 51, + InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_invalidEimTransactionId = 52, + InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_undefinedError = 127 } e_InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa; /* InitiateAuthenticationResponseEsipa */ diff --git a/src/ipa/libipa/esipa_init_auth.c b/src/ipa/libipa/esipa_init_auth.c index 2e8532c..2ce2d2f 100644 --- a/src/ipa/libipa/esipa_init_auth.c +++ b/src/ipa/libipa/esipa_init_auth.c @@ -32,6 +32,8 @@ { InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_smdpAddressMismatch, "smdpAddressMismatch" }, { InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_smdpOidMismatch, "smdpOidMismatch" }, + { InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_invalidEimTransactionId, "invalidEimTransactionId" }, + { InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_undefinedError, "undefinedError" }, { 0, NULL } }; -- To view, visit https://gerrit.osmocom.org/c/onomondo-ipa/+/43059?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: onomondo-ipa Gerrit-Branch: master Gerrit-Change-Id: I0a9acaba7b706f68bc89bae3dff7d2d0e380e797 Gerrit-Change-Number: 43059 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu>
1 0
0 0
[S] Change in onomondo-ipa[master]: V1.2: Add function to set Device Capabilities
by jolly 16 Jul '26

16 Jul '26
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43060?usp=email ) Change subject: V1.2: Add function to set Device Capabilities ...................................................................... V1.2: Add function to set Device Capabilities Add new library function to set the SGP.22 Device Capabilities. Also add an option to the command line interface to call the library function. The IoT device (modem) may and the IPA must set Device Capabilities. They cannot be set independently. The IoT device would overwrite what IPA has set and vice versa. Therefore add a library function for the IoT device that takes care about setting the required capabilities for IPA. Reference: SGP.22 Section 3.4.2 Related: SYS#8101 Change-Id: I866787b8cda9a87a9f2e0db4965fbb554d339a6c --- M include/onomondo/ipa/ipad.h M src/ipa/libipa/euicc.c M src/ipa/main.c 3 files changed, 13 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/onomondo-ipa refs/changes/60/43060/1 diff --git a/include/onomondo/ipa/ipad.h b/include/onomondo/ipa/ipad.h index ff3bd68..d5d4b58 100644 --- a/include/onomondo/ipa/ipad.h +++ b/include/onomondo/ipa/ipad.h @@ -86,6 +86,12 @@ * function here to handle the consent request. In case no callback function is provided onomondo-eim will * automatically consent to any profile installation. */ ipa_prfle_inst_consent_cb prfle_inst_consent_cb; + + /*! Set the Device Capabilites. + * As IPAd need to set the device capabilities, it overwrites any other capabilities that might have set by + * the modem or IoT device. The upper 5 bits can be set according to section 3.4.2 of SGG.22. The lower 3 + * bit are set automatically by this IPAd. */ + uint8_t device_capabilities; }; struct ipa_context *ipa_new_ctx(struct ipa_config *cfg, struct ipa_buf *nvstate); diff --git a/src/ipa/libipa/euicc.c b/src/ipa/libipa/euicc.c index efda3c7..ac03d0f 100644 --- a/src/ipa/libipa/euicc.c +++ b/src/ipa/libipa/euicc.c @@ -532,11 +532,12 @@ * \returns 0 on success, negative on error. */ int ipa_euicc_init_es10x(struct ipa_context *ctx) { - const uint8_t termcap_euicc[] = { 0xA9, 0x03, 0x83, 0x01, 0x07 }; + uint8_t termcap_euicc[] = { 0xA9, 0x03, 0x83, 0x01, 0x07 }; const uint8_t termcap_iot[] = { 0xA9, 0x03, 0x84, 0x01, 0x01 }; int rc; /* Set capabilites to enable support for eUICC functions. */ + termcap_euicc[4] |= ctx->cfg->device_capabilities; rc = send_termcap(ctx, termcap_euicc, sizeof(termcap_euicc)); if (rc < 0) return rc; diff --git a/src/ipa/main.c b/src/ipa/main.c index 3e7b7a7..840aaba 100644 --- a/src/ipa/main.c +++ b/src/ipa/main.c @@ -64,6 +64,7 @@ printf(" -I ......................... disable SSL certificate verification (insecure)\n"); printf(" -E ......................... emulate IoT eUICC (compatibility mode to use consumer eUICCs)\n"); printf(" -1 ......................... force the IPAd to process only one eUICC package (debug, use with caution)\n"); + printf(" -D ......................... set SGP.22 device capabilites other than the 3 that are required by this IPAd\n"); } struct ipa_buf *load_ber_from_file(char *dir, char *file) @@ -260,6 +261,9 @@ case '1': getopt_one_euicc_pkg_only = true; break; + case 'D': + cfg.device_capabilities = atoi(optarg); + break; default: printf("unhandled option: %c!\n", opt); break; @@ -280,6 +284,7 @@ printf(" iot_euicc_emu_enabled = %u\n", cfg.iot_euicc_emu_enabled); printf(" esipa_req_retries = %u\n", cfg.esipa_req_retries); printf(" refresh_flag = %u\n", cfg.refresh_flag); + printf(" device_capabilities = %u\n", cfg.device_capabilities); printf("\n"); if (cfg.eim_cabundle) { -- To view, visit https://gerrit.osmocom.org/c/onomondo-ipa/+/43060?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: onomondo-ipa Gerrit-Branch: master Gerrit-Change-Id: I866787b8cda9a87a9f2e0db4965fbb554d339a6c Gerrit-Change-Number: 43060 Gerrit-PatchSet: 1 Gerrit-Owner: jolly <andreas(a)eversberg.eu>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • ...
  • 87
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.