]> git.mxchange.org Git - friendica.git/commitdiff
Revert bumping the site RSA key strength to 2048
authorHypolite Petovan <mrpetovan@gmail.com>
Fri, 19 Jan 2018 16:58:26 +0000 (11:58 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Fri, 19 Jan 2018 16:58:26 +0000 (11:58 -0500)
src/Protocol/DFRN.php

index 507bdaa16b2d5e7bae5d94c4e3ccecc07f4dac07..60b093159c5faca5ecc0f2859383381658a19cb4 100644 (file)
@@ -468,7 +468,7 @@ class DFRN
                /* get site pubkey. this could be a new installation with no site keys*/
                $pubkey = Config::get('system', 'site_pubkey');
                if (! $pubkey) {
-                       $res = Crypto::newKeypair(2048);
+                       $res = Crypto::newKeypair(1024);
                        Config::set('system', 'site_prvkey', $res['prvkey']);
                        Config::set('system', 'site_pubkey', $res['pubkey']);
                }