pub enum ClaimSignatureVerification {
Sound {
key_id: String,
},
Unverifiable {
key_id: String,
},
}Expand description
The outcome of checking one RecognitionClaim’s own MAINTAINER signature (Stage 3 handoff §4.2
item 8; reused by Stage 4 §3’s “report the outcome alongside the result”). Shaped identically to
AuthorSignatureVerification and for the same reason: never gating (design D3) means a
claim naming a key_id this repository has not adopted still accepts – it reads
Unverifiable, never Sound, and does not by itself refuse. Only a signature that fails to
verify against a key_id this repository has adopted refuses (a forged claim under a
locally-trusted identity is an integrity failure, not a trust question). There is no Fails
variant for the same reason AuthorSignatureVerification has none: that outcome is a genuine
refusal, propagated as an Err, not a value this type carries.
Variants§
Sound
The signature verifies against a key_id this repository has adopted as a trusted
maintainer.
Unverifiable
This repository has not adopted key_id, so the signature cannot be checked. Not a
failure and not by itself a refusal – see the type doc.
Trait Implementations§
Source§impl Clone for ClaimSignatureVerification
impl Clone for ClaimSignatureVerification
Source§fn clone(&self) -> ClaimSignatureVerification
fn clone(&self) -> ClaimSignatureVerification
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more