From: Hypolite Petovan Date: Fri, 19 Jan 2018 16:58:26 +0000 (-0500) Subject: Revert bumping the site RSA key strength to 2048 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2c284f30c243a66cc2046b31167a56974b60c5fe;p=friendica.git Revert bumping the site RSA key strength to 2048 --- diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 507bdaa16b..60b093159c 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -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']); }