fix: SEC8

Reviewed-By: Ginger <ginger@gingershaped.computer>
Reviewed-By: Jade <jade@ellis.link>
Reviewed-By: Jacob Taylor <jacob@explodie.org>
This commit is contained in:
timedout committed 2026-09-28 02:00:37 +01:00
1 parent c0ad864d57
commit 550dd0160a
33 files changed
+1420 -848

No files matched your search

+4 -1
View File
@@ -7,7 +7,10 @@ use ruma::{
signatures::{VerificationError, required_server_signatures_to_verify_event},
};
/// Extracts the server names and key ids to check signatures for given event.
/// Extracts the server names and key ids required to check signatures for the
/// given event.
///
/// Spec: https://spec.matrix.org/v1.19/server-server-api/#validating-hashes-and-signatures-on-received-events
pub(super) fn required_keys(
object: &CanonicalJsonObject,
rules: &SignaturesRules,