element-web/src
Richard van der Hoff 6ec6d44c96
Add a config flag to enable the rust crypto-sdk (#9759)
This PR adds an option to `config.json` which will make the js-sdk use the rust crypto sdk, instead of the libolm implementation.

To use it, you need to add something like this to `config.json`:

```
    "features": {
        "feature_rust_crypto": true
    },
```

We don't (yet) have any way to migrate a device between implementations, so the setting that was in use when you log in is persisted to the device; it is *visible* via the labs section but cannot currently be changed.

This is part of https://github.com/vector-im/element-web/issues/21972, and enables the functionality added to the js-sdk in https://github.com/matrix-org/matrix-js-sdk/pull/2969.
2022-12-16 17:10:26 +00:00
..
@types Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
accessibility
actions
async-components/views/dialogs Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
audio Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
autocomplete Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
components Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
contexts
customisations Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
dispatcher Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
editor Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
effects Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
emojipicker
events
hooks
i18n/strings Add a config flag to enable the rust crypto-sdk (#9759) 2022-12-16 17:10:26 +00:00
indexing Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
integrations Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
mjolnir Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
models Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
modules
notifications Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
performance Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
rageshake Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
resizer Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
settings Add a config flag to enable the rust crypto-sdk (#9759) 2022-12-16 17:10:26 +00:00
stores Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
toasts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
usercontent
utils Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
voice-broadcast Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
widgets Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
workers
AddThreepid.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
AsyncWrapper.tsx Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
Avatar.ts
BasePlatform.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
BlurhashEncoder.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
ContentMessages.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
DateUtils.ts
DecryptionFailureTracker.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
DeviceListener.ts
Editing.ts
HtmlUtils.tsx Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
IConfigOptions.ts Add a config flag to enable the rust crypto-sdk (#9759) 2022-12-16 17:10:26 +00:00
IdentityAuthClient.tsx Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
ImageUtils.ts
KeyBindingsDefaults.ts
KeyBindingsManager.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
Keyboard.ts
LegacyCallHandler.tsx
Lifecycle.ts
Livestream.ts
Login.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
Markdown.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
MatrixClientPeg.ts Add a config flag to enable the rust crypto-sdk (#9759) 2022-12-16 17:10:26 +00:00
MediaDeviceHandler.ts
Modal.tsx
NodeAnimator.tsx Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
Notifier.ts
PageTypes.ts
PasswordReset.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
PlatformPeg.ts
PosthogAnalytics.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
PosthogTrackers.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
Presence.ts
Registration.tsx
Resend.ts
Roles.ts
RoomAliasCache.ts
RoomInvite.tsx
RoomNotifs.ts
Rooms.ts
ScalarAuthClient.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
ScalarMessaging.ts
SdkConfig.ts
Searching.ts
SecurityManager.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
SendHistoryManager.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
SlashCommands.tsx Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
SlidingSyncManager.ts
Terms.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
TextForEvent.tsx
Unread.ts
UserActivity.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
UserAddress.ts
Views.ts
VoipUserMapper.ts
WhoIsTyping.ts
boundThreepids.ts
call-types.ts
createRoom.ts
email.ts
emoji.ts
identifiers.ts
index.ts
languageHandler.tsx
linkify-matrix.ts
phonenumber.ts
sendTimePerformanceMetrics.ts
sentry.ts
shouldHideEvent.ts
theme.ts
verification.ts