Skip to content

Log when we've got requests with invalid secrets #17

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

Merged
merged 1 commit into from
Apr 10, 2016

Conversation

phillipj
Copy link
Member

@phillipj phillipj merged commit 1535116 into master Apr 10, 2016
@phillipj phillipj deleted the debug-invalid-secret branch April 10, 2016 21:23
@@ -19,6 +19,7 @@ module.exports = (app) => {
const signature = req.headers['x-hub-signature']
if (!signature || signature !== sign(secret, req.raw)) {
res.writeHead(401, 'Invalid Signature')
console.error('! event@%s: %s - invalid signature, returning 401', source, data.action)

This comment was marked as off-topic.

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.

2 participants