Watch
0
0
Fork
You've already forked hyperhive
0

correct the ssh revocation docs and say the sign permission is shared

This commit is contained in:
atlas 2026-11-16 16:35:40 +01:00 • committed by mara
commit aeb9317ad1

View file

@ -81,3 +81,14 @@ NixOS then writes `/etc/ssh/authorized_principals.d/<user>` and sets
Egress. The default `egress.forward = "log"` lets a direct connection from an
agent to a machine's SSH port through, and `reject` blocks it; there is no
per-agent allowance for it yet.
## Revocation
Every agent shares the role, which holds nothing per agent, so there is no
per-agent signing switch. `swarm-controller`'s renewal pass (`agent_renewal.rs`) re-mints
the store identity, and writes the cert-auth role `hive-agent-<name>` back, for
every agent a hive still declares, so deleting the role doesn't stick. Nothing
in the controller deletes the role when you destroy an agent; the renewal pass
skips a destroyed agent and its identity lapses with its 7-day
certificate. A target's `principals` list is the immediate control. A
certificate already signed stays valid for at most `max_ttl` (180 minutes).