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, enrollment_verifier). Verified locally against project.yaml by looking up the attester’s verify_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. verify_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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Attestation
impl Debug for Attestation
Source§impl<'de> Deserialize<'de> for Attestation
impl<'de> Deserialize<'de> for Attestation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for Attestation
impl PartialEq for Attestation
Source§fn eq(&self, other: &Attestation) -> bool
fn eq(&self, other: &Attestation) -> bool
self and other values to be equal, and is used by ==.