Skip to content

Conversation

hughns
Copy link
Contributor

@hughns hughns commented Oct 11, 2024

Supersedes #1272.

It is based on top of #1283. View diff.

Adds a specific test for scenario described at #1272 (comment).

Incorporates previous review feedback:

  • make the key indices optional and default to currentKeyIndex
  • keep the hasValidKey getter
  • if resetKeyStatus is called without an index argument, reset the key status for all keys

Copy link

changeset-bot bot commented Oct 11, 2024

🦋 Changeset detected

Latest commit: c45d45e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
livekit-client Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@hughns hughns changed the title Track decryption failures per key index Track E2EE key validity on a per index basis Oct 11, 2024
Copy link
Contributor

@lukasIO lukasIO left a comment

Choose a reason for hiding this comment

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

this is great, just a couple of nits!

@hughns hughns requested a review from lukasIO October 14, 2024 09:12
@lukasIO lukasIO merged commit cbcb593 into livekit:main Oct 14, 2024
3 checks passed
@github-actions github-actions bot mentioned this pull request Oct 14, 2024
svajunas-budrys pushed a commit to svajunas-budrys/client-sdk-js that referenced this pull request Jun 17, 2025
* Additional tests for E2EE

* Additional tests for E2EE

* Track decryption failures per key index

* Changeset

* Revert "Additional tests for E2EE"

This reverts commit 73b7bc2.

* Format

* Revert from merge

* Apply suggestions from code review

Co-authored-by: lukasIO <mail@lukasseiler.de>

---------

Co-authored-by: lukasIO <mail@lukasseiler.de>
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