Commit Graph
5033 Commits
Author SHA1 Message Date
Ginger 01a0954310 refactor: Clarify variable name a bit 2026-11-27 18:13:30 +00:00
Ginger 3194987fa6 refactor: Move semaphore logic out of acquire_keys_as_notary 2026-11-27 18:13:29 +00:00
Ginger a31cbce31e refactor: Clean up acquire_keys_as_notary 2026-11-27 18:13:29 +00:00
Ginger 5e971aef3c refactor: Move sign_ssk into server_keys service 2026-11-27 18:13:29 +00:00
timedout 4692bd3372 fix: Add an experiment for MSC4556 2026-11-27 18:13:29 +00:00
timedout 4b1433cfcd fix: Use tokio's JoinSet instead of the evil futures FuturesUnorder ed 2026-11-27 18:13:28 +00:00
timedout 952365ff13 fix: Address simpler review comments 2026-11-27 18:13:28 +00:00
timedout 23a1ebd1ba fix: Use the correct signing keys response
Main changed the way we handle server signing keys to carry both the deserialised and serialised copy, so the notary code needs updating to use the right copy in several places (some places need to use the raw value, some need to use the serialised value).
2026-11-27 18:13:28 +00:00
timedout 611ca82019 feat: Update MSC4456 implementation, new route 2026-11-27 18:12:56 +00:00
timedout 61f142a541 fix: Address review comments 2026-11-27 18:12:56 +00:00
timedout 3896630859 perf: Yield ssk instead of doing a serialization roundtrip 2026-11-27 18:12:55 +00:00
timedout 7d31ba12c5 feat: Don't double-sign our own keys 2026-11-27 18:12:55 +00:00
timedout 3dbd2706b0 fix: Don't do weird wire signing for server keys route 2026-11-27 18:12:54 +00:00
timedout 0851e44140 fix: Don't make origin key requests to ourself
Intercepting the request and serving it locally seems like a pretty good blanket solution
2026-11-27 18:12:54 +00:00
timedout 6b49ffdbed fix: Typo (MSC4456 -> MSC4556) 2026-11-27 18:12:20 +00:00
timedout 0c2909e763 style: Reformat 2026-11-27 18:12:20 +00:00
timedout c2b52a9bec chore: Update trusted_servers docs 2026-11-27 18:11:58 +00:00
timedout 9e36290b65 fix: Don't serve expired responses in the criterialess path 2026-11-27 18:11:57 +00:00
timedout 9d13b2bbe8 fix: Enforce specific notary limits per MSC4556 2026-11-27 18:11:57 +00:00
timedout 48025f4e50 fix: Refuse to process >4096 servers and/or >8192 keys
pending msc
2026-11-27 18:11:57 +00:00
timedout 5c5c140e28 fix: Deduplicate signing key responses if we already satisfied them 2026-11-27 18:11:57 +00:00
timedout cd1129062a fix: Don't short circuit if all requested servers have no query criteria
Also adds some traces
2026-11-27 18:11:56 +00:00
timedout 4e0daf013d feat: Correctly ask origin for keys before seeding from local cache 2026-11-27 18:11:56 +00:00
timedout bb5cc8091c fix: Maybe query origin when fetching latest keys 2026-11-27 18:11:55 +00:00
timedout e827cecc84 fix: Don't attempt to contact origins as a notary more than once a minute 2026-11-27 18:11:55 +00:00
timedout 6139ed4b63 fix: Actually contact origins in notary key fetching 2026-11-27 18:11:55 +00:00
timedout 1afced5e01 style: Condense repeated code into a reusable function 2026-11-27 18:11:54 +00:00
timedout 43a811a8e7 fix: Correctly sum total_queried_keys 2026-11-27 18:11:54 +00:00
timedout f207273aae feat: Strip extraneous signatures to avoid leaking our own notaries 2026-11-27 18:11:54 +00:00
timedout c7bf5fca04 feat: Notary server 2026-11-27 18:11:33 +00:00
Jade Ellis 2c79a67130 feat: Warn when the system allocator is used 2026-11-23 22:32:35 +00:00
Jade Ellis 370fa43b5a chore: Reshuffle allocator features 2026-11-23 22:32:35 +00:00
Jade Ellis bf5f77a94a fix(knock): Align knock state handling with Matrix spec
Updates state_cache on MembershipState::Knock, avoids stale local state
checks and holding state_lock across federation, drops invalid
knock_room_state entries without failing post-send_knock, allows
re-knocking, and honours via servers.
2026-11-23 21:54:33 +00:00
Jade Ellis 506c4a0376 fix(leave): Rescind remote knocks over federation
Remote knocks no longer populate local room state, so leaving a room
we are not in must go through remote_leave_room even when knocked.
2026-11-23 21:54:33 +00:00
Jade Ellis d9b94b98ad refactor(invite): Extract per-event partial membership validation
Allows callers like remote knocking to filter invalid stripped state
events individually per MSC4311 instead of failing the entire request.
2026-11-23 21:54:33 +00:00
timedout 26cdaeec99 fix: Re-use validate_partial_membership_state 2026-11-23 21:54:32 +00:00
timedout 73fbdd6056 style: Improve logging for knocking 2026-11-23 21:54:32 +00:00
timedout d591385bed fix: Stop blowing up in send_knock 2026-11-23 21:54:32 +00:00
timedout cbb1b70c99 fix: Invert server identity check 2026-11-23 21:54:32 +00:00
timedout 6115693193 fix: Modernise knocking helpers 2026-11-23 21:54:31 +00:00
Jade Ellis 3774f3e7e4 chore: Advertise client-server v1.6 support 2026-11-23 19:20:02 +00:00
Henry-Hiles 2408ded7b4 feat: Support stable MSC4143 RTC transports endpoint 2026-11-23 13:14:39 -05:00
Ginger 9877464857 feat: Request profile scope from OIDC providers by default 2026-11-23 15:30:36 +00:00
Ginger cdda575d4a fix: Return 403 instead of 404 when UIAA is disabled 2026-11-23 10:09:08 -05:00
Jade Ellis 14739ffaf7 chore: Remove redundant Mxc import in download_image 2026-11-22 17:57:49 +00:00
Jade Ellis 8c4a2d0ce9 chore: Downgrade per-request URL preview route logs to debug 2026-11-22 17:57:49 +00:00
Jade Ellis c0f69f23dd fix: Resolve relative OpenGraph asset URLs and avoid cloning HTML body 2026-11-22 17:57:49 +00:00
Jade Ellis c6b87fb033 fix: Check CIDR range and HTTP status when downloading preview media 2026-11-22 17:57:49 +00:00
Jade Ellis 635fccf11f fix: Populate image_size when downloading URL preview images 2026-11-22 17:57:49 +00:00
Jade Ellis def987f935 fix: Gate webpage usage and update disabled url_preview stubs 2026-11-22 17:57:49 +00:00