diff --git a/core/servers/content/web_handlers/activitypub.js b/core/servers/content/web_handlers/activitypub.js index 0df93492..8a7cdba7 100644 --- a/core/servers/content/web_handlers/activitypub.js +++ b/core/servers/content/web_handlers/activitypub.js @@ -801,23 +801,24 @@ exports.getModule = class ActivityPubWebHandler extends WebHandlerModule { return false; } - if (signature.keyId !== pubKey.id) { - this.log.warn( - { - actorId: actor.id, - signatureKeyId: signature.keyId, - actorPubKeyId: pubKey.id, - }, - 'Key ID mismatch' - ); - return false; - } + // if (signature.keyId !== pubKey.id) { + // this.log.warn( + // { + // actorId: actor.id, + // signatureKeyId: signature.keyId, + // actorPubKeyId: pubKey.id, + // }, + // 'Key ID mismatch' + // ); + // return false; + // } if (!httpSignature.verifySignature(signature, pubKey.publicKeyPem)) { this.log.warn( { actorId: actor.id, keyId: signature.keyId, + actorPubKeyId: pubKey.id, }, 'Actor signature verification failed' );