commit 39cabc406fa097b3282b2e9dc71a7e0b891e23bf
parent 7c4809d66a1666baa8fdcf96c3a2975df387d543
Author: René Wagner <rwa@noreply@clttr.info>
Date: Fri, 10 Sep 2021 21:38:27 +0200
update allowed tls ciphers
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gusmobile/client.py b/gusmobile/client.py
@@ -225,7 +225,7 @@ def _send_request(url):
context.options | ssl.OP_NO_SSLv3
context.options | ssl.OP_NO_SSLv2
context.set_ciphers(
- "AES+DHE:AES+ECDHE:CHACHA20+DHE:CHACHA20+ECDHE:!SHA1:@STRENGTH"
+ "AESGCM+ECDHE:AESGCM+DHE:CHACHA20+ECDHE:CHACHA20+DHE:!DSS:!SHA1:!MD5:@STRENGTH"
)
# print(context.get_ciphers())
s = context.wrap_socket(s, server_hostname=url.hostname)