Commit Graph
8364 Commits
Author SHA1 Message Date
Ginger 47828dd8c2 chore: News fragment 2026-11-27 18:41:44 +00:00
Ginger 208a625163 fix: Return the correct scope list when refreshing an OAuth access token 2026-11-27 18:41:44 +00:00
Ginger f579859f22 fix: Make OAuth access token refreshing idempotent 2026-11-27 18:41:44 +00:00
Jade Ellis 6b0eebc553 refactor: Pass notary query map by value
Both callers own the request body, so passing the map by value avoids
cloning every server name and query criteria entry.
2026-11-27 18:13:31 +00:00
Jade Ellis 6708912984 fix: Add missing parenthesis in notary error message 2026-11-27 18:13:30 +00:00
Jade Ellis 7eb8c408a2 fix: Enforce notary query criteria per requested key
Candidate filtering previously checked unrequested old keys and tracked
all response keys as satisfied even when criteria failed. Passing the
lowest requested minimum_valid_until_ts to origin_request also avoids
rejecting valid historical queries.
2026-11-27 18:13:30 +00:00
Jade Ellis b4b0c836aa fix: Keep lowest expiry timestamp for discovered old keys
The comparison was inverted when extracting discover_old_signing_keys.
2026-11-27 18:13:30 +00:00
Jade Ellis b7a1e09447 feat: Cache server keys when fetched from origin 2026-11-27 18:13:30 +00:00
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 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