Closed mariemC closed 5 months ago
- Sure! We just internally use a server that doesn't support yet these extensions.
- I didn't test it yet! I will check it, thank you!
It works via get_user_parameters Thank you
Maybe a question to improve the documentation:
What did you read, before you provided a fix?
The dtls_user_parameters_t
in "crypto.h"?
The default_user_parameters
in "dtls.c"?
Something else?
I have read the default_user_parameters
in dtls.c
Also mainly debugging and checking the latest changes in Tinydtls upstream.
See PR #239
if you agree, that the callback works for you and so this PR isn*t required, I would like to close it.
Yes, it does thank you
Contribution description Incorporating the tinydtls build package, this code addresses a failure encountered during the DTLS handshake between the client and the server. The issue arose from the client imposing default user parameters, which mandate setting extended master secret and renegotiation info to 1. However, not all servers support these extensions. To ensure greater flexibility, it's more appropriate to make these parameters user-configurable.
Testing procedure I utilized the 'examples/gcoap_dtls' from RIOT OS on a native environment for the client. However, for the server, I deployed it on my Ubuntu machine, which lacks support for these extensions
results when the extensions are set to 0:
results when the extensions are set to 1: