mirror of
https://github.com/bitwarden/browser
synced 2025-01-20 00:12:09 +01:00
Unlock using master key from desktop
This commit is contained in:
parent
a659c86373
commit
a3dbf8b65d
@ -161,7 +161,7 @@ export default class MainBackground {
|
||||
this.i18nService = new I18nService(BrowserApi.getUILanguage(window));
|
||||
this.cryptoFunctionService = new WebCryptoFunctionService(window, this.platformUtilsService);
|
||||
this.cryptoService = new CryptoService(this.storageService, this.secureStorageService,
|
||||
this.cryptoFunctionService);
|
||||
this.cryptoFunctionService, this.platformUtilsService);
|
||||
this.tokenService = new TokenService(this.storageService);
|
||||
this.appIdService = new AppIdService(this.storageService);
|
||||
this.apiService = new ApiService(this.tokenService, this.platformUtilsService,
|
||||
|
@ -94,8 +94,9 @@ export class NativeMessagingBackground {
|
||||
}
|
||||
|
||||
if (this.vaultTimeoutService.biometricLocked) {
|
||||
this.runtimeBackground.processMessage({command: 'unlocked'}, null, null);
|
||||
this.cryptoService.setKey(new SymmetricCryptoKey(Utils.fromB64ToArray(message.keyB64).buffer));
|
||||
this.vaultTimeoutService.biometricLocked = false;
|
||||
this.runtimeBackground.processMessage({command: 'unlocked'}, null, null);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user