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

Update "Securing Your Webhooks" to prefer X-Hub-Signature-Sha-256 header #82

Closed
wants to merge 3 commits into from

Conversation

nathansobo
Copy link

We plan to enable inclusion of a new HTTP header for all webhooks that are configured with a secret. The new header computes a signature for our webhook payloads based on SHA-256 instead of the less-secure SHA-1.

https://github.com/github/hookshot-go/pull/610 added the feature (disabled behind a flag) and https://github.com/github/hookshot-go/pull/612 will enable inclusion of the new header once it's merged.

This PR updates our recommendation for verifying webhook payloads to use the new SHA-256-based signature. We mention the existence of the old header just to minimize any potential confusion, and make it clear that we don't plan to eliminate it.

/cc @gwestersf

@nathansobo nathansobo self-assigned this Sep 30, 2020
@gwestersf
Copy link

Related doc-content issue so we make sure it's replaced everywhere. https://github.com/github/docs-content/issues/2664

@lucascosti
Copy link
Contributor

Closing this PR in favor of https://github.com/github/docs-internal/pull/15968 that updates all content mentions.

@lucascosti lucascosti closed this Oct 9, 2020
@lucascosti lucascosti deleted the sha256-webhook-signatures branch October 9, 2020 06:06
jnidzwetzki referenced this pull request in jnidzwetzki/docs Oct 6, 2022
* set up for promscale section

* Promscale content

* move up one level

* Move to top level

* Remove promscale from this level

* Fix syntax

* Add missing directory

* Update promscale/page-index/page-index.js

Co-authored-by: Ryan Booz <ryan@timescale.com>

* Adds index

* Apply suggestions from code review

Co-authored-by: Matvey Arye <mat@timescale.com>

* fix page index

* Edits per feedback

* Edits per feedback

Co-authored-by: Ryan Booz <ryan@timescale.com>
Co-authored-by: Matvey Arye <mat@timescale.com>
Co-authored-by: Jacob <prall.jacob@gmail.com>
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.

3 participants