From 0462583c72892ae38993872f390ce4a6c2458cda Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Fri, 6 Jan 2023 11:37:04 -0500 Subject: typo --- registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry/registry.go') diff --git a/registry/registry.go b/registry/registry.go index d22ac9a..290c2bd 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.Strict().EncodeToString(signature) - var header = `keyId="` + actorKeyUrl.String() + `",algorithm="hs2019 ",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