diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-06 16:32:57 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-06 16:32:57 +0000 |
commit | fad3c00740aa081b372468a897834b85756158bb (patch) | |
tree | a275746f3cf79495b0cdd9d9820c54dc8a12d3ef /registry | |
parent | cac4de35f6284a07396ad952a99320fdd60b4552 (diff) | |
download | communique-fad3c00740aa081b372468a897834b85756158bb.tar.gz |
try this
Diffstat (limited to '')
-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 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? |