pub struct UnifiedVerifyCommand {
pub target: String,
pub identity_bundle: Option<PathBuf>,
pub issuer_pk: Option<String>,
pub issuer_did: Option<String>,
pub witness_receipts: Option<PathBuf>,
pub witness_threshold: usize,
pub witness_keys: Vec<String>,
pub signature: Option<PathBuf>,
pub remote: Option<String>,
pub oobi: Option<String>,
pub require_witnesses: bool,
}Expand description
Unified verify command: verifies a signed commit or an attestation.
Fields§
§target: StringGit ref, commit hash, range (e.g. HEAD, abc1234, main..HEAD), or path to an attestation JSON file / “-” for stdin.
identity_bundle: Option<PathBuf>Path to identity bundle JSON (for CI/CD stateless commit verification).
issuer_pk: Option<String>Signer public key in hex format (attestation verification).
issuer_did: Option<String>Signer identity ID for attestation trust-based key resolution.
witness_receipts: Option<PathBuf>Path to witness signatures JSON file.
witness_threshold: usizeNumber of witnesses required.
witness_keys: Vec<String>Witness public keys as DID:hex pairs.
signature: Option<PathBuf>Path to signature file. Only used when verifying an artifact file (not a commit).
Defaults to
remote: Option<String>Fetch a signer’s KEL from this git remote when it is absent locally (opt-in). The local registry stays the trusted floor — a remote can only advance the key-state, never roll it back. Without it, resolution is local-only (no network).
oobi: Option<String>Fetch signer KELs over HTTP from this OOBI base URL (SSRF-hardened:
HTTPS-only, no redirects, private/loopback hosts blocked). Takes
precedence over --remote.
require_witnesses: boolFail verification when the signer’s root KEL has not reached witness quorum (fail-closed). Default: warn and continue.
Trait Implementations§
Source§impl Args for UnifiedVerifyCommand
impl Args for UnifiedVerifyCommand
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for UnifiedVerifyCommand
impl Clone for UnifiedVerifyCommand
Source§fn clone(&self) -> UnifiedVerifyCommand
fn clone(&self) -> UnifiedVerifyCommand
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UnifiedVerifyCommand
impl Debug for UnifiedVerifyCommand
Source§impl FromArgMatches for UnifiedVerifyCommand
impl FromArgMatches for UnifiedVerifyCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.