forked from solderpunk/AV-98
Permit use of ECDSA.
This commit is contained in:
parent
8d7715ee4b
commit
1bc6a69bb9
2
av98.py
2
av98.py
|
@ -608,7 +608,7 @@ Slow internet connection? Use 'set timeout' to be more patient.""")
|
||||||
context.options |= ssl.OP_NO_SSLv2
|
context.options |= ssl.OP_NO_SSLv2
|
||||||
# Try to enforce sensible ciphers
|
# Try to enforce sensible ciphers
|
||||||
try:
|
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:
|
except ssl.SSLError:
|
||||||
# Rely on the server to only support sensible things, I guess...
|
# Rely on the server to only support sensible things, I guess...
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue