Skip to main content

global_verify_policy

Function global_verify_policy 

Source
pub fn global_verify_policy() -> CryptoPolicy
Expand description

The enforced verify policy.

When a config has been installed, its policy is returned verbatim.

When uninstalled, the default is fail-closed: production builds default to [CryptoPolicy::Hybrid] so that any verify site reached before install_verify_config (subprocess-spawner services, early init) rejects classical-only envelopes rather than silently accepting EdDSA-only ones (#160 — this previously defaulted Classical, re-opening the M3 fail-open).