Commit Graph
8354 Commits
Author SHA1 Message Date
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 b1da456e96 chore: Rebuild example config 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 c2a6c34c78 chore: Add newsfrag 2026-11-27 18:11:55 +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
Henry-Hiles d4d72c0b9e chore(nix): Clean up rocksdb package 2026-11-27 16:41:52 +00:00
Erwan Leboucher 18c1ce48e2 fix(ci): Lock cargo cache mounts 2026-11-25 18:34:00 +01:00
Julian Anderson 74338f939a ci(docs): Deploy production docs to Grebedoc 2026-11-25 10:59:38 -05:00
Julian Anderson fcd56abbcf chore(docs): Light touchups
The bottom of the info page now has a bit about Grebedoc, and the
theming now explicitly respects user preferences too. Also updated
some deps.
2026-11-25 10:58:17 -05:00
Julian Anderson 09397a157b ci(docs): Add Go installation, caching, and Renovate config 2026-11-25 10:57:55 -05:00
Julian Anderson 515758955c ci(docs/preview): Leverage new git-pages preview feature from whitequark
With ten billion thanks to whitequark
2026-11-24 16:42:35 -05:00
Julian Anderson 8205455ec5 ci(docs/preview): Use Grebedoc Method B and git-pages-cli 2026-11-24 10:28:39 -05:00
Julian Anderson 70d16a3fdf ci(docs): Fix documentation workflow run conditions 2026-11-24 10:28:39 -05:00
Renovate Bot 9761fe7b2d chore(config): migrate config renovate.json 2026-11-24 13:52:11 +00:00
Renovate Bot ff8bf9b260 chore(deps): update https://github.com/taiki-e/install-action digest to fe3acb5 2026-11-24 05:02:28 +00:00
Jade Ellis 2c79a67130 feat: Warn when the system allocator is used 2026-11-23 22:32:35 +00:00
Jade Ellis 8b9000cdf4 chore: Add changelog fragment 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