aboutsummaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-05 20:25:57 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-05 20:25:57 +0000
commit6189de1f0e04a1795134df7ce08d66b69edd20d6 (patch)
tree6aa67a55cef5df78a5ad179b6fdfd2d015d1edbf /registry
parenta89739cd550836b38188d582425d38d7c4f6d738 (diff)
downloadcommunique-6189de1f0e04a1795134df7ce08d66b69edd20d6.tar.gz
oops
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 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",