Open nickdesaulniers opened 8 years ago
oh, looks like it's hardcoded:
https://github.com/Rantanen/node-dtls/blob/master/ServerHandshakeHandler.js#L196-L217
I think that's the only cipher that has been implemented currently. >.>
CBC should be avoided. Can I unimplement it and replace it somethings stronger? :stuck_out_tongue_winking_eye:
I work with the DTLS spec author (ekr), so I can try and see if he'll help vet some of this stuff.
Would be more than happy to have better support for other cipher suites. Feel free to hard code something else in its place too. I can take care of the negotiation and cipher selection later if you don't feel like poking that part.
(Oh, also loved to see more interest in the peerconnection front! That was the whole reason I started this project as well. Unfortunatley the complexity of this alone killed some of the motivation to continue with my peerconnection implementation.)
If you've got cycles + are still interested, you should help us out, we need more contributors! :smile:
example logging:
notice how the server chose cypher 47, though it's not in the client's suite.