diff --git a/decode.go b/decode.go index 790be8d..9083227 100644 --- a/decode.go +++ b/decode.go @@ -20,7 +20,10 @@ func decodeActivity(r *http.Request) (*activitypub.Activity, *activitypub.Actor, r.Body.Read(body) // Verify HTTPSignature - verifier, _ := httpsig.NewVerifier(r) + verifier, err := httpsig.NewVerifier(r) + if err != nil { + return nil, nil, nil, err + } KeyID := verifier.KeyId() remoteActor, err := activitypub.RetrieveActor(KeyID) if err != nil {