From 573c4606636c9db64e8628b76fae2ceba72fcbf1 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Thu, 5 Jan 2023 19:23:42 -0500 Subject: bah --- registry/registry.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'registry/registry.go') diff --git a/registry/registry.go b/registry/registry.go index f1ec426..605c4f8 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -296,7 +296,10 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl, actorKeyUrl *url.URL, fol digestBytes := digest.Sum(nil) r.mu.Lock() - signature, _ := rsa.SignPKCS1v15(rand.Reader, privKey, crypto.SHA256, digestBytes[:]) + signature, err := rsa.SignPKCS1v15(rand.Reader, privKey, crypto.SHA256, digestBytes[:]) + if err != nil { + r.log.Error(err) + } r.mu.Unlock() b64sig := base64.StdEncoding.EncodeToString(signature) -- cgit v1.2.3