aboutsummaryrefslogtreecommitdiff
path: root/registry/registry.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-05 16:24:09 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-05 16:24:09 +0000
commit1a4c03bf249fc1249eb361bc58126c9066137b72 (patch)
tree816117906d3e05fcb7938fa00321aac47ff7d802 /registry/registry.go
parent7641bc25cd7f51a70abea4bdb2dd06fe2d6d45c9 (diff)
downloadcommunique-1a4c03bf249fc1249eb361bc58126c9066137b72.tar.gz
remove digest
Diffstat (limited to '')
-rw-r--r--registry/registry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/registry.go b/registry/registry.go
index 9d9c2ff..a2be06e 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