diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-06 16:37:04 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-06 16:37:04 +0000 |
commit | 0462583c72892ae38993872f390ce4a6c2458cda (patch) | |
tree | c366df13ce5ddd8e62013c5474dc4e9a9c10c525 /registry | |
parent | 80bbd953ae9e2a9bf901b5804254d31617104d46 (diff) | |
download | communique-0462583c72892ae38993872f390ce4a6c2458cda.tar.gz |
typo
Diffstat (limited to 'registry')
-rw-r--r-- | registry/registry.go | 2 |
1 files changed, 1 insertions, 1 deletions
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? |