Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

adopt new Twisted TLS APIs #1691

Open
glyph opened this issue Dec 11, 2016 · 2 comments
Open

adopt new Twisted TLS APIs #1691

glyph opened this issue Dec 11, 2016 · 2 comments
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@glyph
Copy link
Contributor

glyph commented Dec 11, 2016

The code in Synapse uses a subclass of ssl.ContextFactory with some manual OpenSSL setup.

Twisted will do quite a lot of this for you (more every day!) and can handle several things that it looks like Synapse isn't doing right now, like service identity validation and sending server name indication.

The relevant APIs are:

@krombel
Copy link
Contributor

krombel commented Oct 9, 2017

FTR: This would also make it easy to implement http2-connections - e.g. server2server

@richvdh
Copy link
Member

richvdh commented Sep 21, 2020

We've updated the client side now, but still subclass ContextFactory for Server-side connections.

babolivier pushed a commit that referenced this issue Sep 1, 2021
* commit '4325be1a5':
  Fix missing null character check on guest_access room state
  Fixed a bug with reactivating users with the admin API (#8362)
  Admin API for reported events (#8217)
  Fix wording of deprecation notice in changelog
  Deprecation warning for synapse admin api being accessible under /_matrix
  Create function to check for long names in devices (#8364)
  Add a comment re #1691
  Fix a bad merge from release-v1.20.0. (#8354)
  Admin API for querying rooms where a user is a member (#8306)
  Catch-up after Federation Outage (bonus): Catch-up on Synapse Startup (#8322)
  Simplify super() calls to Python 3 syntax. (#8344)
  Allow appservice users to /login (#8320)
  Update test logging to be able to accept braces (#8335)
  Move lint dependencies to extras_require (#8330)
@DMRobertson DMRobertson added T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. and removed z-enhancement labels Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

No branches or pull requests

5 participants