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
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
timedout
8ffa3e5367
fix: Wrap parsed & raw values
...
Rather than passing them around separately everywhere, just unify them into a single struct that is primarily fetched via a raw.
Also stores raw data directly into the database so that signatures can be verified later rather than only at receive time.
2026-11-18 15:10:51 +00:00
hexchen
cec1f85f88
fix: verify_server_keys_response fails on non-standard json fields
...
Previously `verify_server_keys_response` would work with re-serialized
ServerSigningKeys, which drops any extra, non-standard fields from the
origin server response. The signature is made over the whole response
though, meaning that any response including extra fields will not pass
signature verification.
2026-11-18 15:10:51 +00:00
timedout
550dd0160a
fix: SEC8
...
Reviewed-By: Ginger <ginger@gingershaped.computer >
Reviewed-By: Jade <jade@ellis.link >
Reviewed-By: Jacob Taylor <jacob@explodie.org >
2026-09-28 02:00:37 +01:00
Renovate Bot and Ginger
746a2686e3
chore(deps): Update ruma digest to 83d80c8
...
Co-authored-by: Ginger <ginger@gingershaped.computer >
2026-08-25 13:53:39 +00:00
Ginger
a8a8e1ea51
chore: Clippy fixes
2026-04-28 09:16:57 -04:00
Ginger
c7489fd008
refactor: Fix errors in api/server/key.rs
2026-04-28 09:16:52 -04:00
June Clementine Strawberry
a1e1f40ded
run cargo fix for rust 2024 changes and rustfmt
...
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay >
2025-02-23 01:17:45 -05:00
strawberry
77e0b76408
apply new rustfmt.toml changes, fix some clippy lints
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-15 01:00:41 -05:00
strawberry
0317cc8cc5
rename conduit to conduwuit finally
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-14 22:24:45 -05:00
Jason Volk
cc86feded3
bump ruma
...
fixes for key type changes
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-10 04:33:30 +00:00
Jason Volk
aa768b5dec
distill active and old keys for federation key/server response
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-10-26 18:50:29 -04:00
Jason Volk
c0939c3e9a
Refactor server_keys service/interface and related callsites
...
Signed-off-by: Jason Volk <jason@zemos.net >
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-10-26 18:50:29 -04:00
Jason Volk
8b6018d77d
de-global services() from api
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-27 07:54:03 +00:00
Jason Volk
30e7298dd7
fix doc-lazy-continuation
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-06-16 07:24:51 +00:00
Jason Volk
3af153f5ae
split s2s into units
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-06-06 04:41:27 -04:00