From fe83b48f5b1bb5f30c65e1ba3fc10d0f1cfb1841 Mon Sep 17 00:00:00 2001 From: grunfink Date: Wed, 24 Jun 2026 10:46:44 +0200 Subject: Reverted previous patch. This check needs more granularity; Mastodon sends Create + Note posts not from the actor, relays sends announces, etc. --- activitypub.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/activitypub.c b/activitypub.c index 845d92f..cfa97a0 100644 --- a/activitypub.c +++ b/activitypub.c @@ -2695,13 +2695,6 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) return -1; } - if (strcmp(actor, key_id) != 0) { - srv_log(xs_fmt("mismatched actor '%s' and key '%s'", actor, key_id)); - - srv_archive_error("mismatched_actor_and_key", "bad keyId", req, msg); - return -1; - } - /* if no user is set, no further checks can be done; propagate */ if (snac == NULL) return 2; -- cgit