Browse Source

tests/sja2: change card in test rig

The sysmo-usim-sja2 which is currently used for testing somewhat old. In
order to have a defined state here lets exchange it with a new card.
This will also ensure that we have a card with the most recent card
profile in the tester.
master
Philipp Maier 6 months ago
parent
commit
ee5c2d77b4
  1. 2
      tests/sja2/01_auth.out
  2. 60
      tests/sja2/02_algo.out
  3. 8
      tests/sja2/03_milenage_par.out
  4. 8
      tests/sja2/04_op_opc.out
  5. 12
      tests/sja2/05_ki.out
  6. 4
      tests/sja2/06_seq.out
  7. 12
      tests/sja2/07_mnclen.out
  8. 6
      tests/sja2/test-data

2
tests/sja2/01_auth.out

@ -3,7 +3,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed

60
tests/sja2/02_algo.out

@ -3,7 +3,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -26,7 +26,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -49,7 +49,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -72,7 +72,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -95,7 +95,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -118,7 +118,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -141,7 +141,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -164,7 +164,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -187,7 +187,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -210,7 +210,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -233,7 +233,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -256,7 +256,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -279,7 +279,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -302,7 +302,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -325,7 +325,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -348,7 +348,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -371,7 +371,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -394,7 +394,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -417,7 +417,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -440,7 +440,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -463,7 +463,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -486,7 +486,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -509,7 +509,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -532,7 +532,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -555,7 +555,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -578,7 +578,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -601,7 +601,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -624,7 +624,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -647,7 +647,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -670,7 +670,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed

8
tests/sja2/03_milenage_par.out

@ -3,7 +3,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -34,7 +34,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -65,7 +65,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -96,7 +96,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed

8
tests/sja2/04_op_opc.out

@ -3,7 +3,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -25,7 +25,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -47,7 +47,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -69,7 +69,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed

12
tests/sja2/05_ki.out

@ -3,7 +3,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -25,7 +25,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -47,7 +47,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -60,7 +60,7 @@ Authenticating...
Writing KI value...
* Initalizing...
* New KI setting:
KI: 94c7f52c8c7337fad1af3a73b17b56ac
KI: d7882eae7cd14f06108c55f8e5cffe93
* Programming...
Done!
@ -69,7 +69,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -83,6 +83,6 @@ Reading KI value...
* Initalizing...
* Reading...
* Current KI setting:
KI: 94c7f52c8c7337fad1af3a73b17b56ac
KI: d7882eae7cd14f06108c55f8e5cffe93
Done!

4
tests/sja2/06_seq.out

@ -3,7 +3,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -58,7 +58,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed

12
tests/sja2/07_mnclen.out

@ -3,7 +3,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -25,7 +25,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -47,7 +47,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -69,7 +69,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -91,7 +91,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed
@ -113,7 +113,7 @@ Copyright (c)2019 Sysmocom s.f.m.c. GmbH
Trying to find card with ATR: 3B 9F 96 80 1F 87 80 31 E0 73 FE 21 1B 67 4A 4C 75 30 34 05 4B A9
Initializing smartcard terminal...
* Detected Card IMSI: 262423203000002
* Detected Card IMSI: 901700000046734
ISIM Application installed
USIM Application installed

6
tests/sja2/test-data

@ -1,5 +1,5 @@
TOOL=../../sysmo-isim-tool.sja2.py
# data for the test scripts. The values have to match the SIM card inserted while executing the test
IMSI=262423203000002
ADMPIN=11111111 # <==== CHANGE THIS TO THE ADM1 KEY OF YOUR TEST CARD!
KI=94c7f52c8c7337fad1af3a73b17b56ac
IMSI=901700000046734
ADMPIN=67225880 # <==== CHANGE THIS TO THE ADM1 KEY OF YOUR TEST CARD!
KI=D7882EAE7CD14F06108C55F8E5CFFE93
Loading…
Cancel
Save