summaryrefslogtreecommitdiff
path: root/tools/configschema.py
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2017-09-05 15:18:46 +0200
committerLinus Nordberg <linus@nordu.net>2017-09-05 15:18:46 +0200
commit1d37ce55ed52c93453090fa25113780001dc6162 (patch)
tree88853de316fb2d3cd8d598527699f7b2436df278 /tools/configschema.py
parent6bd61a28df23ac00d436dde3e087f4e676674ed7 (diff)
Add missing hsm/*.
Diffstat (limited to 'tools/configschema.py')
-rw-r--r--tools/configschema.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/configschema.py b/tools/configschema.py
index e78c8c7..b1a7ef5 100644
--- a/tools/configschema.py
+++ b/tools/configschema.py
@@ -31,6 +31,10 @@ localconfigschema = [
("merge/dist-window-size", "integer", "number of entries"),
("merge/dist-sendlog-chunksize", "integer", "number of entries"),
("merge/dist-sendentries-chunksize", "integer", "number of entries"),
+ ("hsm/library", "string", "path"),
+ ("hsm/slot", "integer", "hsm slot"),
+ ("hsm/label", "string", "hsm keyname"),
+ ("hsm/pin", "string", "hsm pin"),
]
globalconfigschema = [
@@ -68,5 +72,5 @@ localconfigdefaults = [
("dbbackend", "fsdb"),
]
-localconfigoptionals = set(["storageaddress", "frontendaddress", "signingaddress", "mergeaddress", "ctapiaddress", "publichttpaddress", "hsm"])
+localconfigoptionals = set(["storageaddress", "frontendaddress", "signingaddress", "mergeaddress", "ctapiaddress", "publichttpaddress", "hsm", "hsm/library", "hsm/slot", "hsm/label", "hsm/pin"])
globalconfigoptionals = set()