Disable ensure_application_selected() by default, since it breaks PIN policy.
This commit is contained in:
@@ -45,7 +45,7 @@ endif
|
||||
ykcs11_tests_LDADD = ../libykcs11.la $(OPENSSL_LIBS)
|
||||
|
||||
check_PROGRAMS = ykcs11_tests
|
||||
TESTS = $(check_PROGRAMS)
|
||||
TESTS = reset.sh $(check_PROGRAMS)
|
||||
|
||||
if ENABLE_COV
|
||||
AM_LDFLAGS += --coverage
|
||||
|
||||
Executable
+20
@@ -0,0 +1,20 @@
|
||||
BIN="../../tool/yubico-piv-tool${EXEEXT}"
|
||||
|
||||
# Verify that user has confirmed destructive hw-tests
|
||||
if [ "x$YKPIV_ENV_HWTESTS_CONFIRMED" != "x1" ]; then
|
||||
printf "\n***\n*** Hardware tests skipped. Run \"make hwcheck\".\n***\n\n" >&0
|
||||
exit 77 # exit code 77 == skipped tests
|
||||
fi
|
||||
|
||||
# Reset
|
||||
$BIN -averify-pin -P000000 || true
|
||||
$BIN -averify-pin -P000000 || true
|
||||
$BIN -averify-pin -P000000 || true
|
||||
$BIN -averify-pin -P000000 || true
|
||||
$BIN -averify-pin -P000000 || true
|
||||
$BIN -achange-puk -P000000 -N00000000 || true
|
||||
$BIN -achange-puk -P000000 -N00000000 || true
|
||||
$BIN -achange-puk -P000000 -N00000000 || true
|
||||
$BIN -achange-puk -P000000 -N00000000 || true
|
||||
$BIN -achange-puk -P000000 -N00000000 || true
|
||||
$BIN -areset
|
||||
Reference in New Issue
Block a user