aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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?