-
Notifications
You must be signed in to change notification settings - Fork 82
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
Specifying min/max TLS versions doesn't work #543
Comments
yes, looks like a check is missing, probably here: tlslite-ng/tlslite/handshakesettings.py Lines 623 to 624 in c93df82
and it's missing a documentation string too adding a check in the above location to see if |
I don't know, I think the check is ok. It's not failing. I'm not sure what the purpose of those 2 lines of code is though:
Just figured out that if I set it like this it works: It looks like settings.versions is not automatically changed to match settings.minVersion and settings.maxVersion. And in tlsconnection.py, settings.version is used (not minVersion and maxVersion) |
I meant that we need more code to handle the minVersion limitation, precisely to fix this part:
regarding:
that's because later code looks at the sent extension values, not HandshakeSettings |
Hello,
Using tlslite-ng 0.8.2:
I'd expect the supported_versions extension in the ClientHello to only support TLS 1.2 and 1.3 . However, TLS 1.0 and TLS 1.1 are also present.
Why.. ?
Thanks!
The text was updated successfully, but these errors were encountered: