Skip to main content

Module standing

Module standing 

Source
Expand description

The issuer half of the standing node binding (R732-F5; noisetable W235 §0.1, §5).

  • BindingSequenceStore — the per-device sequence a binding is stamped with. Advanced by next_binding_seq: max(prev + 1, now), the same clock floor as the revocation epoch, so an issuer restored from an older backup still mints above the sequences edges already hold.
  • StandingBinder — signs StandingBindings under the issuer key. SessionAuthority holds one and mints a binding with every peer-key-bound DeviceBinding::LanPair session.

The edge half is cheers_verify::StandingVerifier.

Structs§

MemoryBindingSequenceStore
In-process sequences — tests and single-process deployments. Clones share one map.
SignedStandingBinding
A StandingBinding and its signed token.
StandingBinder
Mints standing bindings under the issuer key.

Traits§

BindingSequenceStore
Origin-side per-device binding sequence. Keyed by device alone: a device id re-bound to another user still supersedes its previous binding, which is what an edge must see when a node changes hands.

Functions§

next_binding_seq
The sequence a mint advances to: max(prev + 1, now), or max(1, now) for a device’s first binding. Strictly monotonic per device whatever the clock does; the floor keeps a restored-from-backup issuer above what edges hold.