1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

fixes for edge

This commit is contained in:
Kyle Spearrin
2017-08-28 22:27:29 -04:00
parent c66803ce1f
commit 69abbdaf8d
5 changed files with 33 additions and 7 deletions

View File

@@ -660,7 +660,7 @@ function initCryptoService(constantsService) {
}
var ctArr = fromB64ToArray(encPieces[0]);
return _subtle.decrypt({ name: padding.name }, privateKey, ctArr.buffer);
return _subtle.decrypt(padding, privateKey, ctArr.buffer);
}, function () {
throw 'Cannot import privateKey.';
}).then(function (decBytes) {