aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2026-06-24 10:46:44 +0200
committergrunfink <grunfink@comam.es>2026-06-24 10:46:44 +0200
commitfe83b48f5b1bb5f30c65e1ba3fc10d0f1cfb1841 (patch)
treefa624c64e8f6b113fe2eb480edccbf7cc3a453f3
parentbe894b379e72126a28c1aeaa79d4c5eab787638a (diff)
Reverted previous patch.
This check needs more granularity; Mastodon sends Create + Note posts not from the actor, relays sends announces, etc.
-rw-r--r--activitypub.c7
1 files changed, 0 insertions, 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;