Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[feature] Option to choose key derivation function

オープン
#974 コメント 8 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
dart, flutter
領域
security

調査の方向性

Start by reading the web implementation in web/e2ee.keyhandler.dart, especially the PBKDF2 derivation mentioned in the issue, and compare it with the native implementation. Determine how the SDK exposes encryption configuration before proposing where the choice belongs. Done means callers can select HKDF or PBKDF2 and decrypt compatible remote streams on both web and native implementations.

索引モデルが issue の本文から書いたものです。

説明

Is your feature request related to a problem? Please describe.
I am working on implementing end to end encrypted calls compatible with Element Call which is also using LiveKit. However, it is currently not possible for me to decrypt remote streams, as Element Call uses HKDF to derive keys, and this sdk currently is hardcoded to use PBKDF2.

Describe the solution you'd like
Providing some API to select different derivation function

Describe alternatives you've considered
I've made a simple patch to just replace PBKDF2 with HKDF as a test https://github.com/livekit/client-sdk-flutter/commit/f05718ecb7f44adb568954e8f18a24bd6beed246 and it has allowed me to properly decrypt remote streams.

I made this patch only for the web implementation as it was easier to debug, but ideally it should be possible to use HKDF with the native implementation as well

Additional context
I'm willing to help work on implementation of this, but would appreciate some guidance from maintainers on how to best approach it.

主要言語
Dart
スター
421
フォーク
260
平均マージ
2日 5時間
マージ済み PR(30日)
17

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

livekit/client-sdk-flutter のほかの issue

livekit/client-sdk-flutter の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。