[riot-notifications] [RIOT-OS/RIOT] pkg/tinydtls: add DTLS sock API implementation (#11943)

Raul Fuentes notifications at github.com
Mon Sep 30 21:21:50 CEST 2019

> This still need to be confirmed in the dtls-echo example, but not related to this PR.

Using `TINYDTLS_LOG=6` I can see the DTLS Alert record on the dtls-echo client (PSK). This is only relevant because I'm using it for testing this PR too.  Additionally, it's seems that you modified the ECC certificate for dtls-sock in comparison with dtls-echo :smile: 


I tested with success a client with PSK talking with ECC :+1: .

I suppose that you still need time to check the ECC case.  Still, if you didn't modified the certificate for this example, then check that part.  A  dtls-sock client with ECC fails  trying  to process a dtls-echo server with ECC (`WARN error in check_server_certificate err: -558`).  To my surprise, on this case TinyDTLS finish receiving the DTLS records, wasting time and resources, instead of cancelling the handshake.

Oddly, a dtls-sock server with ECC doesn't have any problem with the dtls-echo client.


By the way, I'm not going to have enough time this week to test further this PR.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190930/e2c180ba/attachment-0001.htm>

More information about the notifications mailing list