Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

use hmac compare instead of direct compare #1539

Merged
merged 2 commits into from
Dec 14, 2018
Merged

Conversation

danhofer
Copy link
Contributor

As per https://api.slack.com/docs/verifying-requests-from-slack - "Compare the resulting signature to the header on the request. Note: for best practice, use an hmac compare function instead of directly comparing the signatures for equality."

As per https://api.slack.com/docs/verifying-requests-from-slack - "Compare the resulting signature to the header on the request. Note: for best practice, use an hmac compare function instead of directly comparing the signatures for equality."
use hmac compare instead of direct compare
@benbrown benbrown merged commit 60de572 into howdyai:master Dec 14, 2018
@benbrown
Copy link
Contributor

Thanks, @danhofer

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

Successfully merging this pull request may close these issues.

3 participants