diff --git a/libs/common/src/platform/abstractions/crypto.service.ts b/libs/common/src/platform/abstractions/crypto.service.ts index f9bdbc32c50..8dee1002426 100644 --- a/libs/common/src/platform/abstractions/crypto.service.ts +++ b/libs/common/src/platform/abstractions/crypto.service.ts @@ -16,7 +16,7 @@ export abstract class CryptoService { // TODO: This works right? getKeyForUserEncryption: (key?: SymmetricCryptoKey) => Promise; - setUserKey: (key: SymmetricCryptoKey) => Promise; + setUserKey: (key: UserSymKey) => Promise; getUserKey: (keySuffix?: KeySuffixOptions, userId?: string) => Promise; getUserKeyFromStorage: (keySuffix: KeySuffixOptions, userId?: string) => Promise; hasUserKey: () => Promise;