Commit Graph
1 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 780b9bd166 engines: the key comes through a config file SGLang merges in memory, on no command line
--api-key "$(cat .../api-key)" put the key in the argv of the docker client and of the
server, readable by any local user in /proc. The units, the flash launcher and run.sh pass
--config /out/engine-secrets.yaml instead (the parse checked in both serving images),
written from the api-key file by engine-secrets.sh before every start (ExecStartPre, the
launcher, run.sh) and only when its content changes, so a hand-changed key still reaches
the next start and an unchanged one restarts nothing. install.sh installs the helper at
step 6; the CI flash gate, SECURITY.md and the uninstall listing follow. Also: a test's
fake subprocess.run leaked into every later test of the process; it is put back.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 23:42:45 +02:00