aboutsummaryrefslogtreecommitdiff
path: root/registry/registry.go
diff options
context:
space:
mode:
Diffstat (limited to 'registry/registry.go')
-rw-r--r--registry/registry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/registry.go b/registry/registry.go
index 126838e..c84ba5b 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -295,7 +295,7 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl, actorKeyUrl *url.URL, fol
// HACK
oldSig := request.Header.Get("signature")
- request.Header.Set("signature", strings.ReplaceAll("hs2019", "rsa-sha256", oldSig))
+ request.Header.Set("signature", strings.ReplaceAll(oldSig, "hs2019", "rsa-sha256"))
r.log.With(
"type",