Project

General

Profile

Actions

Bug #17460

closed

When keyhash is empty, `key-hash` should not be in nodeslist.json node's entry

Added by François ARMAND over 4 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
18
Name check:
To do
Fix check:
To do
Regression:

Description

We have case where node are broken (or edge case, when key is deleted, etc) and keyhash is empty.
In that case, we generate:

...
"nodeXX": {
  "hostname": "nodeXX.local",
  "key-hash": "sha256:",
  "policy-server": "root" 
}

We should just not write key-hash at all in that case.

Actions

Also available in: Atom PDF