Use TLS 1.2 for SignJWT

This commit is contained in:
Jay Lee
2023-04-06 09:36:23 +00:00
parent 024177b0c7
commit 8bc6814b42
4 changed files with 17 additions and 6 deletions

View File

@@ -1347,7 +1347,7 @@ GC_TLS_MAX_VERSION = 'tls_max_ver'
# Path to certificate authority file for validating TLS hosts
GC_CA_FILE = 'ca_file'
TLS_MIN = 'TLSv1_3' if hasattr(ssl.SSLContext(), 'minimum_version') else None
TLS_MIN = 'TLSv1_3'
GC_Defaults = {
GC_ADMIN_EMAIL: '',
GC_AUTO_BATCH_MIN: 0,