Skip to content

Map claimed key packages to clients#2172

Merged
pcapriotti merged 7 commits intopcapriotti/mls-client-apifrom
pcapriotti/mls-key-package-mapping
Mar 8, 2022
Merged

Map claimed key packages to clients#2172
pcapriotti merged 7 commits intopcapriotti/mls-client-apifrom
pcapriotti/mls-key-package-mapping

Conversation

@pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Mar 2, 2022

This PR implements a mapping of key package ref to qualified clients. The corresponding cassandra table also contains fields to hold the qualified conversation ID of where the key package is being used. These fields are not set for the moment, but they will play a role when validating incoming handshake messages.

This also adds an internal brig endpoint to dereference a key package. This is only used in tests for the moment, but it will later be used by galley to resolve a key package ref to a user and client ID.

Part of https://wearezeta.atlassian.net/browse/FS-436.

Note: this contains a commit from #2170. Rebase it away before merging.

Checklist

  • The PR Title explains the impact of the change.
  • The PR description provides context as to why the change should occur and what the code contributes to that effect. This could also be a link to a JIRA ticket or a Github issue, if there is one.
  • If a cassandra schema migration has been added, I ran make git-add-cassandra-schema to update the cassandra schema documentation.
  • changelog.d contains the following bits of information (details):
    • A file with the changelog entry in one or more suitable sub-sections. The sub-sections are marked by directories inside changelog.d.

@pcapriotti pcapriotti force-pushed the pcapriotti/mls-client-api branch from ee4e2da to 4873468 Compare March 4, 2022 07:07
@pcapriotti pcapriotti force-pushed the pcapriotti/mls-key-package-mapping branch from 49f4325 to d39508c Compare March 4, 2022 07:23
@pcapriotti pcapriotti changed the title Map claimed key packages to client Map claimed key packages to clients Mar 4, 2022
@pcapriotti pcapriotti force-pushed the pcapriotti/mls-client-api branch from 4873468 to 310f548 Compare March 4, 2022 10:26
@pcapriotti pcapriotti force-pushed the pcapriotti/mls-key-package-mapping branch from d39508c to c31520d Compare March 4, 2022 10:29
@mdimjasevic mdimjasevic self-requested a review March 7, 2022 10:40
@pcapriotti pcapriotti merged this pull request into pcapriotti/mls-client-api Mar 8, 2022
@pcapriotti pcapriotti deleted the pcapriotti/mls-key-package-mapping branch March 8, 2022 07:30
@pcapriotti pcapriotti restored the pcapriotti/mls-key-package-mapping branch March 10, 2022 10:19
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.

2 participants