Browse Source

tests/08_seq: Test resetting of SEQ/SQN

the resetting of the SEQ/SQN parameters is currently not tested, we
currently only read out the parameters. Lets test resetting as well.

Change-Id: Ie3e386a79f69cd5e35782f593c3a30e1d2b50afb
Related: OS#3376
for/master/mnclen
Philipp Maier 3 years ago
parent
commit
12f0d25693
  1. 20
      tests/08_seq.out
  2. 3
      tests/08_seq.sh

20
tests/08_seq.out

@ -61,3 +61,23 @@ Reading Milenage Sequence parameters...
* Authentication Counter: DISABLED
Done!
sysmoUSIM-SJS1 parameterization tool
Copyright (c)2017 Sysmocom s.f.m.c. GmbH
Initializing smartcard terminal...
Detected Card ICCID: 8988211320300000028
Authenticating...
* Remaining attempts: 3
* Authenticating...
* Authentication successful
* Remaining attempts: 3
Detected Card IMSI: 262423203000002
Resetting MILENAGE Sequence Parameters...
* Initalizing...
* Resetting SQN Configuration to defaults...
Done!

3
tests/08_seq.sh

@ -3,3 +3,6 @@
# we can only read them for now, which will of course change once we perform auth against it
$TOOL -a $ADMPIN -s
# test if resetting SQN parameters works
$TOOL -a $ADMPIN -S
Loading…
Cancel
Save