mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Add consistent and contextual logging around decryption failure (#10404)
* Added more context to logging messages around decryption failure * Added missing period.
This commit is contained in:
@@ -452,6 +452,9 @@ export default class MainBackground {
|
||||
return new ForegroundMemoryStorageService();
|
||||
}
|
||||
|
||||
// For local backed session storage, we expect that the encrypted data on disk will persist longer than the encryption key in memory
|
||||
// and failures to decrypt because of that are completely expected. For this reason, we pass in `false` to the `EncryptServiceImplementation`
|
||||
// so that MAC failures are not logged.
|
||||
return new LocalBackedSessionStorageService(
|
||||
sessionKey,
|
||||
this.storageService,
|
||||
|
||||
Reference in New Issue
Block a user