Skip to main content

verify_genesis_deployment_artifacts

Function verify_genesis_deployment_artifacts 

Source
pub fn verify_genesis_deployment_artifacts(
    public_ca: &[u8],
    registry_credential: &str,
) -> Result<VerifiedDeploymentArtifacts>
Expand description

Explicitly verify a direct-root credential during one-time genesis before authority-log enrollment. Production startup never calls this function and never infers genesis mode from a missing file.

Tooling uses this entry point for pre-installation self-checks. Keeping the parser and validator here prevents a mint tool from accidentally blessing a byte layout or JWT shape that production would reject.