pub struct RecentPairing {
pub peer_petname: String,
pub sas_code: String,
pub paired_at_epoch: u64,
}Expand description
One recently completed INVITER-side pairing, surfaced by status so the inviter’s human can
read the short authentication code (SAS) and compare it with the redeemer’s out-of-band —
spec §4.2’s ceremony is “both humans compare the code”: the redeemer sees it in its
PairResult; this is the inviter’s porcelain surface for the same words. DISPLAY-ONLY
ceremony state: held in-memory by the daemon (a small ring), lost on restart, NEVER an
authorization input or trust data. Surface-clean (§1.5): a petname + the SAS wordlist words +
an epoch — never an EndpointId.
Fields§
§peer_petname: StringThe peer’s petname as stored by the inviter (its local name for the redeemer).
sas_code: StringThe display-only SAS words (e.g. "tango-fig-cabbage") — the same code the redeemer’s
PairResult.sas_code carried. Never checked programmatically.
paired_at_epoch: u64When the pairing completed (epoch seconds) — the porcelain renders a friendly age.
Trait Implementations§
Source§impl Clone for RecentPairing
impl Clone for RecentPairing
Source§fn clone(&self) -> RecentPairing
fn clone(&self) -> RecentPairing
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more