-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Audio and Video End-to-End Encryption (DAVE) Protocol #102
Comments
From what I've seen, the encryption seems to be between the frame/NALU splitter and packetizer, so theoretically nothing needs to be changed in the packetizer (thank god). That introduces another layer of coupling between the WebSocket side and media handling side though, which could become ugly...
This looks very scuffed...let's see how it goes. |
Unfortunately we don't have much option here...
|
OpenMLS is working on adding WASM bindings openmls/openmls#1525 It will be interesting to see what Discord.js does, since they'll also need a TS solution for their voice package |
From the changelog, we'll have a 6 month deprecation period to implement the protocol. Let's hope either OpenMLS or mls-rs will have an npm package by then |
@dank074 Discord.JS implemented DAVE a while ago. |
That's not DAVE, just regular transport security that we're already doing |
Oh.... |
Anyways, there IS a library for DAVE, and it's provided by Discord. Not sure what's stopping you from using it :| |
Well, it's not published but... |
The plan now (for me at least) is to wait for OpenMLS or mls-rs to have an official npm package that we can use. They're both Rust libraries that can be compiled to WASM relatively easily. |
@longnguyen2004 |
Those are utilities functions only, it doesn't contain any actual encryption functions, all of that is done in native code (trust me, I've read through them all) |
Update: We now have a mls-rs-wasm package on npm (not an official package from Amazon, but better than nothing). |
Discord announcement:
This can be in the backburner for now since it looks like they won't force it until sometime in 2025. Interesting that Stage Channel voice connections aren't mentioned in the encryption-eligible audio/video session types. I guess those are the only ones that won't support E2EE encryption
The text was updated successfully, but these errors were encountered: