From a89739cd550836b38188d582425d38d7c4f6d738 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Thu, 5 Jan 2023 15:24:11 -0500 Subject: try forcing rsa-sha256 as algo --- registry/registry.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/registry/registry.go b/registry/registry.go index 4b58c1f..126838e 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -293,6 +293,10 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl, actorKeyUrl *url.URL, fol err = signer.SignRequest(privKey, actorKeyUrl.String(), request, jsonData) r.mu.Unlock() + // HACK + oldSig := request.Header.Get("signature") + request.Header.Set("signature", strings.ReplaceAll("hs2019", "rsa-sha256", oldSig)) + r.log.With( "type", "delivery", -- cgit v1.2.3