Skip to content

refactor(postgraphile): derive JWT public key from private key - #295

Merged
dargmuesli merged 2 commits into
mainfrom
refactor/postgraphile/derive-jwt-public-key
Aug 14, 2026
Merged

refactor(postgraphile): derive JWT public key from private key#295
dargmuesli merged 2 commits into
mainfrom
refactor/postgraphile/derive-jwt-public-key

Conversation

@dargmuesli

Copy link
Copy Markdown
Member

The GraphQL API's JWT public key was checked into git as a static file (jwtES256.key.pub), mounted into postgraphile, reccoom, and vibetype. It's now derived from the existing postgraphile-jwt-secret private key via dargstack's x-dargstack.configs (type: public_key), requiring dargstack >=4.13.0.

  • Removed the hardcoded jwtES256.key.pub files (dev and production) and the orphaned, unreferenced jwtRS256.key.pub leftover from the old RS256→ES256 migration.
  • postgraphile, reccoom, and vibetype now mount the derived key via configs: instead of a bind-mounted file; target paths are unchanged.
  • Bumped dargstack to 4.13.0, the version introducing this config-derivation feature.

@dargmuesli
dargmuesli enabled auto-merge (squash) August 14, 2026 11:46
@dargmuesli
dargmuesli merged commit 71d3405 into main Aug 14, 2026
8 checks passed
@dargmuesli
dargmuesli deleted the refactor/postgraphile/derive-jwt-public-key branch August 14, 2026 11:46
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