1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Begin refactor of crypto service to support new key structure

This commit is contained in:
Jacob Fink
2023-05-25 12:23:21 -04:00
parent bc4b3f3d74
commit 4ce2a17ea4
4 changed files with 730 additions and 488 deletions

View File

@@ -21,8 +21,8 @@ export class ElectronCryptoService extends CryptoService {
super(cryptoFunctionService, encryptService, platformUtilsService, logService, stateService);
}
protected override async storeKey(key: SymmetricCryptoKey, userId?: string) {
await super.storeKey(key, userId);
protected override async storeAdditionalKeys(key: SymmetricCryptoKey, userId?: string) {
await super.storeAdditionalKeys(key, userId);
const storeBiometricKey = await this.shouldStoreKey(KeySuffixOptions.Biometric, userId);