diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-05 20:24:11 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-05 20:24:11 +0000 |
commit | a89739cd550836b38188d582425d38d7c4f6d738 (patch) | |
tree | 7c363945f2be5d4f992bc6076b045e1bb633cbfa /registry/registry.go | |
parent | 124e09b515b8aba86f292e7e7138177a85c1e308 (diff) | |
download | communique-a89739cd550836b38188d582425d38d7c4f6d738.tar.gz |
try forcing rsa-sha256 as algo
Diffstat (limited to 'registry/registry.go')
-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", |