aboutsummaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-06 16:37:04 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-06 16:37:04 +0000
commit0462583c72892ae38993872f390ce4a6c2458cda (patch)
treec366df13ce5ddd8e62013c5474dc4e9a9c10c525 /registry
parent80bbd953ae9e2a9bf901b5804254d31617104d46 (diff)
downloadcommunique-0462583c72892ae38993872f390ce4a6c2458cda.tar.gz
typo
Diffstat (limited to 'registry')
-rw-r--r--registry/registry.go2
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?