From 6189de1f0e04a1795134df7ce08d66b69edd20d6 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Thu, 5 Jan 2023 15:25:57 -0500 Subject: oops --- registry/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry/registry.go') 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", -- cgit v1.2.3