diff --git a/tests-extra/tools/dnstest/keystore.py b/tests-extra/tools/dnstest/keystore.py index 33b1bb7c3..8db6aa11d 100644 --- a/tests-extra/tools/dnstest/keystore.py +++ b/tests-extra/tools/dnstest/keystore.py @@ -82,6 +82,8 @@ class KeystoreSoftHSM(Keystore): config = ( f"directories.tokendir = {self.dir}/tokens/\n" "objectstore.backend = file\n" + "slots.removable = false\n" + "slots.mechanisms = ALL\n" "log.level = INFO\n" ) conf_file.write(config) diff --git a/tests/libknot/test_dnssec_keystore_pkcs11.c b/tests/libknot/test_dnssec_keystore_pkcs11.c index d7e4b0adc..52546d246 100644 --- a/tests/libknot/test_dnssec_keystore_pkcs11.c +++ b/tests/libknot/test_dnssec_keystore_pkcs11.c @@ -186,6 +186,7 @@ static bool token_init(void) fprintf(file, "objectstore.backend = file\n"); fprintf(file, "log.level = INFO\n"); fprintf(file, "slots.removable = false\n"); + fprintf(file, "slots.mechanisms = ALL\n"); fclose(file);