Skip to content

Conversation

stevenmcdonald
Copy link
Owner

@stevenmcdonald stevenmcdonald commented Jun 4, 2025

Who and why?

See the notes on: #5


TLS options

This patch allows the caller to specify TLS options, similar to the --ssl-version-min --ssl-vesion-max and --cipher-suite-blacklist command line flags for the browser.

We haven't been using this in Envoy, maybe we should? I don't know if this is still a useful feature in 2025. I remember a time when it was important to be able to exclude some of the TLS 1.2 suites, but as far as I know, those aren't used anywhere anymore. I can see some utility to this for testing, even if it's no longer needed for security.

Similar questions/comments to (#5)

  • Does Google want this feature?
  • If so, should we convert to experimental_options?
  • We have an implementation question, there's a PR comment for reference. The original GF Envoy developers updated SSLConfigServiceDefaults to apply the changes, which seems "not ideal" as a colleague put it. He wondered if a new subclass was a more appropriate way to apply the settings

patch from Matthew Bogner
@@ -9,6 +9,11 @@ namespace net {
SSLConfigServiceDefaults::SSLConfigServiceDefaults() = default;
SSLConfigServiceDefaults::~SSLConfigServiceDefaults() = default;

SSLConfigServiceDefaults::SSLConfigServiceDefaults(SSLContextConfig default_config): default_config_(default_config) {
// TODO: This is how Envoy implemented it, but it seems like not the ideal solution. Should we make a new SSLConfigService subclass?
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matt had a question here in the comments

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a reply here in part to remind myself of the situation: the commented out code below seems redundant since the config (with the cipher suites) is assigned above. With that out of the way, I think the question is whether it's important that this class remains a non-configurable class that provides only the default SSL configuration parameters.

@stevenmcdonald stevenmcdonald changed the title TLS options from GreatFire Envoy Cronet TLS options from GreatFire Envoy Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants