pub enum EquivocationProofError {
DialectUnhashed,
DialectHashMismatch {
pinned: String,
installed: String,
},
MalformedMember {
member: usize,
defect: MemberDefect,
},
KeyMismatch {
member: usize,
},
ThreadMismatch {
member: usize,
},
IdenticalMembers,
Signature {
member: usize,
error: AttestError,
},
CompatiblePair {
first: String,
second: String,
},
}Expand description
Typed rejection for verify_equivocation_proof — anything short of a
fully-verifying offending pair (LangSec discipline: reject, don’t
repair). member is the 0-based index of the offending member.
Variants§
DialectUnhashed
The verifier’s dialect carries no content hash, so the pin cannot be checked (fail closed).
DialectHashMismatch
The proof pins a different dialect than the verifier holds (REQ-706: never a same-named substitute).
MalformedMember
A member does not parse into the committed header shape.
KeyMismatch
A member’s sender is not the accused key (canonical comparison).
ThreadMismatch
A member does not carry the proof’s thread.
IdenticalMembers
The two members are the same message (identical content hash) — one message is never an equivocation.
Signature
A member’s signature failed R4 v2 verification.
CompatiblePair
Both members verify but the pair is compatible under the pinned dialect: neither two alternatives of one choice point nor a double discharge of one obligation.