Interop scenarios
Generated from the libkeri-interop README when the site is built.
| # | Controller | Witness | Checks |
|---|---|---|---|
| 00 | keripy (kli) | keripy (kli witness demo, wan) | baseline: harness and environment work |
| 01 | krust | libkeri-witness (wan) | krust records the witness receipt |
| 02 | keripy (kli) | libkeri-witness (wan) | kli resolves the Rust witness OOBI and records its receipt |
| 03 | krust | keripy (kli witness demo, wan) | krust records the receipt; a separate kli resolves the krust AID through the keripy witness and validates it |
| 04 | 2-of-2 group: one keripy member, one krust member | members on keripy wan; group unwitnessed | keripy proposes the group inception, krust checks and co-signs it, keripy accepts it from its partial-signature escrow; kli status and krust status show the same group |
| 05 | 2-of-2 group, reversed: krust proposes, keripy joins | as 04 | krust proposes (multisig incept, escrowed), keripy joins and returns only its own signature, and libkeri completes the event from its partial-signature escrow (multisig ingest) |
| 06 | krust | keripy wan, wil, wes; toad 2 | krust receipts with all three and sends each witness the other two receipts; each witness then serves a fully witnessed KEL and kli resolves the AID through each one alone |
| 07 | kli, then krust | libkeri-witness as wan, wil, wes; toad 2 | the Rust witnesses take receipts propagated by kli and by krust, and serve /oobi/{aid}/witness/{wit} for the AIDs they witness; kli resolves both AIDs through each Rust witness alone |
| 08 | keripy delegator (kli delegate confirm), krust delegate | keripy wan | krust witnesses its dip, forwards it (/fwd from a proxy) to the delegator’s mailbox at wan, then its watcher follows the delegator’s KEL at wan until a fully witnessed event anchors the seal, completes the dip and publishes it; a separate kli validates the delegate. Then a delegated rotation |
| 09 | krust delegator (krust delegate confirm), keripy delegate (kli incept --proxy) | keripy wan | krust watches the delegate’s witness OOBI for the dip, approves it (anchor + wan receipt), and kli finds the anchor; a separate kli validates. Then a rotation |
| 10 | krust delegator, krust delegate | libkeri-witness wan (delegator), wil (delegate) | the whole delegation on Rust components; a kli validator accepts the delegate through wil |
| 11 | keripy delegator and delegate | keripy demo witnesses | baseline: keripy’s own scripts/demo/basic/delegate.sh, unchanged, for each keripy line (delegated inception, rotation, third-party validation) |
keripy version matrix
Result of make matrix (scenarios 08–11 on each line):
| 1.1 | 1.2 | main | |
|---|---|---|---|
| 08 kli delegator, krust delegate | pass, except A8 (XFAIL): a 1.1 validator can’t place a delegate that witnessed first | pass | pass |
| 09 krust delegator, kli delegate | B1 (XFAIL): a 1.1 delegate asks before witnessing and krust has no mailbox | pass | pass |
| 10 krust delegator and delegate, Rust witnesses | pass, except A8 (XFAIL) for the kli validator | pass | pass |
11 upstream delegate.sh | pass | pass | pass |