mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-12-06 07:12:23 +00:00
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:
33 files changed
+1420
-848
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user