Skip to main content

production_ninep_decider

Function production_ninep_decider 

Source
pub async fn production_ninep_decider(
    signing_key: SigningKey,
    oauth: &OAuthConfig,
    audit_stream: &str,
) -> Result<Arc<dyn AccessDecider>>
Expand description

Build the production resolver-backed 9P PEP and its tamper-evident WAL.

The audit signer is mandatory under the active crypto policy. Callers must propagate an error from this function and refuse to construct a 9P-serving component; substituting hyprstream_9p::DenyAllDecider would both outage legitimate attaches and bypass the hash-chained MAC audit trail.