mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-21 16:18:28 +01:00
[PM-8013] CLI MAC failure logs - update secureStorageService deps (#10935)
This commit is contained in:
parent
e954621761
commit
d189b4e294
@ -285,7 +285,13 @@ export class ServiceContainer {
|
||||
this.secureStorageService = new NodeEnvSecureStorageService(
|
||||
this.storageService,
|
||||
this.logService,
|
||||
this.encryptService,
|
||||
// MAC failures for secure storage are being logged for customers today and
|
||||
// they occur when users unlock / login and refresh a session key but don't
|
||||
// export it into their environment (e.g. BW_SESSION_KEY). This leaves a stale
|
||||
// BW_SESSION key in the env which is attempted to be used to decrypt the auto
|
||||
// unlock user key which obviously fails. So, to resolve this, we will not log
|
||||
// MAC failures for secure storage.
|
||||
new EncryptServiceImplementation(this.cryptoFunctionService, this.logService, false),
|
||||
);
|
||||
|
||||
this.memoryStorageService = new MemoryStorageService();
|
||||
|
Loading…
Reference in New Issue
Block a user