Skip to main content

build_mesh_pq_trust_store

Function build_mesh_pq_trust_store 

Source
pub fn build_mesh_pq_trust_store(oauth: &OAuthConfig) -> KeyedPqTrustStore
Expand description

Build the kid-anchored ML-DSA-65 trust store from the admin-configured mesh_peers (#157, Option A — eager, admin-anchored, immutable).

An invalid entry is logged and skipped (fail-safe: a malformed peer key must not silently trust the wrong identity). An empty/absent mesh_peers yields an empty store (non-breaking default).