We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7b253c commit bd80f14Copy full SHA for bd80f14
scripts/oauth-get-token.py
@@ -156,9 +156,10 @@ def do_GET (self):
156
# compromised local host will still get the credentials.
157
context = ssl.SSLContext(ssl_version=ssl.PROTOCOL_TLS_SERVER)
158
159
- # This should not be needed. Uses Python 3.10+ setting.
160
- # context.maximum_version = ssl.TLSVersion.TLSv1_2
161
- # for previous versions maybe:
+ # This should not be needed as PROTOCOL_TLS_SERVER disables
+ # unsafe protocols. Uses Python 3.10+ setting ssl.TLSVersion....
+ # context.minimum_version = ssl.TLSVersion.TLSv1_2
162
+ # for previous Python versions 3.6+ maybe:
163
# ssl.PROTOCOL_TLSv1_2
164
# would work?
165
0 commit comments