aboutsummaryrefslogtreecommitdiff
path: root/registry/registry.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-06 15:25:25 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-06 15:25:25 +0000
commitcac4de35f6284a07396ad952a99320fdd60b4552 (patch)
treefe12e879fe39e071afd10390d1db7e1fa55d7e74 /registry/registry.go
parent33573ed878b16bd1200659e2a2f401247aff43a4 (diff)
downloadcommunique-cac4de35f6284a07396ad952a99320fdd60b4552.tar.gz
logging
Diffstat (limited to '')
-rw-r--r--registry/registry.go2
1 files changed, 2 insertions, 0 deletions
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()