Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pool: Require TLS >= 1.2 for wallet connection. #369

Merged
merged 1 commit into from
Sep 16, 2023

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Sep 14, 2023

No description provided.

@jrick
Copy link
Member

jrick commented Sep 14, 2023

TLS 1.2 is the default minimum already, and this would only lower the minimum potentially in newer Go versions.

When building with these newer Go releases, it may make sense to remove this config setting entirely.

@davecgh
Copy link
Member Author

davecgh commented Sep 14, 2023

That's a fair point. The opposite is also true where compiling it with an older version of Go would lower it. I personally prefer to be explicit and it also avoid issues with security linters, but I don't really feel super strongly one way or the other about it.

@jrick
Copy link
Member

jrick commented Sep 14, 2023

with go 1.17 the current minimum, sure this change makes sense.

but if we were to bump the minimum go to go 1.20.x, i don't see any advantages to specifying the minimum TLS version, and only potential downsides in the future.

no qualms with this PR as is as long as 1.17 remains a potential build target (it defaults to TLS 1.0 as a minimum), but that should probably be looked at separately. And if that were addressed, that would potentially change my OK on this PR :)

@davecgh davecgh merged commit 62a7f47 into decred:master Sep 16, 2023
2 checks passed
@davecgh davecgh deleted the min_tls branch September 20, 2023 06:32
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.

3 participants