1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-07-27 17:28:36 +00:00
conduit/src/service
Matthias Ahouansou c453d45598
fix(keys): only use keys valid at the time of PDU or transaction, and actually refresh keys
Previously, we only fetched keys once, only requesting them again if we have any missing, allowing for ancient keys to be used to sign PDUs and transactions
Now we refresh keys that either have or are about to expire, preventing attacks that make use of leaked private keys of a homeserver
We also ensure that when validating PDUs or transactions, that they are valid at the origin_server_ts or time of us receiving the transaction respectfully
As to not break event authorization for old rooms, we need to keep old keys around
We move verify_keys which we no longer see in direct requests to the origin to old_verify_keys
We keep old_verify_keys indefinitely as mentioned above, as to not break event authorization (at least until a future MSC addresses this)
2024-06-12 19:41:43 +02:00
..
account_data fix: panic on launch 2022-10-10 14:02:02 +02:00
admin fix(keys): only use keys valid at the time of PDU or transaction, and actually refresh keys 2024-06-12 19:41:43 +02:00
appservice fix(appservices): don't forward events relating to remote users, and forward events relating to remote aliases 2024-04-27 20:41:28 +01:00
globals fix(keys): only use keys valid at the time of PDU or transaction, and actually refresh keys 2024-06-12 19:41:43 +02:00
key_backups Bump ruma 2022-10-10 14:02:04 +02:00
media Update image crate 2024-04-27 11:15:04 +03:00
pusher chore: bump rust 2024-05-05 13:27:56 +01:00
rooms fix(keys): only use keys valid at the time of PDU or transaction, and actually refresh keys 2024-06-12 19:41:43 +02:00
sending chore: bump rust 2024-05-05 13:27:56 +01:00
transaction_ids fix: panic on launch 2022-10-10 14:02:02 +02:00
uiaa chore: bump all dependencies 2024-06-11 20:35:56 +01:00
users fix: permission checks for aliases 2024-06-12 19:41:31 +02:00
mod.rs Merge branch 'ruma-registration-type' into 'next' 2024-03-23 15:33:01 +00:00
pdu.rs fix: do not return redacted events from search 2024-06-12 19:41:02 +02:00