Expand description
Best-effort acquisition of missing federation verify keys.
Requests are deduplicated by server and key ID, checked against local storage, and then sent to origins and trusted notaries in configured order. Missing keys are logged rather than returned to callers as an error.
Re-exportsยง
use std::borrow::Borrow;๐use std::collections::BTreeMap;๐use std::collections::BTreeSet;๐use std::time::Duration;๐use futures::StreamExt;๐use futures::stream::FuturesUnordered;๐use ruma::CanonicalJsonObject;๐use ruma::OwnedServerName;๐use ruma::OwnedServerSigningKeyId;๐use ruma::ServerName;๐use ruma::ServerSigningKeyId;๐use ruma::api::federation::discovery::ServerSigningKeys;๐use ruma::serde::Raw;๐use serde_json::value::RawValue as RawJsonValue;๐use tokio::time::Instant;๐use tokio::time::timeout_at;๐use tuwunel_core::debug;๐use tuwunel_core::debug;๐use tuwunel_core::debug_error;๐use tuwunel_core::debug_warn;๐use tuwunel_core::error;๐use tuwunel_core::error;๐use tuwunel_core::implement;๐use tuwunel_core::info;๐use tuwunel_core::info;๐use tuwunel_core::result::FlatOk;๐use tuwunel_core::trace;๐use tuwunel_core::warn;๐use super::key_exists;๐
Functionsยง
- keys_
count ๐
Type Aliasesยง
- Batch ๐