aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-05 19:13:05 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-05 19:13:05 +0000
commitca318b9c2288a472baefa8ae5a6fab11e4380bcf (patch)
tree2c606a6b608c4d6292b833511a3d45a84bc0dfde
parent80f545a71d24ebc6ffeedd421d161a83430608b1 (diff)
downloadcommunique-ca318b9c2288a472baefa8ae5a6fab11e4380bcf.tar.gz
mess with expiry
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 daf16b4..998bb53 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -282,7 +282,7 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl, actorKeyUrl *url.URL, fol
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"}
- signer, _, err := httpsig.NewSigner(prefs, digestAlgorithm, headersToSign, httpsig.Signature, 0)
+ signer, _, err := httpsig.NewSigner(prefs, digestAlgorithm, headersToSign, httpsig.Signature, 100)
if err != nil {
return err
}