diff options
| author | tv <tv@krebsco.de> | 2026-11-07 22:35:21 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-07 22:35:21 +0100 |
| commit | c9b05d33f57b7efd69301b56725614a0d9938599 (patch) | |
| tree | 1b1fc8dd4d2254174303f2938fb0ec773081af2e /docs | |
| parent | 8523e9c67e375747147a0b05ec191ad81ce2e318 (diff) | |
signatures: --sign-every
Changes left unsigned are vouched for by the node's next signature:
--sign-every 1s (default) signs the latest within a second, all signs
every change, none only those that must be.
Auth plan M5.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.md | 5 | ||||
| -rw-r--r-- | docs/example.toml | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/docs/api.md b/docs/api.md index e380c95..6a328a5 100644 --- a/docs/api.md +++ b/docs/api.md @@ -257,7 +257,10 @@ every change is signed, only those that * or were written with `?signed=true`. A change left unsigned, such as a metric written many times a second, is vouched for -by the node's next signed one. +by the node's next signed one: with `--sign-every 1s` (the default), the node signs its +latest change at most a second after it if nothing signed it before, so every change is vouched +for within a second, at one signature a second at most; `--sign-every all` signs every +change as it is made, and `--sign-every none` signs only those above. ## Protocol data diff --git a/docs/example.toml b/docs/example.toml index 222db52..034976f 100644 --- a/docs/example.toml +++ b/docs/example.toml @@ -73,6 +73,13 @@ htpasswd = "/etc/continuum/htpasswd" # 0: never. # stream-heartbeat = "30s" +# Which of its changes this node signs with its node key besides those touching +# protocol data, paths listed in _continuum/access/signed, or written with +# ?signed=true: "all", "none" (one left unsigned is vouched for by the node's next +# signed change), or its latest change, if unsigned, this often (docs/api.md, Signed +# changes). +# sign-every = "1s" + # How long a token this node issues (POST /auth/login, /auth/refresh) is taken, by every # node of the swarm (docs/access.md, Tokens). Refreshed before it ends, it lasts until # the login's end (session-lifetime). |
