[M] Change in osmo-ttcn3-hacks[master]: SGP32Definitions_Templates: use signature dummys with correct length
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37215?usp=email ) Change subject: SGP32Definitions_Templates: use signature dummys with correct length ...................................................................... SGP32Definitions_Templates: use signature dummys with correct length The dummy signature values we are currently using do not have the correct length. The ECDSA signatures used in SGP.32 have a well specified lengt of 64 bytes and they consist of two 32 bit integer nummbers called "R" and "S", so let's use signature dummys with the correct length and recognizeable values. Related: SYS#6824 Change-Id: Ieea99bab5c926420ce864d7c5067e55b2861b045 --- M library/euicc/SGP32Definitions_Templates.ttcn 1 file changed, 52 insertions(+), 18 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/15/37215/1 diff --git a/library/euicc/SGP32Definitions_Templates.ttcn b/library/euicc/SGP32Definitions_Templates.ttcn index 98846c5..218f3ed 100644 --- a/library/euicc/SGP32Definitions_Templates.ttcn +++ b/library/euicc/SGP32Definitions_Templates.ttcn @@ -45,7 +45,8 @@ initiateAuthenticationOkEsipa := { transactionId := omit, serverSigned1 := ts_serverSigned1(euiccChallenge := euiccChallenge, serverAddress := serverAddress), - serverSignature1 := '01020304'O, + serverSignature1 := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O, euiccCiPKIdToBeUsed := 'F54172BDF98A95D65CBEB88A38A1C11D800A85C3'O, /* NIST */ serverCertificate := ts_cert_s_sm_dpauth_nist, // serverCertificate := ts_cert_s_sm_dpauth_brp, @@ -94,7 +95,8 @@ authenticateServerResponse := { authenticateResponseOk := { euiccSigned1 := ts_euiccSigned1, - euiccSignature1 := '1234567890'O, + euiccSignature1 := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O, euiccCertificate := ts_cert_eum_nist, eumCertificate := ts_cert_s_sm_dpauth_nist } @@ -163,7 +165,8 @@ ccRequiredFlag := false, bppEuiccOtpk := omit }, - smdpSignature2 := 'AAAAAAAAAAAAAAAAAAAAAAAA'O, + smdpSignature2 := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O, smdpCertificate := ts_cert_s_sm_dpauth_nist, // smdpCertificate := ts_cert_s_sm_dpauth_brp, // smdpCertificate := ts_cert_s_sm_dp2auth_nist, @@ -502,7 +505,8 @@ transactionId := omit, euiccPackage := euiccPackage }, - eimSignature := '1234567890'O + eimSignature := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } } @@ -613,7 +617,8 @@ } } }, - euiccSignEPR := 'AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } @@ -635,7 +640,8 @@ pendingNotification := { profileInstallationResult := { profileInstallationResultData := ts_profileInstallationResultData, - euiccSignPIR := '00112233445566778899AABBCCDDEEFF'O + euiccSignPIR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } } @@ -673,7 +679,8 @@ } } }, - euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } template (present) EuiccPackageResult @@ -707,7 +714,8 @@ } } }, - euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } template (present) EuiccPackageResult @@ -741,7 +749,8 @@ } } }, - euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } template (present) EuiccPackageResult @@ -781,7 +790,8 @@ } } }, - euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } template (present) EuiccPackageResult @@ -834,7 +844,8 @@ } } }, - euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } template (present) EuiccPackageResult @@ -880,7 +891,8 @@ } } }, - euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } template (present) EuiccPackageResult @@ -914,7 +926,8 @@ } } }, - euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } template (present) EuiccPackageResult @@ -950,7 +963,8 @@ } } }, - euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } template (present) EuiccPackageResult @@ -984,7 +998,8 @@ } } }, - euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } template (present) EuiccPackageResult @@ -1018,7 +1033,8 @@ } } }, - euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } template (present) EuiccPackageResult @@ -1059,7 +1075,8 @@ } } }, - euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O } } template (present) EsipaMessageFromIpaToEim @@ -1195,7 +1212,9 @@ } } }, - euiccSignEPR := 'AABBCCDDEEFF'O + euiccSignEPR := '5252525252525252525252525252525252525252525252525252525252525252 + 5353535353535353535353535353535353535353535353535353535353535353'O + } } } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37215?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ieea99bab5c926420ce864d7c5067e55b2861b045 Gerrit-Change-Number: 37215 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
dexter