laforge has submitted this change. ( https://gerrit.osmocom.org/c/onomondo-eim/+/43505?usp=email ) Change subject: es9p_client: rephrase TODOs for better understanding ...................................................................... es9p_client: rephrase TODOs for better understanding Related: SYS#8100 Change-Id: I5ac1f84129e3848ab37a806b3408e38e22810a3e --- M src/es9p_client.erl 1 file changed, 4 insertions(+), 2 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/src/es9p_client.erl b/src/es9p_client.erl index 712ee9d..4f79110 100644 --- a/src/es9p_client.erl +++ b/src/es9p_client.erl @@ -54,7 +54,8 @@ }, % construct body from encoded json ReqBody = jiffy:encode(JsonBodyWithHdr, [force_utf8]), - % TODO: actually verify the certificate by providing custom root CA Cert + % TODO: Pass proper CA certificate to hackney, so that the eIM can be sure that the identity of the SM-DP+ is + % properly verfied. At the moment we do not verify anything, which is risky. SslOptions = [{verify, verify_none}], Options = [{ssl_options, SslOptions}, with_body], logger:debug( @@ -109,7 +110,8 @@ ], % construct body from encoded ASN.1 {ok, ReqBody} = 'RSPDefinitions':encode('RemoteProfileProvisioningRequest', Asn1Body), - % TODO: actually verify the certificate by providing custom root CA Cert + % TODO: Pass proper CA certificate to hackney, so that the eIM can be sure that the identity of the SM-DP+ is + % properly verfied. At the moment we do not verify anything, which is risky. SslOptions = [{verify, verify_none}], Options = [{ssl_options, SslOptions}, with_body], logger:debug( -- To view, visit https://gerrit.osmocom.org/c/onomondo-eim/+/43505?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: onomondo-eim Gerrit-Branch: master Gerrit-Change-Id: I5ac1f84129e3848ab37a806b3408e38e22810a3e Gerrit-Change-Number: 43505 Gerrit-PatchSet: 3 Gerrit-Owner: dexter <pmaier@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org>