pub enum SigningViability {
Viable {
fingerprint: Option<String>,
},
NotViable {
reason: String,
},
Unknown {
reason: String,
},
}Expand description
Outcome of the tag-signing viability check. Carries only a boolean-ish
status plus an optional PUBLIC key fingerprint — never private key
material or a full filesystem path (T-20-04, ASVS V6 / WR-02 — mirrors
the existing “no path/username” discipline this project already applies
elsewhere, e.g. PhaseFinding).
Variants§
Viable
Signing is viable. fingerprint is the matched public key’s
SHA256:... fingerprint, when one could be extracted.
NotViable
Not viable, with an actionable (never key-leaking) reason.
Unknown
Could not be determined — tool absent, format unset with no key, etc. Fail-soft: never a crash.
Trait Implementations§
Source§impl Clone for SigningViability
impl Clone for SigningViability
Source§fn clone(&self) -> SigningViability
fn clone(&self) -> SigningViability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SigningViability
impl Debug for SigningViability
impl Eq for SigningViability
Source§impl PartialEq for SigningViability
impl PartialEq for SigningViability
impl StructuralPartialEq for SigningViability
Auto Trait Implementations§
impl Freeze for SigningViability
impl RefUnwindSafe for SigningViability
impl Send for SigningViability
impl Sync for SigningViability
impl Unpin for SigningViability
impl UnsafeUnpin for SigningViability
impl UnwindSafe for SigningViability
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more