From 224f889c279bf795e915567a78570a2d9025422c Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Wed, 14 Dec 2022 23:29:19 +0100 Subject: [PATCH] ActivityPub fix 2 --- activityPub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activityPub.go b/activityPub.go index 4f487fb..773dc28 100644 --- a/activityPub.go +++ b/activityPub.go @@ -267,7 +267,7 @@ func (a *goBlog) apVerifySignature(r *http.Request, blog string) (*ap.Actor, err actor, err := a.apGetRemoteActor(ap.IRI(verifier.KeyId()), blog) if err != nil || actor == nil { // Actor not found or something else bad - return nil, errors.New("failed to get actor: " + err.Error()) + return nil, errors.New("failed to get actor") } if actor.PublicKey.PublicKeyPem == "" { return nil, errors.New("actor has no public key")