From 78fde8b09b5017abff077325ce5a5a280289d189 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Thu, 5 Jan 2023 14:18:27 -0500 Subject: try this --- registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3