abiosoft / abiosoft/caddy-git

Travis webhook verification

Abierto
#87 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Go
Estrellas
206
Forks
42
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.