mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
always add header to ciphers on encrypt
This commit is contained in:
parent
3845c55155
commit
138b57b33d
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user