-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add HMAC verification support to webhook plugin #159
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like really good. Thank you very much.
@Alex-Izquierdo Thank you! |
Hi, I've merged the main branch and fixed the new tox issues. |
@Alex-Izquierdo No problem, I'll revert the changes made in 7d65d2d after #167 merged into main. This PR will be up-to-date with the main branch, if that's OK for you. |
sure, thank you very much. @lszomor |
Add HMAC verification support for webhook plugin.
Rationale
For security reasons, payloads originating from services supporting HMAC signatures, such as GitHub, Bitbucket, and Dropbox, should be verifiable.
Implementation details
The current implementation supports hex and base64 signature formats.
The argument defaults are aligned with GitHub defaults.
The HMAC verification can be used in addition to the existing Bearer token validation.