Add initialization test script with pkcs11
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash -eu
|
||||
#!/bin/bash
|
||||
|
||||
python3 tools/pico-hsm-tool.py --pin 648219 initialize --so-pin 57621880 --silent
|
||||
test $? -eq 0 || exit $?
|
||||
@@ -40,5 +40,5 @@ grep -q CKR_PIN_LOCKED <<< $e || exit $?
|
||||
pkcs11-tool --login --login-type so --so-pin 3537363231383830 --init-pin --new-pin 648219
|
||||
test $? -eq 0 || exit $?
|
||||
|
||||
pkcs11-tool --login --pin 648219 -I > /dev/null
|
||||
pkcs11-tool --login --pin 648219 -I
|
||||
test $? -eq 0 || exit $?
|
||||
|
||||
Reference in New Issue
Block a user