pub struct MeshPeerConfig {
pub ed25519_multibase: String,
pub mldsa65_multibase: String,
}Expand description
Configuration for a trusted mesh peer’s post-quantum signing identity (#157).
Admin-anchored entry binding a peer’s Ed25519 mesh signer identity (the
envelope/COSE signer key, used as the kid anchor) to its trusted ML-DSA-65
mesh verifying key. These entries populate the process-global
KeyedPqTrustStore eagerly at startup; the store is immutable thereafter.
Both keys are supplied inline, out-of-band, as Multikey
publicKeyMultibase strings (base58btc, multicodec-prefixed) — the same
encoding the node publishes in its DID document (#mesh ed25519-pub 0xed01
and #mesh-pq ml-dsa-65-pub 0x1211). An operator copies a peer’s
#mesh and #mesh-pq publicKeyMultibase values from that peer’s DID doc.
This matches the KeyedPqTrustStore contract (“Entries MUST be established
out-of-band”) and the Tiles interop admission model: only keys an operator
configured are trusted. If mesh_peers is empty, the store is empty and
behavior is unchanged (Hybrid fails closed for unknown peers).
Fields§
§ed25519_multibase: StringPeer’s Ed25519 mesh signer public key as a Multikey publicKeyMultibase
string (base58btc z…, multicodec ed25519-pub 0xed01). This is the
kid anchor the COSE composite is verified against.
mldsa65_multibase: StringPeer’s ML-DSA-65 mesh verifying key as a Multikey publicKeyMultibase
string (base58btc z…, multicodec ml-dsa-65-pub 0x1211). The trusted
post-quantum key bound to ed25519_multibase.
Trait Implementations§
Source§impl Clone for MeshPeerConfig
impl Clone for MeshPeerConfig
Source§fn clone(&self) -> MeshPeerConfig
fn clone(&self) -> MeshPeerConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MeshPeerConfig
impl Debug for MeshPeerConfig
Source§impl<'de> Deserialize<'de> for MeshPeerConfig
impl<'de> Deserialize<'de> for MeshPeerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for MeshPeerConfig
impl RefUnwindSafe for MeshPeerConfig
impl Send for MeshPeerConfig
impl Sync for MeshPeerConfig
impl Unpin for MeshPeerConfig
impl UnsafeUnpin for MeshPeerConfig
impl UnwindSafe for MeshPeerConfig
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request