Skip to main content

commit_version_force_unregistered

Function commit_version_force_unregistered 

Source
pub fn commit_version_force_unregistered(
    path: &Path,
    new_rules: &[u8],
    options: &CommitOptions<'_>,
    registry: &KeyRegistry,
) -> Result<CommitResult>
Expand description

Commit bypassing the registry authz pre-check (issue #25 --force-unregistered escape hatch).

Same behavior as commit_version except the (author, signing key, active epoch) match is not enforced. The resulting entry is not guaranteed to verify against the supplied registry — operators using this path must know why (offline signer, staged rollout) and accept that the file on disk will not pass verify until the registry is updated.

§Errors

Same error surface as commit_version minus the authz errors.