Add X-Hub-Signature header to webhook deliveries #3748

Closed
opened 2025-11-02 05:24:00 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @BenLubar on GitHub (Aug 7, 2019).

The format is sha1= followed by a hex SHA1-HMAC made in the same way as the current sha256 Gitea generates for its own signature header.

Originally created by @BenLubar on GitHub (Aug 7, 2019). The format is `sha1=` followed by a hex SHA1-HMAC made in the same way as the current sha256 Gitea generates for its own signature header.
GiteaMirror added the type/proposal label 2025-11-02 05:24:00 -06:00
Author
Owner

@coolaj86 commented on GitHub (Sep 29, 2020):

@techknowlogick @lunny This is something that I may be able to take on.

It looks like the Signature field is currently pre-computed, but could probably be omitted from structs and storage and computed as-needed from the PayloadContent as to support multiple signature types.

@coolaj86 commented on GitHub (Sep 29, 2020): @techknowlogick @lunny This is something that I may be able to take on. It looks like the `Signature` field is currently pre-computed, but could probably be omitted from structs and storage and computed as-needed from the `PayloadContent` as to support multiple signature types.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3748