Ponytail review of the hardening batch:
- JoinChallenge was a bare token||pubkey concat — unambiguous only because
ed25519 keys are fixed 32 bytes. Now domain-separated + NUL-delimited
('devbox-join\0<token>\0<pubkey>') so the boundary is explicit regardless of
key length, and the sig can't collide with any other devbox signing use.
- inlined the one-caller pidfileContents() into writePid.
(Kept the Linux /proc start-time guard: the daemon's real home is the Pi
cluster, where PID-reuse-after-crash is a genuine window; the magic field index
is already a named const. Declined the flock rewrite of fleet-verified code.)
|
||
|---|---|---|
| .. | ||
| devbox | ||
| devbox-hub | ||