timedout
98d78dfdf1
Merge branch 'main' into nex/feat/notary-server
...
# Conflicts:
# src/api/server/key.rs
# src/service/server_keys/mod.rs
# src/service/server_keys/request.rs
# src/service/server_keys/verify.rs
2026-11-23 14:18:38 +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
298113c0a6
feat: Update MSC4456 implementation, new route
2026-10-14 10:34:52 +01:00
timedout
62de19970e
fix: Address review comments
2026-10-14 10:34:51 +01:00
timedout
6b532eb7d0
perf: Yield ssk instead of doing a serialization roundtrip
2026-10-14 10:34:51 +01:00
timedout
b541aadc2b
feat: Don't double-sign our own keys
2026-10-14 10:34:51 +01:00
timedout
c1f6a7c082
fix: Don't do weird wire signing for server keys route
2026-10-14 10:34:51 +01:00
timedout
3508b1a5e3
fix: Don't make origin key requests to ourself
...
Intercepting the request and serving it locally seems like a pretty good blanket solution
2026-10-14 10:34:51 +01:00
timedout
9867e99bb2
fix: Typo (MSC4456 -> MSC4556)
2026-10-14 10:34:50 +01:00
timedout
c486eeac06
fix: Don't serve expired responses in the criterialess path
2026-10-14 10:34:49 +01:00
timedout
1ded0b4e97
fix: Enforce specific notary limits per MSC4556
2026-10-14 10:34:49 +01:00
timedout
cd94a0d3ab
fix: Refuse to process >4096 servers and/or >8192 keys
...
pending msc
2026-10-14 10:34:49 +01:00
timedout
08307970a1
fix: Deduplicate signing key responses if we already satisfied them
2026-10-14 10:34:49 +01:00
timedout
ebf7c9920a
fix: Don't short circuit if all requested servers have no query criteria
...
Also adds some traces
2026-10-14 10:34:48 +01:00
timedout
19bc5d2016
feat: Correctly ask origin for keys before seeding from local cache
2026-10-14 10:32:36 +01:00
timedout
4e1fb09bfb
fix: Maybe query origin when fetching latest keys
2026-10-14 10:32:36 +01:00
timedout
39cd151ca3
fix: Don't attempt to contact origins as a notary more than once a minute
2026-10-14 10:32:36 +01:00
timedout
a5a7905494
fix: Actually contact origins in notary key fetching
2026-10-14 10:32:35 +01:00
timedout
a05d7a8cf3
style: Condense repeated code into a reusable function
2026-10-14 10:32:35 +01:00
timedout
af8ca8580e
fix: Correctly sum total_queried_keys
2026-10-14 10:32:35 +01:00
timedout
7050ea84e3
feat: Strip extraneous signatures to avoid leaking our own notaries
2026-10-14 10:32:35 +01:00
timedout
441ab78c4e
feat: Notary server
2026-10-14 10:32:34 +01: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