Maj terminée. Pour consulter la release notes associée voici le lien :
https://about.gitlab.com/releases/2021/07/07/critical-security-release-gitlab-14-0-4-released/

Commit 91766c70 authored by Stephane Glondu's avatar Stephane Glondu
Browse files

Try to use window.msCrypto (IE 11)

parent e95cc79b
......@@ -3,9 +3,10 @@ function init_prng () {
sjcl.random.startCollectors();
// Seed from window.crypto if present
if (window.crypto) {
var cryptoObj = window.crypto || window.msCrypto; // for IE 11
if (cryptoObj) {
var bytes = new Uint32Array(4);
window.crypto.getRandomValues(bytes);
cryptoObj.getRandomValues(bytes);
sjcl.random.addEntropy(bytes[0], 32);
sjcl.random.addEntropy(bytes[1], 32);
sjcl.random.addEntropy(bytes[2], 32);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment