sessions/dev
agent ca66db3aeb Add sessions-ctl keygen to create prod's key on the dev box
keygen generates an ed25519 pair in RAM, writes the public half to
config.toml and authorized_keys (replacing the previous sessions-manager
line) and prints the web app's environment - dev host, port, user, pinned
host key and the private key as one base64 line - then deletes the private
key, so the pasted copy is the only one. Refuses to replace an existing key
without --rotate. Local only, never reachable over SSH.

Also make load_config() read CONFIG_PATH at call time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KKYfRST9cTJYae3f7Jf3ac
2026-09-30 14:39:56 +00:00
..
systemd Add sessions-ctl and systemd units for the dev box 2026-09-30 11:55:38 +00:00
tests Add sessions-ctl keygen to create prod's key on the dev box 2026-09-30 14:39:56 +00:00
config.example.toml Add sessions-ctl keygen to create prod's key on the dev box 2026-09-30 14:39:56 +00:00
install.sh Add sessions-ctl keygen to create prod's key on the dev box 2026-09-30 14:39:56 +00:00
sessions_ctl.py Add sessions-ctl keygen to create prod's key on the dev box 2026-09-30 14:39:56 +00:00