feat(dev): generate OIDC signing keys on just dev if missing #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/dev-ensure-oidc-keys"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
bunyip-api is the OIDC issuer and loads an Ed25519 signing key at startup (OIDC_JWT_PRIVATE_KEY_PATH), so a fresh clone fails to boot until the key exists - the .env.example only documents the manual openssl steps in a comment. Add an idempotent
ensure-oidc-keysrecipe that generates secrets/dev-2026.pem + .pub.pem (kid dev-2026, matching the .env.example defaults) when absent, and make dev / dev-detach / dev-sso depend on it alongside ensure-env. Mirrors mokosh-server's ensure-oidc-keys. The keypair stays gitignored.Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
just devif missing