abiosoft / abiosoft/caddy-git

Travis webhook verification

未关闭
#87 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Go
星标
206
派生
42
PR 合并指标
30 天内没有已合并 PR

描述

https://github.com/abiosoft/caddy-git/blob/7c37f04cfac86475f954286aa1b7e7aba0fa1ca9/travis_hook.go#L81

Is the `handleSignature` function correct? The [Travis documentation](https://docs.travis-ci.com/user/notifications/#Verifying-Webhook-requests) seems to imply the code should check the `Signature` header against Travis’ public key.

It seems like the `Authorization` header is an [old method of authenticating Travis requests](https://blog.travis-ci.com/2016-08-31-webhook-delivery-changes) phased out in November 2016.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。