gusmobile

gemini client library for Python
git clone git://git.clttr.info/gusmobile.git
Log (Feed) | Files | Refs (Tags) | LICENSE

commit 2cb980ea3a2e323e8c62a1df68019d2b9aa1ae6a
parent 91ebfa40a1030ef089c85910d9abd0bfca3798e2
Author: René Wagner <rwa@clttr.info>
Date:   Sat,  6 Aug 2022 15:16:38 +0200

fix formatting of cipher string

Diffstat:
Mgusmobile/client.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gusmobile/client.py b/gusmobile/client.py @@ -225,8 +225,7 @@ def _send_request(url): context.options | ssl.OP_NO_SSLv3 context.options | ssl.OP_NO_SSLv2 context.set_ciphers( - "AES256-GCM-SHA384:AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES: -!MD5:!PSK" + "AES256-GCM-SHA384:AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!PSK" ) # print(context.get_ciphers()) s = context.wrap_socket(s, server_hostname=url.hostname)