File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -441,8 +441,8 @@ export class Account<T = any> extends EventEmitter {
441
441
const { CoreCrypto} = await import ( '@wireapp/core-crypto' ) ;
442
442
const dbName = this . generateSecretsDbName ( context ) ;
443
443
444
- const secretStore = mlsConfig . secretsCrypto
445
- ? await createCustomEncryptedStore ( dbName , mlsConfig . secretsCrypto )
444
+ const secretStore = mlsConfig . systemCrypto
445
+ ? await createCustomEncryptedStore ( dbName , mlsConfig . systemCrypto )
446
446
: await createEncryptedStore ( dbName ) ;
447
447
448
448
let key = await secretStore . getsecretValue ( coreCryptoKeyId ) ;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export interface MLSConfig<T = any> {
40
40
* encrypt/decrypt function pair that will be called before storing/fetching secrets in the secrets database.
41
41
* If not provided will use the built in encryption mechanism
42
42
*/
43
- secretsCrypto ?: SecretCrypto < T > ;
43
+ systemCrypto ?: SecretCrypto < T > ;
44
44
45
45
/**
46
46
* path on the public server to the core crypto wasm file.
You can’t perform that action at this time.
0 commit comments