From 05f0b46ca1228e772c03375c4637c519f8019932 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 30 Apr 2020 19:06:00 -0400 Subject: [PATCH] gitsrht-update-hook: fix signature nonce --- gitsrht-update-hook/webhooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitsrht-update-hook/webhooks.go b/gitsrht-update-hook/webhooks.go index 2fda535..59d37e8 100644 --- a/gitsrht-update-hook/webhooks.go +++ b/gitsrht-update-hook/webhooks.go @@ -77,7 +77,7 @@ func deliverWebhooks(subs []WebhookSubscription, for _, sub := range subs { var ( - nonceSeed [8]byte + nonceSeed []byte = make([]byte, 8) nonceHex []byte ) _, err := rand.Read(nonceSeed) -- 2.38.4