Added algorithm property for E2E key creation
· One min read
We have added support for the algorithm property to the Add E2E key endpoint in the Admin API.
With this property, you can explicitly select the algorithm used for key exchange between the SDK and the server.
Note
The default algorithm for newly generated E2EE keys has changed to X25519.
For apps using an SDK version earlier than 3.22, you must generate E2EE keys with the SECT233K1 algorithm.
Breaking change
Before you upgrade your app to SDK 3.22 or later, you must rotate your E2EE key to one that uses the X25519 algorithm.
To learn how to do this, see the Key rotation section in our End-to-end encryption feature documentation.