aboutsummaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-06 16:32:57 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-06 16:32:57 +0000
commitfad3c00740aa081b372468a897834b85756158bb (patch)
treea275746f3cf79495b0cdd9d9820c54dc8a12d3ef /registry
parentcac4de35f6284a07396ad952a99320fdd60b4552 (diff)
downloadcommunique-fad3c00740aa081b372468a897834b85756158bb.tar.gz
try this
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 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?