aboutsummaryrefslogtreecommitdiff
path: root/registry/registry.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-05 19:18:27 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-05 19:18:27 +0000
commit78fde8b09b5017abff077325ce5a5a280289d189 (patch)
tree34ae4f207084fb2da122833501cab3f1449fe17a /registry/registry.go
parentca318b9c2288a472baefa8ae5a6fab11e4380bcf (diff)
downloadcommunique-78fde8b09b5017abff077325ce5a5a280289d189.tar.gz
try this
Diffstat (limited to 'registry/registry.go')
-rw-r--r--registry/registry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/registry.go b/registry/registry.go
index 998bb53..e282d8e 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -281,7 +281,7 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl, actorKeyUrl *url.URL, fol
prefs := []httpsig.Algorithm{}
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", "digest", "content-type", "created", "expires"}
signer, _, err := httpsig.NewSigner(prefs, digestAlgorithm, headersToSign, httpsig.Signature, 100)
if err != nil {
return err