Skip to content

Harden vote authorization flow#17

Merged
thegoodduck merged 1 commit into
masterfrom
thegoodduck/issue-security-fixes
May 25, 2026
Merged

Harden vote authorization flow#17
thegoodduck merged 1 commit into
masterfrom
thegoodduck/issue-security-fixes

Conversation

@thegoodduck

Copy link
Copy Markdown
Collaborator

Why\nHarden the relay vote path so authorization fails closed, pending reservations survive relay restarts, and sessions cannot be trusted from malformed JWTs.\n\n## What\n- Persist pending vote reservations alongside the vote registry with atomic load/save handling.\n- Tighten JWT/session validation and bind the session token to the OAuth provider claim.\n- Update the protocol and service docs to reflect the restart-safe, fail-closed vote flow.\n\n## Notes\n- No PR template was present in .github/ for this repo.\n

Persist pending vote reservations across relay restarts, tighten JWT/session validation, and document the fail-closed vote flow.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 25, 2026 23:08
@thegoodduck thegoodduck merged commit ea8c0c3 into master May 25, 2026
1 check failed
@thegoodduck thegoodduck removed the request for review from Copilot May 25, 2026 23:29
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