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

Drone.io global webhook signature #455

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sksadri
Copy link

@sksadri sksadri commented Sep 13, 2020

Drone.io global webhooks use http signatures for authentication so I just added support for them using https://github.com/99designs/httpsignatures-go for the actual validation.

NB: please indulge me, I've never coded in golang before

@moorereason
Copy link
Collaborator

Thank you for submitting this PR, but I'd like to discuss this feature request outside of a code review. Please open an issue to discuss this.

I've not used HTTP Signatures before, so an explanation of what exactly it verifies would be helpful. For example, this PR doesn't actually validate the SHA256 hash of the payload body. Is that intentional? Do HTTP Signatures only sign/validate headers?

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.

None yet

2 participants