dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/37946?usp=email )


Change subject: suci-tutorial: fix incorrect hnet_pubkey value
......................................................................

suci-tutorial: fix incorrect hnet_pubkey value

The first hnet_pubkey value with the identifier 27 seems to be incorrect.
It differs from the value suggested in 3GPP TS 31.121, section 4.9.4 and
also does not work with the on card SUCI calculation.

The tutorial also contains a reference to 3GPP TS 33.501, Annex C.4. This
spec specifies an ECIES Profile A and an ECIES Profile B. The tutorial
recommends to use a key from profile B, but it actually uses a key from
profile A.

Related: OS#6531
Change-Id: I6fddf8a6efc28ad0d40b1715973429904e00d2b2
---
M docs/suci-tutorial.rst
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/46/37946/1

diff --git a/docs/suci-tutorial.rst b/docs/suci-tutorial.rst
index b4c950f..60d2190 100644
--- a/docs/suci-tutorial.rst
+++ b/docs/suci-tutorial.rst
@@ -97,7 +97,7 @@
            {"priority": 2, "identifier": 0, "key_index": 0}],
         "hnet_pubkey_list": [
            {"hnet_pubkey_identifier": 27,
-            "hnet_pubkey": 
"0272DA71976234CE833A6907425867B82E074D44EF907DFB4B3E21C1C2256EBCD1"},
+            "hnet_pubkey": 
"0472DA71976234CE833A6907425867B82E074D44EF907DFB4B3E21C1C2256EBCD15A7DED52FCBB097A4ED250E036C7B9C8C7004C4EEDC4F068CD7BF8D3F900E3B4"},
            {"hnet_pubkey_identifier": 30,
             "hnet_pubkey": 
"5A8D38864820197C3394B92613B20B91633CBD897119273BF8E4A6F4EEC0A650"}]
    }
@@ -106,7 +106,7 @@

 ::

-   pySIM-shell (00:MF/ADF.USIM/DF.5GS/EF.SUCI_Calc_Info)> 
update_binary_decoded '{ "prot_scheme_id_list": [ {"priority": 0, "identifier": 
2, "key_index": 1}, {"priority": 1, "identifier": 1, "key_index": 2}, 
{"priority": 2, "identifier": 0, "key_index": 0}], "hnet_pubkey_list": [ 
{"hnet_pubkey_identifier": 27, "hnet_pubkey": 
"0272DA71976234CE833A6907425867B82E074D44EF907DFB4B3E21C1C2256EBCD1"}, 
{"hnet_pubkey_identifier": 30, "hnet_pubkey": 
"5A8D38864820197C3394B92613B20B91633CBD897119273BF8E4A6F4EEC0A650"}]}'
+   pySIM-shell (00:MF/ADF.USIM/DF.5GS/EF.SUCI_Calc_Info)> 
update_binary_decoded '{ "prot_scheme_id_list": [ {"priority": 0, "identifier": 
2, "key_index": 1}, {"priority": 1, "identifier": 1, "key_index": 2}, 
{"priority": 2, "identifier": 0, "key_index": 0}], "hnet_pubkey_list": [ 
{"hnet_pubkey_identifier": 27, "hnet_pubkey": 
"0472DA71976234CE833A6907425867B82E074D44EF907DFB4B3E21C1C2256EBCD15A7DED52FCBB097A4ED250E036C7B9C8C7004C4EEDC4F068CD7BF8D3F900E3B4"},
 {"hnet_pubkey_identifier": 30, "hnet_pubkey": 
"5A8D38864820197C3394B92613B20B91633CBD897119273BF8E4A6F4EEC0A650"}]}'

 WARNING: These are TEST KEYS with publicly known/specified private keys, and 
hence unsafe for live/secure
 deployments! For use in production networks, you need to generate your own 
set[s] of keys.

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/37946?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I6fddf8a6efc28ad0d40b1715973429904e00d2b2
Gerrit-Change-Number: 37946
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>

Reply via email to