Permit use of ECDSA.

This commit is contained in:
Solderpunk 2020-06-04 16:21:11 +02:00
parent 8d7715ee4b
commit 1bc6a69bb9
1 changed files with 1 additions and 1 deletions

View File

@ -608,7 +608,7 @@ Slow internet connection? Use 'set timeout' to be more patient.""")
context.options |= ssl.OP_NO_SSLv2
# Try to enforce sensible ciphers
try:
context.set_ciphers("AESGCM+ECDHE:AESGCM+DHE:CHACHA20+ECDHE:CHACHA20+DHE:!DSS:!ECDSA:!SHA1:!MD5:@STRENGTH")
context.set_ciphers("AESGCM+ECDHE:AESGCM+DHE:CHACHA20+ECDHE:CHACHA20+DHE:!DSS:!SHA1:!MD5:@STRENGTH")
except ssl.SSLError:
# Rely on the server to only support sensible things, I guess...
pass