-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: a way for a multisig member to catch up updates #283
Comments
What does that mean? Is that just meant as a pointer for how to implement or that it is not applicable to KERIA? |
ha, you're too fast for me - I'm trying to formulate a better response. |
The workaround I'm using is that A or B sends exn to C. C "joins" the event and then queries the latest state of the multisig. |
Cool, thanks for the workaround. So you would do the essentially the same operations that you would do when joining the event "immediately", but you can omit the exn message from C back to A and B? |
Per our dev meeting discussion: From the controller perspective you could even receive an unwitnessed event. The witness will not 'see' the event unless it has at least one receipt. Watcher won't put it in the KEL unless it is fully-witnessed. This highlights why these dbs must be kept separate. This is per the first-seen rules for each role. In multisig, the separation becomes more obvious. And so does the need to request KEL events from the watcher. |
Yes, use the same "join" operation and you'll see that the event (key and tel) is created for that member however it has no witness receipts. You need to sync the state with a query or an oobi resolution. |
If the credential being issued in the original example is private and at issuance only known to the multi-sig issuer (and issuee), how does a watcher provide the actual credential to get into member C's DB? Do they still have to reach out to the other members? Edit: On second though, the TEL doesn't even contain the ACDC, just the SAID of the ACDC and state. How does a TEL watcher find the ACDC itself, especially if it's private? |
@lenkan I have added this to the vLEI Top 10 - Needs Consideration I would be especially interested in how you rank it vs #213 or if there is another issue you consider higher priority |
Thanks @2byrds. I believe both features are needed for a production ready system! I would simply rank them based on the lowest effort first basis. |
I have created a script here: https://github.com/nordlei/vlei-sandbox/blob/main/src/issues/multisig-join-late.test.ts that reproduces an issue when multisig members do not synchronize their actions perfectly. Here is how you can run the script
To outline the steps: we are creating a group with a 2 out of 3 signing threshold
Does anyone have any pointers on what is going on here? I want to figure out both a short term and a long term solution. One short term solution is that we stop member 1 and 2 to move on to step 2 until the last member has also successfully created the group. One way to do this is out-of-band communication, but it would be even better if this can be handled within Keria. Is there a way through the Keria API to see which members have joined the |
The code for I imagine the solution would be to incorporate this on a per-agent level in KERIA and then provide APIs for both viewing current state and updating it to a specific digest and sequence number. |
@Arsh-Sandhu mentioned in our meeting today about his work similar to the the 'kli watch' command. |
As a member of a multisig group, I want to be able to catch up with events signed by other multisig participants.
Consider a group of three members A,B,C and a signing threshold of 2
Perhaps there is already an API for this, but I could find an example where this is used.
From discord (Kent Bull):
The text was updated successfully, but these errors were encountered: