Skip to content

Upload device keys during initCrypto #2943

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

Closed
wants to merge 1 commit into from
Closed

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Dec 5, 2022

Rather than waiting for the application to call .startClient, upload the
device keys during initCrypto(). Element-R is going to approach this slightly
differently (the rust-sdk wants to manage the decision on key uploads itself),
so this lays some groundwork by collecting the libolm-specific bits together.


This change is marked as an internal change (Task), so will not be included in the changelog.

Rather than waiting for the application to call `.startClient`, upload the
device keys during `initCrypto()`. Element-R is going to approach this slightly
differently (the rust-sdk wants to manage the decision on key uploads itself),
so this lays some groundwork by collecting the libolm-specific bits together.
@richvdh richvdh added the T-Task Tasks for the team like planning label Dec 5, 2022
@richvdh
Copy link
Member Author

richvdh commented Dec 6, 2022

Turns out I already have a PR open for this 🤦 : #2872

@richvdh richvdh closed this Dec 6, 2022
@richvdh richvdh deleted the rav/upload_keys_in_init branch December 6, 2022 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant