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

GitHub webhook signature check #1402

Merged
merged 8 commits into from Sep 22, 2018

Conversation

meejah
Copy link
Contributor

@meejah meejah commented Sep 20, 2018

A built-in way to check the X-Hub-Signature that github can be told to include in its webhook requests. (This stops others from faking webhook requests from github unless they've stolen the secret you've given to github).

@codecov-io
Copy link

codecov-io commented Sep 20, 2018

Codecov Report

Merging #1402 into master will increase coverage by 0.11%.
The diff coverage is 69.23%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #1402      +/-   ##
=========================================
+ Coverage   37.19%   37.3%   +0.11%     
=========================================
  Files          78      78              
  Lines       11600   11638      +38     
  Branches     2129    2136       +7     
=========================================
+ Hits         4315    4342      +27     
- Misses       6878    6889      +11     
  Partials      407     407
Impacted Files Coverage Δ
crossbar/common/checkconfig.py 17.89% <ø> (ø) ⬆️
crossbar/_log_categories.py 100% <ø> (ø) ⬆️
crossbar/bridge/rest/common.py 82.08% <100%> (+1.65%) ⬆️
crossbar/bridge/rest/webhook.py 63.88% <7.69%> (-27.78%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b1452d...b090be5. Read the comment docs.

Copy link
Contributor

@oberstet oberstet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me! _constant_compare: +1 merging ..

@oberstet oberstet merged commit 1925568 into crossbario:master Sep 22, 2018
@meejah meejah deleted the github-webhook-signature-check branch September 22, 2018 09:48
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

3 participants