-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Closed
Copy link
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.breaking-change-requestThis tracks requests for feedback on breaking changesThis tracks requests for feedback on breaking changestype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Change Intent
Add a new property to SecurityContext
to control the minimum TLS version like:
abstract interface class SecurityContext {
...
/// The minimum TLS version to use when establishing a secure connection.
///
/// If the value is changed, it will only affect new connections. Existing
/// connections will continue to use the protocol that was negotiated with the
/// peer.
abstract TlsProtocolVersion minimumTlsProtocolVersion;
};
Justification
Allows the developer to refuse TLS connections that aren't sufficiently secure.
See #54901
Impact
All classes that implements SecurityContext
(without extends Mock or equivalent noSuchMethod implementation) will need to be updated.
A search on Github finds one such instance outside of the Dart SDK.
Mitigation
Developers implementing SecurityContext
must add the minimumTlsProtocolVersion
field.
Change Timeline
N/A
Associated CLs
API POC PR: https://dart-review.googlesource.com/c/sdk/+/365664
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.breaking-change-requestThis tracks requests for feedback on breaking changesThis tracks requests for feedback on breaking changestype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Type
Projects
Status
Complete