From 4c27df9fb4823a12b8a3585bd655914f908b2618 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Fri, 6 Jan 2023 12:05:32 -0500 Subject: try this again --- registry/registry.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'registry') 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"), -- cgit v1.2.3