You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rolling out the #17097 security fix, it was discovered some clients (Element Web) and bots (matrix-bot-sdk) would set "device_keys": null in the request body, instead of omitting the field. This is a violation of the spec, which only specifies that device_keys may be omitted or a dict (DeviceKeys object). Not null.
In the linked PR, Synapse allowed this field to be null and treated it as if the field were omitted. As per @richvdh's suggestion, we should wait 3 months for clients and bot SDKs to update to actually omit the field. The danger of not doing so is that these clients will not change their behaviour - and thus other homeserver implementations will need to violate the spec in order to not break in production.
The impact of this endpoint breaking is that a client cannot upload E2EE keys - leading to broken E2EE.