pub enum Binding {
Matches,
Unrecorded,
NotAdopted,
Mismatch,
Absent,
}Expand description
How prikk’s own key-status report describes the relationship between the key that would sign and
what the repository already knows (prikk ≥ 0.41’s key-status-v1 binding field).
stikk mirrors prikk’s vocabulary rather than inventing one (RFC 026 Decision 3). A collapsed
vocabulary plus a paragraph explaining the collapse is how stikk ended up, until 0.6.0 removed it,
with a MaintainerReadiness type that could not express not-adopted — the state RFC 025 wanted a
fourth variant for, which prikk had a name for all along.
Measured against a real prikk 0.41.0, one repository per state (RFC 026 Handoff B).
Variants§
Matches
The key that would sign is the key this repository already records for that id. The only state that earns a plain statement on a confirmation card.
Unrecorded
No signature by this id exists yet, so nothing is recorded to disagree with. Arms: prikk accepts a first signature and binds the id then. This is the default state of every freshly created repository, so it is the first commit a new user makes.
NotAdopted
MAINTAINER only: the key is usable but the repository’s trust policy has not adopted it, and prikk will refuse the seal. Withholds.
Mismatch
The key that would sign is not the key recorded for this id. prikk refuses at signing time, so offering the action would be offering a failure. Withholds, and the card says which two things disagree.
Absent
prikk reported null: there was no usable seed to bind, or no repository to ask. A real state,
not a parse failure.