Skip to content
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

feat: dtls connection using mbedtls #10

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

feat: dtls connection using mbedtls #10

wants to merge 6 commits into from

Conversation

lchenut
Copy link
Collaborator

@lchenut lchenut commented Mar 8, 2024

Presentation

This PR is part of the stack to create the nim-libp2p webrtc-direct transport (defined here: https://github.com/libp2p/specs/blob/master/webrtc/webrtc-direct.md).
For this PR, we do not implement the full DTLS protocol, we are using the library MBed-TLS (nim wrapper: https://github.com/status-im/nim-mbedtls / C-library https://github.com/Mbed-TLS/mbedtls) to create and use a DTLS connection.

DTLS

DTLS is a protocol designed to provide the same security features as TLS, but for UDP applications. It secures communications over UDP, which is inherently unreliable and connectionless. By using DTLS, WebRTC ensures that all data streams are encrypted and secure from potential eavesdropping, tampering, and other security threats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant