diff options
Diffstat (limited to '')
-rw-r--r-- | registry/registry.go | 4 |
1 files changed, 4 insertions, 0 deletions
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", |