Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[feature] Option to choose key derivation function

Aperta
#974 8 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
dart, flutter
Ambito
security

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Dart
Stelle
421
Fork
260
Merge medio
2g 17h
PR unite (30g)
14

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di livekit/client-sdk-flutter

Tutte le issue di livekit/client-sdk-flutter

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.