mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
always add header to ciphers on encrypt
This commit is contained in:
@@ -321,10 +321,6 @@ angular
|
|||||||
cipherString = cipherString + '|' + mac;
|
cipherString = cipherString + '|' + mac;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (key.encType === constants.encType.AesCbc256_B64) {
|
|
||||||
return cipherString;
|
|
||||||
}
|
|
||||||
|
|
||||||
return key.encType + '.' + cipherString;
|
return key.encType + '.' + cipherString;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user