From cd8f531bac1f872b4493f158d623b888ca18bbcb Mon Sep 17 00:00:00 2001 From: Rasmus Fuhse <krassmus@gmail.com> Date: Tue, 24 Mar 2015 21:32:59 +0100 Subject: [PATCH] re #16 : add hashing-algorithm in github-style --- PluginMarket.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluginMarket.class.php b/PluginMarket.class.php index 83fc31a..e31737d 100644 --- a/PluginMarket.class.php +++ b/PluginMarket.class.php @@ -83,7 +83,7 @@ class PluginMarket extends StudIPPlugin implements SystemPlugin, HomepagePlugin if ($follower['security_token']) { $calculatedHash = hash_hmac("sha1", $payload, $follower['security_token']); - $header[] = "X_HUB_SIGNATURE: ".$calculatedHash; + $header[] = "X_HUB_SIGNATURE: sha1=".$calculatedHash; } $header[] = "Content-Type: application/json"; -- GitLab