pub struct Attestation {
pub attester: String,
pub signed_fields: AttestationSignedFields,
pub signed_at: DateTime<Utc>,
pub signature: String,
}Expand description
Per-member attestation: a signature by a manage member over a stable subset of the member’s fields (email, capabilities, otp_hash). Verified locally against project.yaml by looking up the attester’s public_key in the same file. The founder is the sole member allowed to have no attestation in a fresh project; once any additional manage member is added, that member implicitly reverse-attests the founder.
Fields§
§attester: StringEmail (or AI member id) of the member who produced the signature. Must be a manage-capable member at signing time.
signed_fields: AttestationSignedFieldsThe fields this signature covers. public_key is intentionally excluded so that passphrase changes do not break existing attestations.
signed_at: DateTime<Utc>When the attestation was produced.
signature: StringHex-encoded Ed25519 signature over the canonical serialization of
signed_fields.
Trait Implementations§
Source§impl Clone for Attestation
impl Clone for Attestation
Source§fn clone(&self) -> Attestation
fn clone(&self) -> Attestation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more