Alerts and Conflicts¶
Classes¶
| Class | Severity | Meaning |
|---|---|---|
interaction_duplicity |
critical | Two different interaction events at the same position |
establishment_duplicity |
critical | Conflicting events, at least one of which establishes keys |
fork |
critical | A signed interaction event that continues another history |
superseded_interaction |
info | An interaction event that a rotation has replaced |
stale_key_duplicity |
info | A conflicting event before the last rotation, while the known one is witnessed. Typical for keys that were compromised and rotated out |
conflict in an identity answer is true while a critical alert is unresolved.
Alert¶
| Field | Meaning |
|---|---|
id |
Digest of identity, class and proof |
aid, sn |
Identity and position |
class, severity |
See above |
proof |
The observed event with signatures, and for duplicity the known event |
source |
Watcher that raised it |
resolved |
Whether it was resolved |
ts |
Time in milliseconds |
Alerts are signed by the watcher that raised them. The proof contains the conflicting signed events, so anyone can check it without trusting the watcher.
Resolution¶
Alerts of the classes interaction_duplicity and fork are resolved when the controller rotates its keys:
- a recovery rotation that replaces the conflicting position, or
- a later rotation by a witnessed identity whose previous event is witnessed.
Conflicts between establishment events are not resolved automatically.
Sharing¶
A watcher pulls the signed feeds of its peers. It takes the observed event from an alert and processes it like any other observation, so a peer cannot cause an alert without valid signed events.
Responding¶
- Do not accept new signatures of the identity.
- Compare the proof with what you hold.
- Contact the controller over another channel.
- Resume when
conflictis false again and the key state is confirmed by enough watchers.