-
Notifications
You must be signed in to change notification settings - Fork 8
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
add a state protocol diagram after table introduction, early in Exchange Protocol section #49
Comments
This would be better in mermaid so everyone can maintain/contribute and track changes to it. |
@m00sey Mermaid can't draw multiple state machines on a single diagram, plus doesn't have the ability to show "send events" or messages between the two as arrows. There might be other text-to-diagram tools that would work. The information in this diagram could alternately be presented as two state-transition type of tables (discloser and disclosee), perhaps expanding on the existing table in the IPEX section https://trustoverip.github.io/tswg-acdc-specification/#issuance-and-presentation-exchange-ipex.
Addressing these types of questions can wait until there are two implementations of the IPEX protocol that need to be tested for interoperability. This could be in a interop testing guide, or they could be addressed upfront in a design discussion. I'd rather see that design discussion happen versus solving how to get this particular diagram (or table) into the spec. |
Pending open discussion in weekly call. |
Discussed on KERI/ACDC Call on 4/2/2024. Tabled for now. |
The key insight for me during the call was that the intention for IPEX's interactions is to be more general-purpose than I previously understood and not intended to solve all the particulars of business problem such as the lifecycle of a credential (offer, create, exchange, present, ...). Perhaps reverse-engineering the reference implementation for vLEI credential issuance and modeling this would set up for future interoperability specifications. Also having sequence diagrams of the IPEX protocol interactions (and vLEI credentials) would help visualize and confirm the common interactions. |
I analyzed this some more. Additional thoughts:
|
@kentbull and I had a working session to reconcile the keripy test with my understanding of the IPEX Exchange protocol table in the spec. He created a keripy branch with comments, here: https://github.com/kentbull/keripy/pull/2/files and will work issues with that test. |
Preparing a pull request... 95ec77d |
Notes: 2024-05-09 link to lucidchart as reference (not to be in spec): |
Discussed on 5/14/2024 spec call. The work above documents the flow for contractually protected disclosure for the vLEI ecosystem as implemented in Keripy. See #103 for next steps. |
Suggested content to add early in the Exchange Protocol section:
`
State Protocol Diagram
The following depicts the two roles for this protocol, the interactions between them, and UML state diagrams for each role. Note for a given instantiation of the protocol, each role may select one from multiple start states, and thus expecting certain interactions from the other role.`
https://lucid.app/lucidchart/747aee2b-120e-4d7e-971c-df8954874ce1/edit?viewport_loc=-150%2C-91%2C2304%2C1167%2C0_0&invitationId=inv_eb70ac41-ad96-48a8-98e8-02eff2bccd84
If that link doesn't work, use this: https://lucid.app/lucidchart/747aee2b-120e-4d7e-971c-df8954874ce1/view?invitationId=inv_eb70ac41-ad96-48a8-98e8-02eff2bccd84&page=0_0#
A PNG and an SVG Export of this from lucid.app are attached
.
The text was updated successfully, but these errors were encountered: