Skip to content

T10: working shadowgate server and agent command line - #2

Merged
5aranx merged 1 commit into
mainfrom
t10-agent-cli
Nov 30, 2026
Merged

5aranx merged 1 commit into
mainfrom
t10-agent-cli

Conversation

@5aranx

@5aranx 5aranx commented Nov 30, 2026

Copy link
Copy Markdown
Owner
  • shadowgate server: starts the app from validated settings; exits 2 without operator tokens; warns on a non-loopback bind (no TLS).
  • shadowgate agent enroll: one-time token read from stdin, never argv; credential saved with O_EXCL and mode 0600; never overwrites.
  • shadowgate agent run: refuses missing, malformed or group/other readable credentials; builtin actions only; clean exit on SIGTERM; exit 3 when the credential is rejected.
  • shadowgate plugin list; missing subcommands now exit 2.
  • run.sh starts the server through the CLI.
  • tests/test_cli.py: 25 tests including a real-process end-to-end run.

- shadowgate server: starts the app from validated settings; exits 2
  without operator tokens; warns on a non-loopback bind (no TLS).
- shadowgate agent enroll: one-time token read from stdin, never argv;
  credential saved with O_EXCL and mode 0600; never overwrites.
- shadowgate agent run: refuses missing, malformed or group/other
  readable credentials; builtin actions only; clean exit on SIGTERM;
  exit 3 when the credential is rejected.
- shadowgate plugin list; missing subcommands now exit 2.
- run.sh starts the server through the CLI.
- tests/test_cli.py: 25 tests including a real-process end-to-end run.
@5aranx
5aranx merged commit be83ead into main Nov 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant