Commit fd88e72c authored by kaiyou's avatar kaiyou Committed by Angedestenebres
Browse files

Ugly fix to disable Twisted TLSv1 downgrade over SMTP

parent d2e6af02
Pipeline #6352 passed with stage
in 3 minutes and 13 seconds
......@@ -58,7 +58,7 @@ RUN pip install --prefix="/install" --no-deps --no-warn-script-location /synapse
# This ugly patch is meant to fix an issue with Twisted forcing a
# downgrade to TLSv1 when opening an SMTP TLS socket.
# See: https://github.com/matrix-org/synapse/issues/6211
RUN sed -i '/ssl.SSL.TLSv1_METHOD/d' lib/python*/site-packages/twisted/mail/smtp.py
RUN sed -i '/ssl.SSL.TLSv1_METHOD/d' /install/lib/python*/site-packages/twisted/mail/smtp.py
###
### Stage 1: runtime
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment