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

Port DTLS code to Native Go (instead of OpenSSL) #20

Closed
Sean-Der opened this issue Jul 4, 2018 · 7 comments
Closed

Port DTLS code to Native Go (instead of OpenSSL) #20

Sean-Der opened this issue Jul 4, 2018 · 7 comments

Comments

@Sean-Der
Copy link
Member

Sean-Der commented Jul 4, 2018

This is a huge task, but if someone is up for it I won't stop them :)

When I get around to this I will assign to myself and start the long task. Also more then happy to split the task/get guidance if you are familiar with DTLS/have opinions on how the API looks but don't have time to do the coding.

@nicolai86
Copy link
Contributor

The relevant RFC for this is RFC 6347 , correct?

@backkem
Copy link
Member

backkem commented Jul 12, 2018

Yes, there's also an overview of RFCs on the wiki.

@ghost
Copy link

ghost commented Aug 4, 2018

There is an existing DTLC golang implementation..

Background:
The go team have an issue for a pure golang dtls implementation:
golang/go#13525
But they are still holding out from putting a go team supported package into the go crypto library.

In that issue, the most promising DTLS implementation highlighted is this:
https://github.com/bocajim/dtls

@bocajim @backkem

Sounds like there is some strong synergy here to get this done ?

@bocajim: Your code says it implements RFC-4347, and the webrtc team have said they need RFC-6347 ( see the wiki page at https://github.com/pions/webrtc/wiki/Relative-Drafts-And-Usages#dtls ).

https://tools.ietf.org/html/rfc4347 say that it is obsoleted by RFC-6347, so this makes sense.
RFC 4347: DTLS Version 1.0
RFC 6347: DTLS Version 1.2

@Sean-Der
Copy link
Member Author

I moved this to our Project Ideas

@ghost
Copy link

ghost commented Aug 12, 2018

@Sean-Der
there are many good c DTLS, and so maybe a conversion like what the golang team often do. For example when they had to charge the compiler itself from c to go.

https://github.com/elliotchance/c2go

@trivigy
Copy link
Member

trivigy commented Sep 7, 2018

@gedw99 Did you end up trying the c2go route?

@ghost
Copy link

ghost commented Sep 9, 2018

No I have no time unfortunately.

I think it's worth a shot and I know Elliot behind the project is very supportive so it's worth trying

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

No branches or pull requests

4 participants