Skip to content
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

Refactor ciphersuite handling for 1-1 convs #4009

Merged
merged 14 commits into from
Apr 29, 2024

Conversation

pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Apr 18, 2024

Change the MLSConversationData record so that epoch, epoch timestamp and ciphersuites are not present when the epoch is 0. Several endpoints have been updated to version 6 as a result of the API incompatibility introduced by this change.

https://wearezeta.atlassian.net/browse/WPB-8692

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@pcapriotti pcapriotti changed the base branch from develop to pcapriotti/new-mls-ciphersuites April 18, 2024 14:28
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Apr 18, 2024
@pcapriotti pcapriotti force-pushed the pcapriotti/mls-one-to-one-ciphersuite branch from add454e to 332a1d6 Compare April 22, 2024 11:50
@pcapriotti pcapriotti marked this pull request as ready for review April 22, 2024 14:43
@pcapriotti pcapriotti force-pushed the pcapriotti/mls-one-to-one-ciphersuite branch 2 times, most recently from e66f1ac to 1bc60de Compare April 23, 2024 11:29
Base automatically changed from pcapriotti/new-mls-ciphersuites to develop April 24, 2024 12:14
@pcapriotti pcapriotti force-pushed the pcapriotti/mls-one-to-one-ciphersuite branch from 1bc60de to 540ed8b Compare April 25, 2024 09:31
@mdimjasevic mdimjasevic self-requested a review April 29, 2024 08:48
@pcapriotti pcapriotti merged commit c950a3a into develop Apr 29, 2024
8 checks passed
@pcapriotti pcapriotti deleted the pcapriotti/mls-one-to-one-ciphersuite branch April 29, 2024 08:52
pcapriotti added a commit that referenced this pull request May 8, 2024
* Introduce ActiveMLSConversationData

This changes the conversation and subconversation metadata so that
epoch, epoch timestamp and ciphersuites are all simultaneously optional.
This makes it possible not to set a ciphersuite for conversations until
they receive a commit.

* Fix assertions in integration tests

* Add more versioned conversation endpoints

* Make SubConversation record versioned

* Adapt galley to versioning changes

* Adapt and expand conversation golden tests

* Fix arbitrary instance of ConversationMLSData

* Test old versions of conversation metadata

* Restore epoch field in Conversation serialisation

* Add CHANGELOG entry

* Lint

* Test MLS 1-1 with other ciphersuites

* Fix assertion in galley integration test

* fixup! Fix assertion in galley integration test
@pcapriotti pcapriotti mentioned this pull request May 8, 2024
2 tasks
pcapriotti added a commit that referenced this pull request May 8, 2024
* Refactor ciphersuite handling for 1-1 convs (#4009)

* Introduce ActiveMLSConversationData

This changes the conversation and subconversation metadata so that
epoch, epoch timestamp and ciphersuites are all simultaneously optional.
This makes it possible not to set a ciphersuite for conversations until
they receive a commit.

* Fix assertions in integration tests

* Add more versioned conversation endpoints

* Make SubConversation record versioned

* Adapt galley to versioning changes

* Adapt and expand conversation golden tests

* Fix arbitrary instance of ConversationMLSData

* Test old versions of conversation metadata

* Restore epoch field in Conversation serialisation

* Add CHANGELOG entry

* Lint

* Test MLS 1-1 with other ciphersuites

* Fix assertion in galley integration test

* fixup! Fix assertion in galley integration test

* Improve MLS one2one conversation test
@echoes-hq echoes-hq bot added echoes: technical-roadmap/security More specific category, to highlight task that tackle security requirements. echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. echoes: technical-roadmap/security More specific category, to highlight task that tackle security requirements. ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants