From ace644230aad0039961a22cbf71e368fe8b11b46 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Thu, 5 Jan 2023 11:05:05 -0500 Subject: dont sign digest header --- registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry/registry.go') diff --git a/registry/registry.go b/registry/registry.go index 4b61a7b..fdc2166 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -276,7 +276,7 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl *url.URL, follow vocab.Act prefs := []httpsig.Algorithm{httpsig.RSA_SHA256} digestAlgorithm := httpsig.DigestSha256 // The "Date" and "Digest" headers must already be set on r, as well as r.URL. - headersToSign := []string{httpsig.RequestTarget, "host", "date", "digest", "content-type"} + headersToSign := []string{httpsig.RequestTarget, "host", "date", "content-type"} signer, _, err := httpsig.NewSigner(prefs, digestAlgorithm, headersToSign, httpsig.Signature, 0) if err != nil { return err -- cgit v1.2.3