diff options
| author | grunfink <grunfink@comam.es> | 2026-06-24 10:46:44 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2026-06-24 10:46:44 +0200 |
| commit | fe83b48f5b1bb5f30c65e1ba3fc10d0f1cfb1841 (patch) | |
| tree | fa624c64e8f6b113fe2eb480edccbf7cc3a453f3 | |
| parent | be894b379e72126a28c1aeaa79d4c5eab787638a (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.c | 7 |
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; |