The operator's public keys reach the node as the file operator-keys, fed by the node-engine's setting operator-signers (ADR 0539 clause 3)
This commit is contained in:
+14
@@ -14,6 +14,13 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"config": {
|
||||
"operator-signers": {
|
||||
"type": "string",
|
||||
"description": "The operator's public keys, ed25519 in base64, one a line: the node applies a composition made by hand only when one of these signed it (ADR 0539 clause 3). Public keys, no secret. Empty trusts no operator key.",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"id": "launcher",
|
||||
@@ -27,6 +34,13 @@
|
||||
"type": "archive",
|
||||
"artifact": "host-arch",
|
||||
"path": "/usr/lib/nox-mesh-host/versions/${version}"
|
||||
},
|
||||
{
|
||||
"id": "operator-keys",
|
||||
"type": "file",
|
||||
"path": "/var/lib/mesh-host/operator-keys",
|
||||
"mode": "0644",
|
||||
"content": "${config:operator-signers}\n"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user