Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/slow-dingos-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'livekit-client': patch
---

Update docs to clarify other client client HKDF support
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
6 changes: 4 additions & 2 deletions src/e2ee/KeyProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ export class ExternalE2EEKeyProvider extends BaseKeyProvider {

/**
* Accepts a passphrase that's used to create the crypto keys.
* When passing in a string, PBKDF2 is used.
* When passing in an Array buffer of cryptographically random numbers, HKDF is being used. (recommended)
* When passing in a string, PBKDF2 is used. (recommended)
Comment thread
1egoman marked this conversation as resolved.
Outdated
* When passing in an Array buffer of cryptographically random numbers, HKDF is being used.
*
* Note that not all client sdks support HKDF.
Comment thread
1egoman marked this conversation as resolved.
Outdated
* @param key
*/
async setKey(key: string | ArrayBuffer) {
Expand Down
Loading