Skip to content

Generate a gateway key over the control plane - #14

Merged
fylorn merged 1 commit into
mainfrom
dev
Sep 14, 2026
Merged

fylorn merged 1 commit into
mainfrom
dev

Conversation

@fylorn

@fylorn fylorn commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

GET /keys/new returns a freshly generated key without writing it anywhere. The UI needs a value to put in a new entry, and generating it there would mean a second copy of the alphabet and the length.

Both are security decisions — the alphabet drops 0/O and 1/I/l because people read this string aloud and retype it into another config file — and two copies mean only one of them ever gets changed.

🤖 Generated with Claude Code

`GET /keys/new` returns a freshly generated key without writing it
anywhere. The UI needs a value to put in a new entry, and generating it
there would mean a second copy of the alphabet and the length.

Both are security decisions — the alphabet drops 0/O and 1/I/l because
people read this string aloud and retype it into another config file —
and two copies mean only one of them gets changed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@fylorn
fylorn merged commit 18640ca into main Sep 14, 2026
3 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