diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-06 15:25:25 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-06 15:25:25 +0000 |
commit | cac4de35f6284a07396ad952a99320fdd60b4552 (patch) | |
tree | fe12e879fe39e071afd10390d1db7e1fa55d7e74 /registry | |
parent | 33573ed878b16bd1200659e2a2f401247aff43a4 (diff) | |
download | communique-cac4de35f6284a07396ad952a99320fdd60b4552.tar.gz |
logging
Diffstat (limited to 'registry')
-rw-r--r-- | registry/registry.go | 2 |
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() |