Skip to content
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

Merged
merged 8 commits into from
Sep 18, 2023

Conversation

lszomor
Copy link
Contributor

@lszomor lszomor commented Aug 6, 2023

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.

Alex-Izquierdo
Alex-Izquierdo previously approved these changes Aug 8, 2023
Copy link
Contributor

@Alex-Izquierdo Alex-Izquierdo left a 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.

@lszomor
Copy link
Contributor Author

lszomor commented Aug 8, 2023

@Alex-Izquierdo Thank you!

@lszomor
Copy link
Contributor Author

lszomor commented Aug 13, 2023

Hi,

I've merged the main branch and fixed the new tox issues.

@Alex-Izquierdo
Copy link
Contributor

Hi @lszomor Can you remove all the changes that are out of the scope of this PR? You should not have any issue with linting checks after merge #167

Thanks for everything.

@lszomor
Copy link
Contributor Author

lszomor commented Aug 21, 2023

@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.

@Alex-Izquierdo
Copy link
Contributor

sure, thank you very much. @lszomor

@bzwei bzwei merged commit 56949ff into ansible:main Sep 18, 2023
7 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.

3 participants