-
-
Notifications
You must be signed in to change notification settings - Fork 831
Replace SecurityCustomisations
with CryptoSetupExtension
#12342
Conversation
I'm sorry this has taken so long for a decision.
I discussed this with the team last week; the answer was: we're not aware of anyone other than yourselves that are using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! A few comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking really good now, thank you for your perseverance! Just one small suggestion.
SecurityCustomisations
with CryptoSetupExtension
Keep the flags to track implementations as direct properties Co-authored-by: Richard van der Hoff <[email protected]>
@richvdh Thanks a lot for the very thorough review. I have implemented your last suggestions. |
Fix whitespace Co-authored-by: Richard van der Hoff <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for your perseverance!
Description
This PR is for the changes required for the CryptoSetupExtension. The extension is described in this issue, and also in the corresponding PR in matrix-react-sdk-module-api. The module-api PR has been merged, and the changes were released in v2.4.0.
SecurityCustomisations
We have asked about the deprecation of the SecurityCustomisations here in GH, and in the Element Web Development room (#element-dev:matrix.org). A decision must be made if CryptoSetupExtension will replace SecurityCustomisations immediately, or if there need to be a period of overlap where both are supported? As of 15.03.2024 we have not received any response/information about the matter.
Important this PR will remove the calls to the obsolete SecurityCustomisations, and replace them with the corresponding calls to CryptoSetupExtension (via ModuleRunner). (I have left the old calls as comments)
The rationale is that until Verji asked about the SecurityCustomisations the Element team had no plans to port them since no-one had notified the Element team that they were using them. Furthermore, AFAIK the customisation mechanism as such is deprecated and will be removed in the future.
Dependencies
This PR depends on matrix-react-sdk-module-api v2.4.0+, hence the checks will fail until matrix-react-sdk bumps the dependency from 2.3.0 => 2.4.0
Checklist
public
/exported
symbols have accurate TSDoc documentation.Signed-off-by: Thor Arne Johansen [email protected]