From cac4de35f6284a07396ad952a99320fdd60b4552 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Fri, 6 Jan 2023 10:25:25 -0500 Subject: logging --- registry/registry.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'registry/registry.go') diff --git a/registry/registry.go b/registry/registry.go index 25ea338..8d3a345 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -306,6 +306,8 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl, actorKeyUrl *url.URL, fol err = rsa.VerifyPKCS1v15(&privKey.PublicKey, crypto.SHA256, digestBytes[:], signature) if err != nil { return err + } else { + r.log.With("type", "delivery").Debugf("verified own signature") } r.mu.Unlock() -- cgit v1.2.3