From 8272c54177ad289b1f6e2b7b2116caeb9c54cdcc Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Thu, 10 Oct 2024 10:34:38 +0100 Subject: [PATCH] Set LiveKit keyring size to 256 (#2660) --- package.json | 2 +- src/e2ee/matrixKeyProvider.ts | 2 +- yarn.lock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 14f4cd4c8..623f72a82 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "i18next-parser": "^9.0.0", "jsdom": "^25.0.0", "knip": "^5.27.2", - "livekit-client": "^2.0.2", + "livekit-client": "^2.5.7", "lodash": "^4.17.21", "loglevel": "^1.9.1", "matrix-js-sdk": "matrix-org/matrix-js-sdk#baa6d135065637c9769c61325c69709d3618f5f1", diff --git a/src/e2ee/matrixKeyProvider.ts b/src/e2ee/matrixKeyProvider.ts index d84c3684c..3a1a2dc34 100644 --- a/src/e2ee/matrixKeyProvider.ts +++ b/src/e2ee/matrixKeyProvider.ts @@ -16,7 +16,7 @@ export class MatrixKeyProvider extends BaseKeyProvider { private rtcSession?: MatrixRTCSession; public constructor() { - super({ ratchetWindowSize: 0 }); + super({ ratchetWindowSize: 0, keyringSize: 256 }); } public setRTCSession(rtcSession: MatrixRTCSession): void { diff --git a/yarn.lock b/yarn.lock index fdae07743..5f932b83f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5778,7 +5778,7 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== -livekit-client@^2.0.2: +livekit-client@^2.5.7: version "2.5.7" resolved "https://registry.yarnpkg.com/livekit-client/-/livekit-client-2.5.7.tgz#0a091a20b0c77ec4ad07d3116680ec3d4625444c" integrity sha512-g15/e9J9eZStQM4B7dgUP7eLAKbqJYh37n8IkR9n0M4/1ZxkyPgVvxkaooPNxp9C0Ri6cefN5uHNbyyXWUJOVw==