Closed JKRhb closed 4 months ago
Attention: Patch coverage is 33.33333%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 82.76%. Comparing base (
1116e36
) to head (bfa0489
).
Files | Patch % | Lines |
---|---|---|
lib/src/generated/ffi.dart | 0.00% | 2 Missing :warning: |
lib/src/dtls_client.dart | 50.00% | 1 Missing :warning: |
lib/src/dtls_server.dart | 50.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds an additional parameter to the DTLS context classes that makes it possible to override the security level defined by OpenSSL. Lowering the security level allows for using cipher suites that have been deprecated in newer versions of OpenSSL, such as
TLS_PSK_WITH_AES_128_CCM_8
which is the mandatory cipher suite for CoAP (see RFC 7252).The examples are adjusted to make it clear what the new security level parameter is meant to do, while removing this aspect from the example in the README file in order not to overcomplicate things there.
Resolves #98.