WebOfTrust / keria

KERI Agent in the cloud
https://keria.readthedocs.io/en/latest/
Apache License 2.0
18 stars 28 forks source link

Fix order of witness receipts relative to delegation approval. #36

Closed pfeairheller closed 2 weeks ago

pfeairheller commented 1 year ago

In the current implementation of delegated inception and rotation (including in multisig delegation), the delegate controller waits for delegation approval before publishing the event to the witnesses. Since the witnesses are under the control of the controller, this order should be inverted.

To accomplish this, witnesses should accept delegated AID events without requiring a delegator approval anchor but not publish the events externally until the delegator's approval anchor is received. Once watchers are in place the witnesses can publish the event externally without the approval because the watcher's won't accept the event until the approval shows up.

lenkan commented 3 weeks ago

@pfeairheller This is already implemented, right?

lenkan commented 2 weeks ago

Maybe @2byrds knows and can close accordingly?

2byrds commented 2 weeks ago

Yes, this was implemented. There are a series of PRs related to delegation since then, but this can closed.