Enigma: Enable keypair generation on Internet Explorer 11

pull/5735/merge
Aleksander Machniak 6 years ago
parent 2b425a8b12
commit 8373b3b3f0

@ -77,6 +77,7 @@ CHANGELOG Roundcube Webmail
- Fix parsing date strings (e.g. from a Date: mail header) with comments (#6216)
- Fix possible IMAP command injection and type juggling vulnerabilities (#6229)
- Enigma: Fix key selection for signing
- Enigma: Enable keypair generation on Internet Explorer 11
- Fix check_request() bypass in places using get_uids() [CVE-2018-9846] (#6238)
- Fix bug where usernames without domain part could be malformed or converted to lower-case on logon (#6224)

@ -151,7 +151,7 @@ rcube_webmail.prototype.enigma_key_create_save = function()
// generate keys
// use OpenPGP.js if browser supports required features
if (window.openpgp && window.crypto && (window.crypto.getRandomValues || window.crypto.subtle)) {
if (window.openpgp && (window.msCrypto || (window.crypto && (window.crypto.getRandomValues || window.crypto.subtle)))) {
lock = this.set_busy(true, 'enigma.keygenerating');
options = {
numBits: size,

Loading…
Cancel
Save