Skip to main content

install_session_pq_overlay

Function install_session_pq_overlay 

Source
pub fn install_session_pq_overlay(overlay: Arc<SessionPqOverlay>) -> Result<()>
Expand description

Install the process-global overlay. First write wins.

Not installed by default. With no overlay installed the verify path behaves exactly as it did before this existed: an identity with no admin-anchored ML-DSA-65 key is rejected under the mandatory Hybrid suite. Trust-on-first-use is a deployment decision, so it is opted into explicitly rather than acquired by linking this crate.

ยงErrors

Returns Err when an overlay was already installed.