sysmo_usimsjs1: use correct parameter for 3G auth
when programming the 3G authentication (EF_AUTH), the parameter for 2G is used. - make sure that parameter algo_3g_str is used to select the 3g authentication algorithem, do not use algo_2g_str here. Change-Id: I6aaf49062f6faf36455dc48639dc58f3da8e804d
This commit is contained in:
parent
b8845748f5
commit
3bd5054d56
|
@ -300,7 +300,7 @@ def sysmo_usim_write_auth_params(sim, algo_2g_str, algo_3g_str):
|
||||||
algo_2g = sysmo_usim_str_to_algo(algo_2g_str)
|
algo_2g = sysmo_usim_str_to_algo(algo_2g_str)
|
||||||
|
|
||||||
if algo_3g_str.isdigit():
|
if algo_3g_str.isdigit():
|
||||||
algo_3g = int(algo_2g_str)
|
algo_3g = int(algo_3g_str)
|
||||||
else:
|
else:
|
||||||
algo_3g = sysmo_usim_str_to_algo(algo_3g_str)
|
algo_3g = sysmo_usim_str_to_algo(algo_3g_str)
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ Detected Card IMSI: 262423203000002
|
||||||
Programming Authentication parameters...
|
Programming Authentication parameters...
|
||||||
* New algorithm setting:
|
* New algorithm setting:
|
||||||
2G: 3=COMP128v1
|
2G: 3=COMP128v1
|
||||||
3G: 3=COMP128v1
|
3G: 1=MILENAGE
|
||||||
* Initalizing...
|
* Initalizing...
|
||||||
* Programming...
|
* Programming...
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ Reading Authentication parameters...
|
||||||
* Reading...
|
* Reading...
|
||||||
* Current algorithm setting:
|
* Current algorithm setting:
|
||||||
2G: 3=COMP128v1
|
2G: 3=COMP128v1
|
||||||
3G: 3=COMP128v1
|
3G: 1=MILENAGE
|
||||||
|
|
||||||
Done!
|
Done!
|
||||||
sysmoUSIM-SJS1 parameterization tool
|
sysmoUSIM-SJS1 parameterization tool
|
||||||
|
@ -108,7 +108,7 @@ Detected Card IMSI: 262423203000002
|
||||||
Programming Authentication parameters...
|
Programming Authentication parameters...
|
||||||
* New algorithm setting:
|
* New algorithm setting:
|
||||||
2G: 4=XOR-2G
|
2G: 4=XOR-2G
|
||||||
3G: 4=XOR-2G
|
3G: 1=MILENAGE
|
||||||
* Initalizing...
|
* Initalizing...
|
||||||
* Programming...
|
* Programming...
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ Reading Authentication parameters...
|
||||||
* Reading...
|
* Reading...
|
||||||
* Current algorithm setting:
|
* Current algorithm setting:
|
||||||
2G: 4=XOR-2G
|
2G: 4=XOR-2G
|
||||||
3G: 4=XOR-2G
|
3G: 1=MILENAGE
|
||||||
|
|
||||||
Done!
|
Done!
|
||||||
sysmoUSIM-SJS1 parameterization tool
|
sysmoUSIM-SJS1 parameterization tool
|
||||||
|
@ -154,7 +154,7 @@ Detected Card IMSI: 262423203000002
|
||||||
Programming Authentication parameters...
|
Programming Authentication parameters...
|
||||||
* New algorithm setting:
|
* New algorithm setting:
|
||||||
2G: 5=GBA
|
2G: 5=GBA
|
||||||
3G: 5=GBA
|
3G: 1=MILENAGE
|
||||||
* Initalizing...
|
* Initalizing...
|
||||||
* Programming...
|
* Programming...
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ Reading Authentication parameters...
|
||||||
* Reading...
|
* Reading...
|
||||||
* Current algorithm setting:
|
* Current algorithm setting:
|
||||||
2G: 5=GBA
|
2G: 5=GBA
|
||||||
3G: 5=GBA
|
3G: 1=MILENAGE
|
||||||
|
|
||||||
Done!
|
Done!
|
||||||
sysmoUSIM-SJS1 parameterization tool
|
sysmoUSIM-SJS1 parameterization tool
|
||||||
|
@ -200,7 +200,7 @@ Detected Card IMSI: 262423203000002
|
||||||
Programming Authentication parameters...
|
Programming Authentication parameters...
|
||||||
* New algorithm setting:
|
* New algorithm setting:
|
||||||
2G: 6=COMP128v2
|
2G: 6=COMP128v2
|
||||||
3G: 6=COMP128v2
|
3G: 1=MILENAGE
|
||||||
* Initalizing...
|
* Initalizing...
|
||||||
* Programming...
|
* Programming...
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@ Reading Authentication parameters...
|
||||||
* Reading...
|
* Reading...
|
||||||
* Current algorithm setting:
|
* Current algorithm setting:
|
||||||
2G: 6=COMP128v2
|
2G: 6=COMP128v2
|
||||||
3G: 6=COMP128v2
|
3G: 1=MILENAGE
|
||||||
|
|
||||||
Done!
|
Done!
|
||||||
sysmoUSIM-SJS1 parameterization tool
|
sysmoUSIM-SJS1 parameterization tool
|
||||||
|
@ -246,7 +246,7 @@ Detected Card IMSI: 262423203000002
|
||||||
Programming Authentication parameters...
|
Programming Authentication parameters...
|
||||||
* New algorithm setting:
|
* New algorithm setting:
|
||||||
2G: 7=COMP128v3
|
2G: 7=COMP128v3
|
||||||
3G: 7=COMP128v3
|
3G: 1=MILENAGE
|
||||||
* Initalizing...
|
* Initalizing...
|
||||||
* Programming...
|
* Programming...
|
||||||
|
|
||||||
|
@ -271,7 +271,7 @@ Reading Authentication parameters...
|
||||||
* Reading...
|
* Reading...
|
||||||
* Current algorithm setting:
|
* Current algorithm setting:
|
||||||
2G: 7=COMP128v3
|
2G: 7=COMP128v3
|
||||||
3G: 7=COMP128v3
|
3G: 1=MILENAGE
|
||||||
|
|
||||||
Done!
|
Done!
|
||||||
sysmoUSIM-SJS1 parameterization tool
|
sysmoUSIM-SJS1 parameterization tool
|
||||||
|
@ -292,7 +292,7 @@ Detected Card IMSI: 262423203000002
|
||||||
Programming Authentication parameters...
|
Programming Authentication parameters...
|
||||||
* New algorithm setting:
|
* New algorithm setting:
|
||||||
2G: 9=CIS-B
|
2G: 9=CIS-B
|
||||||
3G: 9=CIS-B
|
3G: 1=MILENAGE
|
||||||
* Initalizing...
|
* Initalizing...
|
||||||
* Programming...
|
* Programming...
|
||||||
|
|
||||||
|
@ -317,7 +317,7 @@ Reading Authentication parameters...
|
||||||
* Reading...
|
* Reading...
|
||||||
* Current algorithm setting:
|
* Current algorithm setting:
|
||||||
2G: 9=CIS-B
|
2G: 9=CIS-B
|
||||||
3G: 9=CIS-B
|
3G: 1=MILENAGE
|
||||||
|
|
||||||
Done!
|
Done!
|
||||||
sysmoUSIM-SJS1 parameterization tool
|
sysmoUSIM-SJS1 parameterization tool
|
||||||
|
@ -338,7 +338,7 @@ Detected Card IMSI: 262423203000002
|
||||||
Programming Authentication parameters...
|
Programming Authentication parameters...
|
||||||
* New algorithm setting:
|
* New algorithm setting:
|
||||||
2G: 5=GBA
|
2G: 5=GBA
|
||||||
3G: 5=GBA
|
3G: 8=XOR-3G
|
||||||
* Initalizing...
|
* Initalizing...
|
||||||
* Programming...
|
* Programming...
|
||||||
|
|
||||||
|
@ -363,7 +363,7 @@ Reading Authentication parameters...
|
||||||
* Reading...
|
* Reading...
|
||||||
* Current algorithm setting:
|
* Current algorithm setting:
|
||||||
2G: 5=GBA
|
2G: 5=GBA
|
||||||
3G: 5=GBA
|
3G: 8=XOR-3G
|
||||||
|
|
||||||
Done!
|
Done!
|
||||||
sysmoUSIM-SJS1 parameterization tool
|
sysmoUSIM-SJS1 parameterization tool
|
||||||
|
@ -384,7 +384,7 @@ Detected Card IMSI: 262423203000002
|
||||||
Programming Authentication parameters...
|
Programming Authentication parameters...
|
||||||
* New algorithm setting:
|
* New algorithm setting:
|
||||||
2G: 3=COMP128v1
|
2G: 3=COMP128v1
|
||||||
3G: 3=COMP128v1
|
3G: 8=XOR-3G
|
||||||
* Initalizing...
|
* Initalizing...
|
||||||
* Programming...
|
* Programming...
|
||||||
|
|
||||||
|
@ -409,7 +409,7 @@ Reading Authentication parameters...
|
||||||
* Reading...
|
* Reading...
|
||||||
* Current algorithm setting:
|
* Current algorithm setting:
|
||||||
2G: 3=COMP128v1
|
2G: 3=COMP128v1
|
||||||
3G: 3=COMP128v1
|
3G: 8=XOR-3G
|
||||||
|
|
||||||
Done!
|
Done!
|
||||||
sysmoUSIM-SJS1 parameterization tool
|
sysmoUSIM-SJS1 parameterization tool
|
||||||
|
|
Loading…
Reference in New Issue