From fad3c00740aa081b372468a897834b85756158bb Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Fri, 6 Jan 2023 11:32:57 -0500 Subject: try this --- registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry') diff --git a/registry/registry.go b/registry/registry.go index 8d3a345..a6cd41d 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -312,7 +312,7 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl, actorKeyUrl *url.URL, fol r.mu.Unlock() b64sig := base64.StdEncoding.EncodeToString(signature) - var header = `keyId="` + actorKeyUrl.String() + `",algorithm="rsa-sha256",headers="(request-target) date digest host",signature="` + b64sig + `"` + var header = `keyId="` + actorKeyUrl.String() + `",algorithm="hs2019",headers="(request-target) date digest host",signature="` + b64sig + `"` request.Header.Add("Signature", header) //http sig signing code - broken? -- cgit v1.2.3