Skip to content

Conversation

bifurcation
Copy link
Contributor

@bifurcation bifurcation commented Aug 1, 2023

Currently, we can validate passive client tests, but not generate them. This PR adds logic to generate passive client tests for a few scenarios:

  • Join via Welcome
  • Join via Welcome with an external ratchet tree
  • Handle a Commit sent as PublicMessage
  • Handle a Commit sent as PrivateMessage
  • Handle a Commit with a Proposal included by reference
  • Handle an external commit
  • Handle 100 random commits

Right now, the 100 random commits just cover Add, Update, Remove, and PSK. In principle, we could include GCE, but it would be a slight hassle.

Each scenario also includes an application data protection test at each epoch.

The generation code in the interop runner dumps all of the scenarios into one file. We could add a command line flag to select out individual scenarios, as we have now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant