pub struct AttestationHeader {
pub content_hash: String,
pub performative: String,
pub from: KeyId,
pub to: BTreeSet<KeyId>,
pub thread: String,
pub caused_by: Option<CausedBy>,
}Expand description
The authenticated header a v2 signature commits to, alongside the content hash (REQ-700/REQ-701).
These are exactly the fields a redacted-envelope verifier reads; binding the hash alone would leave every one of them forgeable from gossiped (hash, signature) pairs (SPEC-015 review finding 1).
The suite named in the preimage is from.suite — the signing key’s
suite — so a signature can never be re-interpreted under a different
suite (REQ-708) and suite/key consistency holds by construction.
Fields§
§content_hash: StringContent hash of the message being vouched for (f1220<hex64>).
performative: StringPerformative name.
from: KeyIdSender key (canonical identity; its suite names the signature suite).
to: BTreeSet<KeyId>Recipient set, canonically ordered by (suite, name).
thread: StringThread identifier.
caused_by: Option<CausedBy>:caused-by list; None when the message carries none (the
grammar’s optional [caused-ref], CON-700).