dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-eim/+/42882?usp=email )
Change subject: eim_cfg: set eimSupportedProtocol and indirectProfileDownload flags
......................................................................
eim_cfg: set eimSupportedProtocol and indirectProfileDownload flags
The members eimSupportedProtocol and indirectProfileDownload were
added as optional members to EimConfigurationData with SGP.32 V.1.2.
Since our eIM implementation only supports eIM Package Retrieval via
HTTPs and the Indirect Profile Download procedure is the only Profile
Download procedure we currently support, the EimConfigurationData
should reflect those properties correctly.
(The EimConfigurationData is not announced actively by the eIM, but
this eIM implementation contains a generator to help with the encoding
of the EimConfigurationData that is programmed into the eUICC)
Change-Id: I4ce236fb1bfb8a3790191be95ab0958dce13a9d8
Related: SYS#8100
---
M src/eim_cfg.erl
1 file changed, 8 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/onomondo-eim refs/changes/82/42882/1
diff --git a/src/eim_cfg.erl b/src/eim_cfg.erl
index f74ccd8..4f15a42 100644
--- a/src/eim_cfg.erl
+++ b/src/eim_cfg.erl
@@ -46,10 +46,16 @@
eimFqdn => EimFqdn,
% Mandatory
counterValue => CounterValue,
- %Optional: instruct the eUICC to calculate an association token
+ % Optional: instruct the eUICC to calculate an association token
associationToken => -1,
% Mandatory
- eimPublicKeyData => {eimPublicKey, EimCert_SubjectPublicKeyInfo}
+ eimPublicKeyData => {eimPublicKey, EimCert_SubjectPublicKeyInfo},
+ % This eIM implementation currently only supports ESipa via HTTPs where the only supported eIM Package
+ % transfer procedure is the eIM Package Retrieval procedure (see also SGP.32, section 3.1.1.1.
+ eimSupportedProtocol => [eimRetrieveHttps],
+ % The Indirect Profile Download (see also SGP.32, section 3.2.3.2) is currently the only supported Profile
+ % Download procedure, which is supported by this eIM implementation.
+ indirectProfileDownload => true
},
EimConfigurationDataList = [EimConfigurationData],
AddInitialEimRequest = #{eimConfigurationDataList => EimConfigurationDataList},
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/42882?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: I4ce236fb1bfb8a3790191be95ab0958dce13a9d8
Gerrit-Change-Number: 42882
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-eim/+/42883?usp=email )
Change subject: esipa_rest_utils: align IpaEuiccDataResponse to SGP.32 V.1.2
......................................................................
esipa_rest_utils: align IpaEuiccDataResponse to SGP.32 V.1.2
The ASN.1 struct IpaEuiccDataResponse has renamed the error code
member from ipaEuiccDataError to ipaEuiccDataErrorCode. The new
ipaEuiccDataErrorCode is a sequence that has an ipaEuiccDataErrorCode
member, which is the equivalent of the previously existing
ipaEuiccDataError member.
See also: SGP.32, section 2.11.2.2
Change-Id: Ie734a09ed4b0d57de30dc6fb377dfada79ea2ae4
Related: SYS#8100
---
M src/esipa_rest_utils.erl
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/onomondo-eim refs/changes/83/42883/1
diff --git a/src/esipa_rest_utils.erl b/src/esipa_rest_utils.erl
index 936e6fa..c2565b5 100644
--- a/src/esipa_rest_utils.erl
+++ b/src/esipa_rest_utils.erl
@@ -550,7 +550,8 @@
IpaEuiccDataJsonFiltered =
{lists:filter(fun(Member) -> Member /= nil end, IpaEuiccDataJson)},
[{[{euiccDataResult, {[{edrResult, ok}, {euiccData, IpaEuiccDataJsonFiltered}]}}]}];
- {ipaEuiccDataError, IpaEuiccDataError} ->
+ {ipaEuiccDataResponseError, IpaEuiccDataResponseError} ->
+ IpaEuiccDataError = maps:get(ipaEuiccDataErrorCode, IpaEuiccDataResponseError),
[{[{euiccDataResult, {[{edrResult, IpaEuiccDataError}]}}]}];
_ ->
[{[{euiccDataResult, {[{edrResult, undefinedError}]}}]}]
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/42883?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: Ie734a09ed4b0d57de30dc6fb377dfada79ea2ae4
Gerrit-Change-Number: 42883
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Attention is currently required from: dexter, fixeria, laforge.
Hello Jenkins Builder, fixeria, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/onomondo-eim/+/42834?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review+1 by fixeria, Code-Review+1 by laforge
Change subject: esipa_rest_utils: fix searchCritera.profileClass type conversion
......................................................................
esipa_rest_utils: fix searchCritera.profileClass type conversion
We currently use utils:hex_to_integer to convert the ProfileClass,
which is supposedly a string, to integer. However, hex_to_inteteger
does not exist and when looking into the related JSON schema
definition of we see that the profileClass member is already defined
as integer. This means that ProfileClass already arrives as integer
and can be used as it is. removing the hex_to_integer call solves
the problem.
Change-Id: I4bd223dbef00be9c800539b8d0dc9a84e3e93b73
Related: SYS#8100
---
M src/esipa_rest_utils.erl
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/onomondo-eim refs/changes/34/42834/3
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/42834?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: I4bd223dbef00be9c800539b8d0dc9a84e3e93b73
Gerrit-Change-Number: 42834
Gerrit-PatchSet: 3
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-eim/+/42874?usp=email )
Change subject: es9p_client: section 6.3.2.1, rename euiccCiPKIdToBeused to match SGP.32 V.1.2
......................................................................
es9p_client: section 6.3.2.1, rename euiccCiPKIdToBeused to match SGP.32 V.1.2
Section 6.3.2.1: rename InitiateAuthenticationOkEsipa.euiccCiPKIdToBeused to InitiateAuthenticationOkEsipa.euiccCiPKIdentifierToBeUsed
Change-Id: I44c60a2f0d1129093ea67908d2eed167643a4a87
Related: SYS#8100
---
M src/esipa_asn1_handler.erl
1 file changed, 6 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/onomondo-eim refs/changes/74/42874/1
diff --git a/src/esipa_asn1_handler.erl b/src/esipa_asn1_handler.erl
index e816ee3..ae9bfa9 100644
--- a/src/esipa_asn1_handler.erl
+++ b/src/esipa_asn1_handler.erl
@@ -48,7 +48,12 @@
% FIXME). Otherwise we would have to add a ctxParams1 field and populate it with the matchingId and the
% deviceInfo. The deviceInfo can be retrieved via an eUICC data request.
% (see GSMA SGP.32, section 3.1.2.3).
- {initiateAuthenticationOkEsipa, InitAuthOk};
+ InitAuthOkEsipa = #{transactionId => maps:get(transactionId, InitAuthOk),
+ serverSigned1 => maps:get(serverSigned1, InitAuthOk),
+ serverSignature1 => maps:get(serverSignature1, InitAuthOk),
+ euiccCiPKIdentifierToBeUsed => maps:get(euiccCiPKIdToBeUsed, InitAuthOk),
+ serverCertificate => maps:get(serverCertificate, InitAuthOk)},
+ {initiateAuthenticationOkEsipa, InitAuthOkEsipa};
{initiateAuthenticationError, InitAuthErr} ->
ok = mnesia_db:work_finish(
Pid,
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/42874?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: I44c60a2f0d1129093ea67908d2eed167643a4a87
Gerrit-Change-Number: 42874
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Attention is currently required from: jolly.
dexter has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/onomondo-eim/+/42869?usp=email )
Change subject: asn1/SGP32Definitions: upgrade ASN.1 spec to V.1.2
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS1:
The trailing white-spaces are part of the specification
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/42869?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: Id4d217296f43846aa39f5dc7076465e2dab72a7c
Gerrit-Change-Number: 42869
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Comment-Date: Wed, 24 Jun 2026 09:26:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-eim/+/42875?usp=email )
Change subject: esipa_asn1_codec: add special handling for ProvideEimPackageResultResponse
......................................................................
esipa_asn1_codec: add special handling for ProvideEimPackageResultResponse
In SGP.32 V.1.2 ProvideEimPackageResultResponse is defined as a CHOICE.
This means that this struct now also requires special handling.
Change-Id: I859a175cc28a18ea9334d9b2cf233294fdc95b76
Related: SYS#8100
---
M src/esipa_asn1_codec.erl
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/onomondo-eim refs/changes/75/42875/1
diff --git a/src/esipa_asn1_codec.erl b/src/esipa_asn1_codec.erl
index 4102575..23cab53 100644
--- a/src/esipa_asn1_codec.erl
+++ b/src/esipa_asn1_codec.erl
@@ -28,6 +28,8 @@
'SGP32Definitions':encode('GetBoundProfilePackageResponseEsipa', EimToIpaChoice);
encode_eim_to_ipa({cancelSessionResponseEsipa, EimToIpaChoice}) ->
'SGP32Definitions':encode('CancelSessionResponseEsipa', EimToIpaChoice);
+encode_eim_to_ipa({provideEimPackageResultResponse, EimToIpaChoice}) ->
+ 'SGP32Definitions':encode('ProvideEimPackageResultResponse', EimToIpaChoice);
encode_eim_to_ipa(emptyResponse) ->
{ok, <<>>};
encode_eim_to_ipa(EimToIpa) ->
--
To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/42875?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: onomondo-eim
Gerrit-Branch: master
Gerrit-Change-Id: I859a175cc28a18ea9334d9b2cf233294fdc95b76
Gerrit-Change-Number: 42875
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>