-
Notifications
You must be signed in to change notification settings - Fork 182
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
check for min tls version #123
Conversation
936efb6
to
8619269
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need to fix that message.
pytm/pytm.py
Outdated
TLSVersion.NONE, | ||
required=False, | ||
doc="""Minimum required TLS version required. | ||
Note that currently only TLS 1.2 and 1.3 are considered secure.""", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just wondering if the comment about the versions is not better suited for the actual threat. First, the versions will probably move and we will have to chase them here, second, on a more meta level, this adds a level of judgement that i don't think is present in other attributes (off memory, I didn't check)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I think this needs changing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the note and I noticed that required
is used twice.
Check for min tls version, similar to how we check for max classification.
Remove
usesLatestTLSversion
since it's not precise enough what's "latest".