You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider adding DTLS to go with the existing UDP support and proposed TLS module (#5391.) This has been a long-standing gap in the Node world (nodejs/node#2398).
The text was updated successfully, but these errors were encountered:
Just sending this back up on the suggestion list, as I have been working on making a webrtc library for deno, the biggest task i'm facing right now is passing the UDP stream onto many functions to apply the DTLS layer on top of it, could be great if this was in the STD
OpenSSL in rust has an function where it takes a stream and depending on the settings (here dtls) it returns the stream after the handshake
...//Create a Certificate and a key for the handshake and pass them to the ssl builder
let mut ssl_acceptor_builder = SslAcceptor::mozilla_intermediate(SslMethod::dtls())?;//example not secure here, this means the server doesnt check Client certificate in order to accept arbitrary client.
ssl_acceptor_builder.set_verify(SslVerifyMode::NONE);
ssl_acceptor_builder.set_private_key(&key)?;
ssl_acceptor_builder.set_certificate(&x509)?;let ssl_acceptor = ssl_acceptor_builder.build();
Could this be used ? idk.. but it could be great for a start, DTLS would allow basic datachannel support through WebRTC meaning a very fast communication method between a Deno server and a browser.
Consider adding DTLS to go with the existing UDP support and proposed TLS module (#5391.) This has been a long-standing gap in the Node world (nodejs/node#2398).
The text was updated successfully, but these errors were encountered: