aboutsummaryrefslogtreecommitdiff
path: root/registry/registry.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-06 17:05:32 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-06 17:05:32 +0000
commit4c27df9fb4823a12b8a3585bd655914f908b2618 (patch)
tree5d7ee9be9a1bc14d888423eda42c5b635a45154c /registry/registry.go
parent537a048ccc70b70723343c08602573b18e93f246 (diff)
downloadcommunique-4c27df9fb4823a12b8a3585bd655914f908b2618.tar.gz
try this again
Diffstat (limited to 'registry/registry.go')
-rw-r--r--registry/registry.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/registry/registry.go b/registry/registry.go
index cc99d63..353cfeb 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -267,7 +267,7 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl, actorKeyUrl *url.URL, fol
// request.Header.Add("Digest", "SHA-256="+digestHeader)
// request.Header.Add("Content-Type", "application/activity+json")
- signedString := fmt.Sprintf("(request-target): post %s\ndate: %s\ndigest: %s\nhost: %s", url.Path, date, digestHeader, url.Host)
+ // signedString := fmt.Sprintf("(request-target): post %s\ndate: %s\ndigest: %s\nhost: %s", url.Path, date, digestHeader, url.Host)
r.log.With(
"type",
@@ -275,9 +275,9 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl, actorKeyUrl *url.URL, fol
).With(
"payload",
payload,
- ).With(
- "signature string",
- signedString,
+ // ).With(
+ // "signature string",
+ // signedString,
).With(
"host",
request.Header.Get("host"),