hubot-github-webhook-listener
hubot-github-webhook-listener copied to clipboard
Generic webhook listener for Hubot. Emits an hubot event for every incoming webhook message.
Hubot does not seem to like the case sensitive "X-Hub-Signature" or "X-Github-Delivery" header fields. Making them lowercase seems to fix the issue. This PR is in relation to #1.
I noticed that the express framework used by hubot (router.post) does not support the case sensitive "X-Hub-Signature" or "X-Github-Delivery" keys. I kept getting undefined errors when referencing the repo_event.signature value....
Building on top of https://github.com/ynab/hubot-github-webhook-listener/pull/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...
Greetings! I have tested this with one repo. Could you look this over and comment on it. Any bug reports or code review items are welcome! I hope you merge...