Skip to content

validate signature.algorithm at config parse time - #3

Merged
OneNobleSoul merged 1 commit into
mainfrom
fix/validate-signature-algorithm
Jul 14, 2026
Merged

validate signature.algorithm at config parse time#3
OneNobleSoul merged 1 commit into
mainfrom
fix/validate-signature-algorithm

Conversation

@OneNobleSoul

Copy link
Copy Markdown
Owner

a typo in signature.algorithm (e.g. sha265) currently passes hookrelay check and only surfaces as an uncaught ValueError the first time a webhook actually hits that route. this validates it against hashlib.algorithms_available at config-parse time instead, so bad configs get caught before deploy.

a typo'd algorithm (e.g. sha265) currently passes hookrelay check fine
and only blows up as an uncaught ValueError the first time a webhook
actually hits that route. check it against hashlib.algorithms_available
up front so bad configs get caught before deploy.
@OneNobleSoul
OneNobleSoul merged commit df2f9b6 into main Jul 14, 2026
3 checks passed
@OneNobleSoul
OneNobleSoul deleted the fix/validate-signature-algorithm branch July 14, 2026 04:04
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