[ActivityPub][Inbox] Signature verification after Actor update would always fail
This commit is contained in:
parent
f93d8694c3
commit
78f0ab022c
|
@ -106,7 +106,7 @@ class apInboxAction extends ManagedAction
|
|||
ActivityPubReturn::error(json_encode($signatureData, true), 400);
|
||||
}
|
||||
|
||||
list($verified, $headers) = HTTPSignature::verify($actor_public_key, $signatureData, $headers, $path, $body);
|
||||
list($verified, /*$headers*/) = HTTPSignature::verify($actor_public_key, $signatureData, $headers, $path, $body);
|
||||
|
||||
// If the signature fails verification the first time, update profile as it might have changed public key
|
||||
if ($verified !== 1) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user