coap icon indicating copy to clipboard operation
coap copied to clipboard

Add support for DTLS

Open nmeum opened this issue 5 years ago • 2 comments

As with https://github.com/nning/david/pull/16 this is implemented using the tinydtls ruby gem. This particular pull request requires the unreleased version 0.3.0pre of the tinydtls rubygem since versions < 0.3.0pre do not support the MSG_PEEK recvfrom flag.

While we can only support the PreSharkedKey mode specified in RFC 7252 with the tinydtls rubygem. I believe that this is a step in the right direction. Support for this DTLS mode in the coap gem would also allow writing tests for https://github.com/nning/david/pull/16.

Contrarry to https://github.com/nning/david/pull/16 the changes made here are not considered WIP and could imho be merged as is.

CC: @obgm

nmeum avatar Aug 29 '18 12:08 nmeum