diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-05 19:20:36 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-05 19:20:36 +0000 |
commit | d6c507fb9402695b8fb3adbcce486df998919c8a (patch) | |
tree | 79e4ed92149315e0c7d9349fd07ef635e0feff4c | |
parent | 78fde8b09b5017abff077325ce5a5a280289d189 (diff) | |
download | communique-d6c507fb9402695b8fb3adbcce486df998919c8a.tar.gz |
try this
Diffstat (limited to '')
-rw-r--r-- | registry/registry.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/registry.go b/registry/registry.go index e282d8e..9bcfa34 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", "created", "expires"} + headersToSign := []string{httpsig.RequestTarget, "host", "date", "digest", "content-type", "expires"} signer, _, err := httpsig.NewSigner(prefs, digestAlgorithm, headersToSign, httpsig.Signature, 100) if err != nil { return err |