aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-07 22:35:21 +0100
committertv <tv@krebsco.de>2026-11-07 22:35:21 +0100
commitb6f815882a6d4a32c1198bd3666edaeaf1f7bca3 (patch)
tree5beab4b31fd4511446c8e3a7445412ce7f33f97a /docs
parente696d2f40636a6613eddfb1a3afdf87aa7ffdedd (diff)
access: --bootstrap-keys
The first users' SSH keys, recorded at genesis with their entries, so a swarm can be strict from its start. Auth plan M7.
Diffstat (limited to 'docs')
-rw-r--r--docs/access.md5
-rw-r--r--docs/example.toml5
2 files changed, 9 insertions, 1 deletions
diff --git a/docs/access.md b/docs/access.md
index a182266..d81f115 100644
--- a/docs/access.md
+++ b/docs/access.md
@@ -38,7 +38,10 @@ password hashes: every member reads the document).
A swarm gets a registry from its start if its genesis node is given its first users,
`--bootstrap-users`: it records them, with the swarm ID, in its first change, each with
everything (`[]` and `["_continuum"]`). Other users, of its `--htpasswd` or any node's,
-may do nothing until added (the genesis node warns of those of its `--htpasswd`).
+may do nothing until added (the genesis node warns of those of its `--htpasswd`). With
+`--bootstrap-keys alice=ssh-ed25519\ AAAA…\ laptop` it records their keys too, so they
+log in by key and sign values from the start: a swarm whose first user then writes the
+policy (Values signed by their users, below) is strict from its start.
Without it, the swarm has no registry: its users are all alike (A swarm without a
registry, below), until someone gives it one. `--protocol-writers` counts in
both: without a registry, as who may write protocol data; with one, to set it right
diff --git a/docs/example.toml b/docs/example.toml
index 034976f..d2d9a67 100644
--- a/docs/example.toml
+++ b/docs/example.toml
@@ -115,6 +115,11 @@ htpasswd = "/etc/continuum/htpasswd"
# and only those in protocol-writers write protocol data.
# bootstrap-users = ["alice"]
+# With bootstrap-users: their SSH keys, as authorized_keys lines (ssh-ed25519 <base64>
+# [comment], named by the comment), recorded in their entries: to log in by key and sign
+# values (docs/access.md), so a swarm can be strict from its start.
+# bootstrap-keys = ["alice=ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA… laptop"]
+
# How log lines look: text (timestamped), journal (for systemd's journal: no timestamp or
# colours, the level as each line's priority, for journalctl -p), or auto: journal when
# stdout goes to the journal, else text.