diff options
author | Mark Felder <feld@feld.me> | 2024-07-25 11:18:27 -0400 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-07-25 11:46:30 -0400 |
commit | 1a482a73c3b99f7fdc512b734dd746e9f9cd396d (patch) | |
tree | baccde2c722f4bdff582056f8a7a428ee3109100 /changelog.d | |
parent | 700c1066801ba1400a32c819fb0e608aa834aa51 (diff) | |
download | pleroma-1a482a73c3b99f7fdc512b734dd746e9f9cd396d.tar.gz pleroma-1a482a73c3b99f7fdc512b734dd746e9f9cd396d.zip |
Fix Optimistic Inbox for failed signatures
When signatures fail on incoming activities we put the job into Oban to be processed later instead of doing the user fetching and validation inline which is expensive and increases latency on the incoming POST request. Unfortunately we did not retain the :method, :request_path, and :query_string parameters from the conn so the signature validation and Oban Job would always fail.
This was most obvious when Mastodon sends Deletes for users your server has never seen before.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/optimistic-inbox-sigs.fix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/optimistic-inbox-sigs.fix b/changelog.d/optimistic-inbox-sigs.fix new file mode 100644 index 000000000..53ffe6b5b --- /dev/null +++ b/changelog.d/optimistic-inbox-sigs.fix @@ -0,0 +1 @@ +Fix Optimistic Inbox for failed signatures |