Windows: generate and backfill TRITON_MANAGE_JWT_SIGNING_KEY #18

Merged
amiryahaya merged 1 commit from fix/windows-jwt-signing-key into main 2026-08-13 08:03:04 +02:00
Owner

Same bug as #16, on the Windows installer this time. install.ps1 generates POSTGRES_PASSWORD, TRITON_MANAGE_WORKER_KEY, and TRITON_VAULT_KEY but never TRITON_MANAGE_JWT_SIGNING_KEY, which the manage-server binary requires to start — same crash-loop as the Linux bug fixed in #16.

compose.yaml is shared across platforms and already whitelists the variable (from #16), so only the Windows-side generation was missing.

  • install.ps1: generate the key alongside the other auto-generated secrets on first install
  • upgrade.ps1: backfill the key into .env files created before this fix, mirroring upgrade.sh

Found while working on #11/#17; unrelated to the runtime choice so split out into its own PR.

Same bug as #16, on the Windows installer this time. `install.ps1` generates `POSTGRES_PASSWORD`, `TRITON_MANAGE_WORKER_KEY`, and `TRITON_VAULT_KEY` but never `TRITON_MANAGE_JWT_SIGNING_KEY`, which the manage-server binary requires to start — same crash-loop as the Linux bug fixed in #16. `compose.yaml` is shared across platforms and already whitelists the variable (from #16), so only the Windows-side generation was missing. - `install.ps1`: generate the key alongside the other auto-generated secrets on first install - `upgrade.ps1`: backfill the key into `.env` files created before this fix, mirroring `upgrade.sh` Found while working on #11/#17; unrelated to the runtime choice so split out into its own PR.
Same bug as #16 on Linux: install.ps1 generated POSTGRES_PASSWORD,
TRITON_MANAGE_WORKER_KEY, and TRITON_VAULT_KEY but never
TRITON_MANAGE_JWT_SIGNING_KEY, which the server requires to start.
compose.yaml already whitelists the var (fixed in #16, shared across
platforms) — only the Windows generation/backfill was missing.

- install.ps1: generate the key alongside the other auto-generated secrets
- upgrade.ps1: backfill the key for existing .env files that predate this fix
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
primatekuntech/triton-install!18
No description provided.