# HG changeset patch # User Dan # Date 1222691066 14400 # Node ID 331e009416d58e2bb5e0726db1b898d8b01baa74 # Parent a5917b034435672a132005d68a9fc96a1b5b50b8 SECURITY: Changed Diffie-Hellman parameters to prime and generator created through OpenSSL diff -r a5917b034435 -r 331e009416d5 includes/clientside/static/crypto.js --- a/includes/clientside/static/crypto.js Wed Sep 10 10:49:13 2008 -0400 +++ b/includes/clientside/static/crypto.js Mon Sep 29 08:24:26 2008 -0400 @@ -2042,7 +2042,7 @@ */ // Our prime number as a base for operations. -var dh_prime = '82818079787776757473727170696867666564636261605958575655545352515049484746454443424140393837363534333231302928272625242322212019181716151413121110987654321'; +var dh_prime = '7916586051748534588306961133067968196965257961415756656521818848750723547477673457670019632882524164647651492025728980571833579341743988603191694784406703'; // g, a primitive root used as an exponent // (2 and 5 are acceptable, but BigInt is faster with odd numbers) diff -r a5917b034435 -r 331e009416d5 includes/diffiehellman.php --- a/includes/diffiehellman.php Wed Sep 10 10:49:13 2008 -0400 +++ b/includes/diffiehellman.php Mon Sep 29 08:24:26 2008 -0400 @@ -28,7 +28,7 @@ $dh_supported = false; } // Our prime number as a base for operations. -$GLOBALS['dh_prime'] = '82818079787776757473727170696867666564636261605958575655545352515049484746454443424140393837363534333231302928272625242322212019181716151413121110987654321'; +$GLOBALS['dh_prime'] = '7916586051748534588306961133067968196965257961415756656521818848750723547477673457670019632882524164647651492025728980571833579341743988603191694784406703'; // g, a primitive root used as an exponent // (2 and 5 are acceptable, but BigInt is faster with odd numbers)