tests, tests-extra: update SoftHSM2 configuration so that it doesn't complain

This commit is contained in:
David Vašek 2026-02-03 15:16:28 +01:00
parent c64fb014c2
commit ab17c4e727
2 changed files with 3 additions and 0 deletions

View file

@ -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)

View file

@ -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);