Skip to content

feat: allow server tokens of any length - #60

Merged
flexdinesh merged 1 commit into
mainfrom
feat/any-token-length
Oct 12, 2026
Merged

flexdinesh merged 1 commit into
mainfrom
feat/any-token-length

Conversation

@flexdinesh

Copy link
Copy Markdown
Owner
  • reviewstore.validCredentials: drop the 32-byte token minimum; require non-empty, no CR/LF. Token doubles as the Basic auth password, so long random values are painful to type in the browser.
  • Tests: store test rejects empty token and accepts a short one; server test drops the short-token case.
  • README: remove the length requirement; recommend openssl rand -hex 32 when exposing the server.

@flexdinesh
flexdinesh marked this pull request as ready for review October 12, 2026 13:14
@flexdinesh
flexdinesh merged commit 3e0753d into main Oct 12, 2026
1 check 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