Skip to content
This repository was archived by the owner on Aug 26, 2020. It is now read-only.

Emit github-verified-repo-event when web hooks signature passes muster. #6

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

Conversation

zee-roostify
Copy link

@zee-roostify zee-roostify commented Mar 23, 2017

Building on top of #5, I wanted to take a swing at verifying signatures without altering the built in src, to leave an example for other consumers who may want to do something similar but also don't want to host their own package.

Unfortunately, I wasn't quite able to do that, as the pull request setting signature headers to lower case (#2) wasn't merged in yet.

However, this is one way to get verified requests if people want.

@zee-roostify zee-roostify force-pushed the allow-github-webhook-validator branch from eaca215 to 71393ad Compare March 27, 2017 17:35
@zee-roostify zee-roostify changed the title WIP - Attempt to verify signatures without introducing an ENV variable Emit github-verified-repo-event when web hooks signature passes muster. Mar 27, 2017
@zee-roostify
Copy link
Author

I've altered my approach to extend the existing solution instead of altering the implementation, which allows people to listen for explicitly verified requests if they so desire.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant