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

Use non-deprecated method of re-processing MatrixRTCSession keys #2646

Merged
merged 7 commits into from
Oct 11, 2024

Conversation

hughns
Copy link
Member

@hughns hughns commented Sep 23, 2024

As per matrix-org/matrix-js-sdk#4423 the key can be undefined and so we should handle this rather than waiting for SubtleCrypto.importKey() to fail.

As per matrix-org/matrix-js-sdk#4423 the key can be undefined and so we should handle this rather than waiting for SubtleCrypto.importKey() to fail.
src/e2ee/matrixKeyProvider.ts Outdated Show resolved Hide resolved
@hughns hughns changed the base branch from livekit to hughns/bump-livekit-sdk October 10, 2024 08:52
@hughns hughns changed the base branch from hughns/bump-livekit-sdk to hughns/lk-keyringsize October 10, 2024 08:53
@hughns hughns changed the base branch from hughns/lk-keyringsize to livekit October 10, 2024 08:54
@hughns hughns changed the title Handle case of encryption key for an index to be undefined Use non-deprecated method of re-processing MatrixRTCSession keys Oct 10, 2024
Copy link
Contributor

@toger5 toger5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice this has gotten simpler.

Added a comment since I am not too sure about our E2EE test coverage.

src/e2ee/matrixKeyProvider.test.ts Show resolved Hide resolved
@hughns hughns enabled auto-merge (squash) October 11, 2024 13:52
@hughns hughns requested review from AndrewFerr and removed request for AndrewFerr October 11, 2024 13:52
@hughns hughns merged commit 8a84c6c into livekit Oct 11, 2024
6 checks passed
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.

3 participants